Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Received SSH_MSG_DISCONNECT: 2:Packet corrupt on macOS Running on ARM #116

Open
lrfsh opened this issue Apr 14, 2023 · 24 comments
Open

Received SSH_MSG_DISCONNECT: 2:Packet corrupt on macOS Running on ARM #116

lrfsh opened this issue Apr 14, 2023 · 24 comments

Comments

@lrfsh
Copy link

lrfsh commented Apr 14, 2023

Describe the bug
A clear and concise description of what the bug is.

Any idea why I can't install anything, keep saying :Received SSH_MSG_DISCONNECT: 2:Packet corrupt

Screenshot 2023-04-14 at 23 26 48

Also when I try to install it manually with file
Screenshot 2023-04-14 at 23 26 58

I just updated the firmware, but this happened with the older one, so no change.

Firmware: 03.34.90
WebOS Version: 6.3.2

Client: MacOs 13.2.1 (22D68) - M2 MAX

EDIT: Working on Windows 11

Thank you!

@mariotaku
Copy link
Member

mariotaku commented Apr 15, 2023

Possibly the same as #89. Can you try the latest version?

@lrfsh
Copy link
Author

lrfsh commented Apr 15, 2023

I've tried with the latest version 1.11.13 before and it's the same error.

@mariotaku
Copy link
Member

I see. This means it's possible a macOS (or arm only issue). Let me try reproduce on macOS.

@490398290
Copy link

Running app on rosetta mode, app install successfully. May be a bug in M chips.

@mariotaku
Copy link
Member

@490398290 Thank you so much for the info.

@geoL86
Copy link

geoL86 commented Apr 17, 2023

Can confirm it doesn't work on MacOS(13.3.1) and no way to test on anything else

@mariotaku mariotaku changed the title Received SSH_MSG_DISCONNECT: 2:Packet corrupt Received SSH_MSG_DISCONNECT: 2:Packet corrupt on macOS Running on ARM Apr 18, 2023
mariotaku added a commit that referenced this issue Apr 18, 2023
disable macOS universal builds for #116
@mariotaku
Copy link
Member

I have temporarily disabled build for arm. I'll find a machine someday and investigate.

@niteya-shah
Copy link

I am facing the same issue but I am on x86_64 Linux(Ubuntu). I am using the 1.11.15 build

@joshproehl
Copy link

FYI I am also getting the "Packet Corrupt" error on x86_64 Linux. (Pop_OS, AppImage of 1.11.15 build)

It appears to be an intermittent issue. I can try loading the "Files" tab and it'll take about 3 tries of getting "Packet Corrupt" before the files actually show.

Trying to install any applications fails. The dialog is title "Failed to install Homebrew Channel", with either the message "SSH_MSG_DISCONNECT: 2:Packet corrupt", or simply the message "success".

TV Is running 05.30.40
Log file for an install attempt that resulted in the "packet corrupt" error:

[2023-06-18T14:36:33Z INFO  app::conn_pool::connection] DeviceConnection { id=REDACTED, device.name=REDACTED } created
[2023-06-18T14:36:33Z INFO  app::conn_pool::connection] Dropping DeviceConnection { id=REDACTED, device.name=REDACTED }, last_ok=false
[2023-06-18T14:36:33Z WARN  app::plugins::cmd] Proc { command=luna-send-pub -i luna://com.webos.appInstallService/dev/install '{"id":"com.ares.defaultName","ipkUrl":"/tmp/devman_dl_1687098993037.ipk","subscribe":true}', device.name=REDACTED } closed with IO { code: Other, message: " Success" }
[2023-06-18T14:36:34Z INFO  app::conn_pool::connection] DeviceConnection { id=REDACTED, device.name=REDACTED } created
[2023-06-18T14:36:34Z INFO  app::conn_pool::connection] Dropping DeviceConnection { id=REDACTED, device.name=REDACTED }, last_ok=false

@fatih-celonis
Copy link

I cannot install any app as well as I'm getting the Type error. Version 1.1.16 on Apple M1.

@0x09AF
Copy link

0x09AF commented Aug 14, 2023

Not sure if the problem is related... But I built my own YouTube fork based on Cobalt and trying to install it - I get "Type Error". When I try to install it via ares-install - I get:

ares-install ERR! [ssh exec failure]: Command '/bin/rm -rf /media/developer/temp && /bin/mkdir -p /media/developer/temp' exited with code=1
ares-install ERR! [ssh exec failure]: (Original Message: rm: can't remove '/media/developer/temp': Permission denied)

My TV is not rooted. I was able to install the YouTube app 0.3.1 from the repo in the app selection, but sideloading and picking my own app doesn't work, giving me Type Error

@mariotaku
Copy link
Member

mariotaku commented Aug 14, 2023

@0x09AF would you mind sharing the IPK for me to install & replicate?

@0x09AF
Copy link

0x09AF commented Aug 14, 2023

@mariotaku sure deal
MEGA (>25 MB GitHub limit)

@mariotaku
Copy link
Member

@mariotaku sure deal
MEGA (>25 MB GitHub limit)

I can't seem to replicate. Do you have the homebrew channel app installed?

@0x09AF
Copy link

0x09AF commented Aug 21, 2023

Do you mean, you are able to install it through Dev Manager's GUI? Is your TV not rooted either?
I do not have homebrew channel installed on the TV, just assumed if I can install YT through the app list, I should be able to install by picking the IPK manually as well.

@throwaway96
Copy link
Member

@0x09AF
You're using an ares-install from either the webOS OSE CLI tools or an old version of the webOS TV CLI tools. You need at least version 1.12.4 of the webOS TV CLI tools.

@0x09AF
Copy link

0x09AF commented Aug 30, 2023

I finally figured out how to use proper ares and not the npm version.
Installed the ipk through ares-install, it was successful but the app doesn't launch on the TV.
I tried installing the ipk I uploaded above with webos-dev-manager 1.18 and it still gave me "Type error"

@fergardi
Copy link

Are there any news on this issue? No new arm build for M1 has been done since last year?

@mariotaku
Copy link
Member

I can't verify because I don't have one. @fergardi Would you mind if you can build on your machine, and verify? If it works I'll add universal build back.

@poloba
Copy link

poloba commented May 3, 2024

Working perfectly on mac 12.7.1 Mac mini 2018

@cegees
Copy link

cegees commented May 14, 2024

Working perfectly on mac 12.7.1 Mac mini 2018

Issue is the arm/Silicon macs, not Intel

@fmillerr
Copy link

fmillerr commented Aug 8, 2024

webOS.Dev.Manager_1.99.3_universal.dmg in pre-release version 1.99.3 works on my 2020 M1 Macbook (macOS 14.5)

@mariotaku
Copy link
Member

webOS.Dev.Manager_1.99.3_universal.dmg in pre-release version 1.99.3 works on my 2020 M1 Macbook (macOS 14.5)

Good to hear that! I'll use this build instead.

@maxroxx
Copy link

maxroxx commented Sep 28, 2024

webOS.Dev.Manager_1.99.3_universal.dmg in pre-release version 1.99.3 works on my 2020 M1 Macbook (macOS 14.5)

Thanks this worked on my M2 pro macbook (macos 14.6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests