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

Rozumiem, że próbujesz zaimplementować własny serwer ? Jeżeli tak to wystaw port na zewnątrz to połączę się linux-owym klientem i zobaczę natywnie co tam się dzieeje.
SUPLA.... Nareszcie w domu.
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Tak, implementuję własny serwer. Póki co nie ma w nim za wiele logiki. Tutaj masz linka do jara https://drive.google.com/file/d/0B57d2q ... sp=sharing żeby go odpalić napisz:
java -jar nettyTest-all.jar
Wtedy na 2016 porcie (https) serwer będzie nasłuchiwał.
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

Any update?
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

Jeszcze nie miałem kiedy się tym zająć.
SUPLA.... Nareszcie w domu.
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

Miałeś może chwilę czasu?
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

Może przed weekendem dasz rade?
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

Wystaw port na zewnątrz to szybciej to ogarnę. Tak to muszę postawić czystego wirtuala, wszystko skonfigurować i odpalić Twój soft.
SUPLA.... Nareszcie w domu.
magx2
Posts: 417
Joined: Wed May 17, 2017 1:27 pm
Has thanked: 1 time
Been thanked: 1 time

Post

wbij się tutaj supla2016.production.usermd.net

@Edit daj znać kiedy skończysz bo trzymam java otwartą w konsoli :)
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

Widzę że bijesz SSLv3
Caused by: javax.net.ssl.SSLHandshakeException: Client requested protocol SSLv3 not enabled or not supported
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1666)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:304)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:292)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:517)
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:223)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
at io.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1301)
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1214)
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 supla2016.production.usermd.net
INFO[1502452178.684184] Client GUID: 87E68993711F6A0C49EDDACB121B0366
INFO[1502452178.686083] Connecting...
ERR[1502452178.893468] error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
SUPLA.... Nareszcie w domu.

Return to “Zagadnienia ogólne”