-
Notifications
You must be signed in to change notification settings - Fork 3
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
no connection to Worx Server. new logon procedure is required by server #18
Comments
Hi skyline2030, i will try to fork this project and implement the fixes from iobroker. Is there a link to the fixed version, which you have found? |
Hi eckonator, that sounds good! I have the same problem like skyline2030. I think that should be the link ?! I hope it helps :-) |
I also did some research on this yesterday. I suspect the fix is relatively simple. In the directory "fhem-landroid-s" is a file "package.json". In this file the following line should be changed to version 1.7.0: "dependencies": { According to my research, version 1.7.0 is the last patched version that might work. After that the ioBroker module was completely refactored, so the rest of the FHEM version won't work with it without any adjustments from version 2.x.x on. Unfortunately I can't test my solution yet, because my Node version is at 12 and for version 1.7.0 at least Node 16 is needed. The solution could therefore look like this:
After that it could work again. Unfortunately I'm not at home this weekend to do further research. Maybe someone can test and report if my theory leads to success? |
Hi eckonator, |
Hi SuMiHe, |
I tried that too, nearly same error. See the 2. log |
Hm, try this:
|
then I get Errors by "sudo npm install [email protected]". |
Okay, here is a new try :-)
|
nope, no luck again. |
Now it seems your machine do not trust the ssl certificat. Maybe this can help:
And then run the lines from my previous post. |
still the ssl error :-( "npm ERR! request to https://registry.npmjs.org/iobroker.worx failed, reason: write EPROTO 1995606480:error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 20 Thank's a lot, but it's ok for now. Sorry. |
root@MYSERVER:/opt/landroid/fhem-landroid-s-master# node -v root@MYSERVER:/opt/landroid/fhem-landroid-s-master# npm -v root@MYSERVER:/opt/landroid/fhem-landroid-s-master# rm -rf node_modules package-lock.json added 120 packages, and audited 121 packages in 10s 14 packages are looking for funding found 0 vulnerabilities unfortunately I only get the output "INFO: worx is selected" and then the process terminates. |
It’s not so easy that i thougt. You can add in LandroidSrv.js, Line 452 this: After that it seems to go further, but it‘s never starting the I tried to get help from ioBroker.worx developers. Now, we have to wait… |
Until 20 October 2022 all worked fine. We had a power outage for some time at that day. After restarting, I got the following error:
0|Landroid | DEBUG: Connect to worx....
0|Landroid | ERROR: Could not Connect to Worx Server: StatusCodeError: 404 - {"message":"Not Found","code":"404.000"}
0|Landroid | Thu, 20 Oct 2022 19:28:45 GMT --> 'ERROR: StatusCodeError: 404 - {"message":"Not Found","code":"404.000"}
0|Landroid | INFO: worx is selected
This error comes over and over again. No connection to worx server takes place.
I searched for web entries describing the same error and found several people who had the same problem, but not with fhem but with IOBROKER. I found out: somebody supplied a fix for the IOBROKER version, but the fhem version still has NO FIX.
Is anybody able to adapt the fix to the fhem version of landroid.
The text was updated successfully, but these errors were encountered: