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

Better inform of debug session errors to the user #109

Open
arturocuya opened this issue Oct 19, 2022 · 2 comments
Open

Better inform of debug session errors to the user #109

arturocuya opened this issue Oct 19, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@arturocuya
Copy link

Currently the debug session logs show messages like this when there's an error connecting to a device:

DebugServer: Invalid response code: 577

In this case, the problem is known: The device requires a system update before sideloading apps. The logs could show a more human readable message, like this:

DebugServer: Error (577) - Your device requires a system update before accepting connections. Follow these instructions to manually check for updates https://support.roku.com/article/208755668.

We should do this for all known error codes.

@chrisdp chrisdp added the enhancement New feature or request label Oct 25, 2024
@timbyu
Copy link

timbyu commented Nov 13, 2024

I was getting a 577 but had no idea how to fix it. Rebooting my Roku did not resolve the problem. I verified a couple of times that the software on my device is up to date. I found restarting VS Code would allow the debugger to work again for a time. By the next day I was seeing the 577 error again. Any information that would help me figure out what is going wrong would be welcomed.

I just found if I run "Developer: Restart Extension Host" from the command pallet it starts working again.

@chrisdp
Copy link
Collaborator

chrisdp commented Nov 13, 2024

This is a safe guard in the Roku OS where the device wants to "phone home" every so often. If it can't do so the side-loading commands will respond with a 577 response code.

The fix is simply checking for updates on the device in settings. We are currently working on detecting this case and displaying a more informative error.

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

No branches or pull requests

4 participants