-
Notifications
You must be signed in to change notification settings - Fork 6
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
Websocket error #13
Comments
hi @robozb what version of the lib are you using ? |
I guess the latest:
|
the logins go to
the websockets go to
region comes from what you init the api ie "eu" |
It is interesting, all things works well in Win10, but not on my Linux RPI4 on the same network. On Linux with almost the same JDK (Oracle 17) I got this errors all the time:
|
Thank you so much! I check it out :) |
are you doing eweLink.getWebSocket(new WssResponse() { there has been some issues with trying to turn on/off a device too fast from init. slower things like PI might not have fully setup the websocket connection yet |
I guess this is the code block where the exception arised:
Sorry for the hungarian language :) |
is
declared as a static instance or only created once ? |
I'd like to test the API urls to make sure the error not in my code. |
we had issues here #9 where if you did not create the websocket listener it was giving the same error but that should be fixed now |
Sorry, here is the code:
|
Thank you so much for your lot of help :) |
The debuged output on Linux (still Win10 ok)
|
code looks ok, try to check network
then next to check if server SSL CA certificates ok
|
curl should return {"error":403,"msg":"api not found","data":{}}% and wscat should show |
The results: Python:
|
The next one
|
the next ones:
|
So it seems the connection was successful |
a bit of a guess, can you try with another JRE ie https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/downloads-list.html |
The wscat output:
|
Thanks for your help! I will give a feedback about the solution (if it is possible :) ) |
Dear Dev,
I got this error message on my Linux. I'd like to test the socket, please send me the API URL.
My Linux opsystem:
My Win10 (where the same source works well):
jdk-17.0.6_windows-x64_bin
Thanks: Bela
The text was updated successfully, but these errors were encountered: