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

WSS isnt updating the token.txt, WS works. #1060

Closed
aaronsta1 opened this issue Apr 15, 2021 · 5 comments
Closed

WSS isnt updating the token.txt, WS works. #1060

aaronsta1 opened this issue Apr 15, 2021 · 5 comments

Comments

@aaronsta1
Copy link

aaronsta1 commented Apr 15, 2021

Before you create an issue, please make sure you have read the FAQ. Common questions on API, no image etc are covered there. Please also read HOWTO REPORT ISSUES

The version of zmNinja you are reporting:

1.6.007 android

The version and OS of ZoneMinder you are using:

1.34.23 ubuntu 20.24

Platform zmNinja is running on

android 10

Did you build the package from source code yourself?
no

Describe the bug
WSS isnt working, only WS is working.

Debug logs

i can email you the debug log from zmninja, id rather not post it.
not sure if this is it but there is this error message

Apr 15, 2021 03:48:51:543 PM DEBUG EventSever: Failed to connect to WebSocket: code: 1006, reason: undefined, exception: Connection reset

i have updated the websockets per your faq.

Screenshots
i really dont have any issue, except for the WSS service. if i leave it on WS it works just fine.

Additional context
Add any other context about the problem here.

edit, i also know HTTPS wont work over wifi connecting to the local network. this isnt it.

@ghost
Copy link

ghost commented Apr 15, 2021

You have all your HTTPS certificates setup properly for ES? The fact it works without HTTPS makes me think you have a cert issue.

@aaronsta1
Copy link
Author

aaronsta1 commented Apr 15, 2021

yeah it was working just fine before, i just updated to the new master yesterday.
i recheck the certs with certbot.

@ghost
Copy link

ghost commented Apr 15, 2021

Ah, well I haven't updated so I can't take a look to see if I can confirm with my setup. You'll have to wait to see what the dev has to say.

@aaronsta1
Copy link
Author

for now i just put it on WS to get the key, then put it back to WSS and it caches the key so it should be ok for awhile.

@aaronsta1
Copy link
Author

so i just got an update for Zoneminder to 1.34.25 and now im not having this issue..
or atleast its not causing any problems.
so i guess ill close this for now.

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

1 participant