Prosba o dokumentacje + inne sprawy

User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Możesz wyłączyć całkowicie SSL-a ? Będzie łatwiej debugować. TCP 2015
SUPLA.... Nareszcie w domu.
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Domyślna implementacja libki z której korzystam do obsługi serwera odrzuca połączenia SSLv3
It looks to me that netty-socketio server is behaving properly (and I assume your using default settings for netty-socketio server) by refusing a SSLv3 connection request from a client, given that SSLv3 (and older versions) are known to be vulnerable to attacks. At this time, the only handshake that should be accepted is TLSv1.2
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

pzygmunt wrote: Fri Aug 11, 2017 11:51 am Możesz wyłączyć całkowicie SSL-a ? Będzie łatwiej debugować. TCP 2015
Zaraz wyłaczę
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Spróbuj na supla2015.production.usermd.net
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Btw w tej chwili jestem w stanie tylko odbierać TDS_SuplaRegisterDevice_B (to samo co wysyła ROW-01)
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

root@debian:/home/user01/git/supla-core/supla-console-client/Debug# ./supla-console-client -h supla2015.production.usermd.net -tcp -u a 0p b
INFO[1502453309.573539] Client GUID: 87E68993711F6A0C49EDDACB121B0366
INFO[1502453309.573683] Connecting...
ERR[1502453309.640522] Can't connect to host supla2015.production.usermd.net
^Croot@debian:/home/user01/git/supla-core/supla-console-client/Debug# telnet supla2015.production.usermd.net 2015
Trying 85.194.241.231...
telnet: Unable to connect to remote host: Connection refused
SUPLA.... Nareszcie w domu.
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Już powinno być OK
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

io.netty.handler.codec.CorruptedFrameException: Read char at position 0 wsa '71' but should be '83'!
Jak powinien wyglądać supla tag? Coś nie fungło
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

ava.lang.IllegalArgumentException: Don't know decoder for call type SUPLA_CS_CALL_REGISTER_CLIENT
Póki co tego nie obsługuję. Serwer da radę tylko dla register device B
Supla ❤️ Open HAB - https://github.com/magx2/openhab-supla
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Wygląda tak jakbyś nie utrzymywał połączenia tylko kilował je od razu po otrzymaniu danych.
SUPLA.... Nareszcie w domu.

Return to “Zagadnienia ogólne”