dev-manager-desktop icon indicating copy to clipboard operation
dev-manager-desktop copied to clipboard

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

Open lrfsh opened this issue 2 years ago • 27 comments

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!

lrfsh avatar Apr 14 '23 20:04 lrfsh

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

mariotaku avatar Apr 15 '23 03:04 mariotaku

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

lrfsh avatar Apr 15 '23 13:04 lrfsh

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

mariotaku avatar Apr 15 '23 13:04 mariotaku

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

490398290 avatar Apr 17 '23 15:04 490398290

@490398290 Thank you so much for the info.

mariotaku avatar Apr 17 '23 16:04 mariotaku

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

geoL86 avatar Apr 17 '23 18:04 geoL86

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

mariotaku avatar Apr 18 '23 16:04 mariotaku

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

niteya-shah avatar Jun 15 '23 17:06 niteya-shah

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

joshproehl avatar Jun 18 '23 14:06 joshproehl

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

fatih-celonis avatar Jul 21 '23 15:07 fatih-celonis

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

0x09AF avatar Aug 14 '23 02:08 0x09AF

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

mariotaku avatar Aug 14 '23 09:08 mariotaku

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

0x09AF avatar Aug 14 '23 13:08 0x09AF

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

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

mariotaku avatar Aug 20 '23 17:08 mariotaku

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.

0x09AF avatar Aug 21 '23 15:08 0x09AF

@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.

throwaway96 avatar Aug 24 '23 02:08 throwaway96

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"

0x09AF avatar Aug 30 '23 03:08 0x09AF

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

fergardi avatar Apr 26 '24 11:04 fergardi

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.

mariotaku avatar Apr 26 '24 12:04 mariotaku

Working perfectly on mac 12.7.1 Mac mini 2018

poloba avatar May 03 '24 08:05 poloba

Working perfectly on mac 12.7.1 Mac mini 2018

Issue is the arm/Silicon macs, not Intel

cegees avatar May 14 '24 00:05 cegees

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

fmillerr avatar Aug 08 '24 17:08 fmillerr

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.

mariotaku avatar Aug 10 '24 07:08 mariotaku

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)

maxroxx avatar Sep 28 '24 14:09 maxroxx

Worked for me too on my Macbook Air M1 2020. Even with the newest MacOS Sequoia Version 15.0.1. @mariotaku I think you can remove the comment on the readme for it, since its working again for the Arm Mac Users

SnowJuli avatar Oct 23 '24 08:10 SnowJuli

I can confirm that v1.99.3 release works on M1 silicon

peckpeck20 avatar Nov 11 '24 11:11 peckpeck20

Made a PR to update Readme -> https://github.com/webosbrew/dev-manager-desktop/pull/265

peckpeck20 avatar Nov 11 '24 11:11 peckpeck20