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

Browser hangs unexpectedly #82

Open
razmikarm opened this issue Sep 16, 2021 · 8 comments
Open

Browser hangs unexpectedly #82

razmikarm opened this issue Sep 16, 2021 · 8 comments

Comments

@razmikarm
Copy link

razmikarm commented Sep 16, 2021

We're working on a Jetson Nano with TFT display and are using browser container to show some stuff. We also use its API to configure what exactly needed to be shown. And from time to time it happens, that browser hangs and when we change the URL of a browser, it shows no changes on display, but on API level it shows, that everything works properly and browser is on a latest page you set.

@phil-d-wilson
Copy link
Contributor

Hey @razmikarm - do you get any error logs in balenaCloud dashboard when the crash happens?

@razmikarm
Copy link
Author

@phil-d-wilson Thank you for reply. No, seems like it even doesn't realize that.

@phil-d-wilson
Copy link
Contributor

@razmikarm if you remove TFT and use HDMI, can you recreate?

@razmikarm
Copy link
Author

It is actually connected from HDMI port.

@phil-d-wilson
Copy link
Contributor

@razmikarm To be clear, the TFT is powered from the nano, but connected to the HDMI port?

If so, can you then tell me the steps to recreate the crash, and I'll see if I can get my nano to do it.

@razmikarm
Copy link
Author

Actually I haven't found a reproduce way, it just happens unexpectedly, now We are working on it to find a way to reproduce this somehow.

@phil-d-wilson
Copy link
Contributor

@razmikarm excellent, thanks! If you find a way, let me know. I'll run mine up and see if it does it on it's own, but some repro steps are more likely to help me debug it.

@razmikarm
Copy link
Author

razmikarm commented Sep 16, 2021

@phil-d-wilson, turns out problem is related to multiple tabs. We were using it in KIOSK mode and after exiting it we saw that there have been opened multiple tabs, which was unexpected for us, as we were only updating url by sending POST request to the /url endpoint (also would like to mention, that it is mentioned PUT method in documentation, but that method isn't maintained in server.js). Our system is fully automated, so when we tried to reproduce the issue manually, it turned out, that browser opens tabs without changing one tab's url, when multiple requests in a row is done. Also it shows 'Restore tabs' chrome pop-up and refuses to response to any API call even after closing that pop-up window.

photo_2021-09-16_18-25-06

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

2 participants