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

Webtak does not survive a restart #62

Open
FarrantAlex opened this issue Jan 5, 2025 · 4 comments
Open

Webtak does not survive a restart #62

FarrantAlex opened this issue Jan 5, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@FarrantAlex
Copy link
Member

User Guitgently weeps on discord reports that ts 5.3 works first time but not second.
WebTAK is failing to connect to the TS.

Possible localhost issue with a container looking inside itself vs outside

@FarrantAlex FarrantAlex added the bug Something isn't working label Jan 5, 2025
@Pythonweasel
Copy link

Pythonweasel commented Jan 14, 2025

I can confirm this issue. Both on serverIP:8443 and localhost:8443 post reboot. When you initially open the webtak interface, it is hung for 1-4 seconds. Then, states the user is disconnected and reverts the user to anonymous.
anonymous_user

The error after inspecting the web page is "main.d81462c1.js:2 [ERROR][webtak] SocketConnection Socket on wss://10.0.0.1:8443/takproto/1 closed. Reason: ., Status code: 1000" and appears to originate from --> main.d81462c1.js:2
WEBTAK_connection issue_2

I have tried both chromium and Firefox browsers and get the same result. Currently running Ubuntu 24.04.1 LTS. Also on both 5.1 and 5.3 TS.

@Pythonweasel
Copy link

Interestingly, a version of the clourdRF repo from July of last year; webtak survives the reboot.

@FarrantAlex
Copy link
Member Author

The error message suggest the legacy Marti "cops" API is returning a HTML error page instead of JSON.
Feels like something got deprecated.

We plan to revisit this project soon but it has been lowered in priority now that TPC have picked up the baton for docker build scripts.

@FarrantAlex
Copy link
Member Author

Updated. Try now with TS 5.3 rel24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants