[velux] Unable to connect -- Reason: SSL V2.0 servers are not supported

Hallo Torsten @tmarkwardt,

Hi … i’m received on my log :
2019-08-15 16:41:29.523 [ERROR] [.internal.engine.KLFCommandProcessor] - Unable to connect to KLF200 host 192.168.1.25 on port 51200. Reason: SSL V2.0 servers are not supported. 2019-08-15 16:41:29.526 [ERROR] [.internal.engine.KLFCommandProcessor] - Unable to setup a connection to the KLF200 unit at 192.168.1.25 on port 51200
why am i getting a SSL V2.0 error?
Has your an idea?
Regards

JDK 1.8.0_211 / 1.8.0_221 on raspberry pi 4 … but with a java version 1.8.0_201 under windows 10 also i have this problem … i think, the problem is the klf-200 on slip communication. current i had downgrade the firmware to 1.0.44 and can test slip and http json access parallely …

thanks for the details. It seems to be a strange issue. I’ve got the same hardware with a linux

Linux home-pi06 4.19.50-v7l+ #895 SMP Thu Jun 20 16:03:42 BST 2019 armv7l GNU/Linux

and no problem regarding the SSL libraries. It might be an issue with the installed packages. Currently with a standard installation procedure of Raspberrian I came to the following list of installed packages:

ca-certificates-java				install
java-common					install
javascript-common				install
libactivation-java				install
libaopalliance-java				install
libapache-poi-java				install
libapache-pom-java				install
libargs4j-java					install
libasm-java					install
libatinject-jsr330-api-java			install
libatk-wrapper-java				install
libatk-wrapper-java-jni:armhf			install
libbase-java					install
libbcmail-java					install
libbcpkix-java					install
libbcprov-java					install
libbsh-java					install
libcdi-api-java					install
libcglib-java					install
libcodemodel-java				install
libcommons-cli-java				install
libcommons-codec-java				install
libcommons-collections3-java			install
libcommons-collections4-java			install
libcommons-compress-java			install
libcommons-io-java				install
libcommons-lang3-java				install
libcommons-logging-java				install
libcommons-math3-java				install
libcommons-parent-java				install
libcurvesapi-java				install
libdom4j-java					install
libdtd-parser-java				install
libehcache-java					install
libel-api-java					install
libfastinfoset-java				install
libflute-java					install
libfonts-java					install
libformula-java					install
libgeronimo-annotation-1.3-spec-java		install
libgeronimo-interceptor-3.0-spec-java		install
libguava-java					install
libguice-java					install
libhawtjni-runtime-java				install
libhsqldb1.8.0-java				install
libhttpclient-java				install
libhttpcore-java				install
libicu4j-java					install
libintellij-annotations-java			install
libistack-commons-java				install
libitext-java					install
libjansi-java					install
libjansi-native-java				install
libjavascriptcoregtk-4.0-18:armhf		install
libjaxb-api-java				install
libjaxb-java					install
libjaxen-java					install
libjcommon-java					install
libjdom1-java					install
libjetbrains-annotations-java			install
libjsoup-java					install
libjsp-api-java					install
libjsr305-java					install
liblayout-java					install
libloader-java					install
liblog4j1.2-java				install
libmail-java					install
libmaven-file-management-java			install
libmaven-parent-java				install
libmaven-resolver-java				install
libmaven-shared-io-java				install
libmaven-shared-utils-java			install
libmaven3-core-java				install
libopenjfx-java					install
libpentaho-reporting-flow-engine-java		install
libpixie-java					install
libplexus-archiver-java				install
libplexus-cipher-java				install
libplexus-classworlds-java			install
libplexus-component-annotations-java		install
libplexus-interpolation-java			install
libplexus-io-java				install
libplexus-sec-dispatcher-java			install
libplexus-utils2-java				install
librelaxng-datatype-java			install
libreoffice-java-common				install
librepository-java				install
librngom-java					install
libsac-java					install
libsaxonhe-java					install
libserializer-java				install
libservlet-api-java				install
libservlet3.1-java				install
libsisu-guice-java				install
libsisu-inject-java				install
libsisu-ioc-java				install
libsisu-plexus-java				install
libslf4j-java					install
libsnappy-java					install
libstax-ex-java					install
libstreambuffer-java				install
libtxw2-java					install
libwagon-http-java				install
libwagon-provider-api-java			install
libwebsocket-api-java				install
libxerces2-java					install
libxml-commons-external-java			install
libxml-commons-resolver1.1-java			install
libxml-java					install
libxmlbeans-java				install
libxom-java					install
libxsom-java					install
libxz-java					install
libssl1.1:armhf					install
openssl						install
python-openssl					install
python3-openssl					install
ssl-cert					install

The Java itself looks like (output of java --version):

openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-post-Raspbian-5)
OpenJDK Server VM (build 11.0.3+7-post-Raspbian-5, mixed mode)

with the preinstalled libraries (output of java --list-modules)::

java.base@11.0.3
java.compiler@11.0.3
java.datatransfer@11.0.3
java.desktop@11.0.3
java.instrument@11.0.3
java.logging@11.0.3
java.management@11.0.3
java.management.rmi@11.0.3
java.naming@11.0.3
java.net.http@11.0.3
java.prefs@11.0.3
java.rmi@11.0.3
java.scripting@11.0.3
java.se@11.0.3
java.security.jgss@11.0.3
java.security.sasl@11.0.3
java.smartcardio@11.0.3
java.sql@11.0.3
java.sql.rowset@11.0.3
java.transaction.xa@11.0.3
java.xml@11.0.3
java.xml.crypto@11.0.3
jdk.accessibility@11.0.3
jdk.attach@11.0.3
jdk.charsets@11.0.3
jdk.compiler@11.0.3
jdk.crypto.cryptoki@11.0.3
jdk.crypto.ec@11.0.3
jdk.dynalink@11.0.3
jdk.editpad@11.0.3
jdk.hotspot.agent@11.0.3
jdk.httpserver@11.0.3
jdk.internal.ed@11.0.3
jdk.internal.jvmstat@11.0.3
jdk.internal.le@11.0.3
jdk.internal.opt@11.0.3
jdk.jartool@11.0.3
jdk.javadoc@11.0.3
jdk.jcmd@11.0.3
jdk.jconsole@11.0.3
jdk.jdeps@11.0.3
jdk.jdi@11.0.3
jdk.jdwp.agent@11.0.3
jdk.jfr@11.0.3
jdk.jlink@11.0.3
jdk.jshell@11.0.3
jdk.jsobject@11.0.3
jdk.jstatd@11.0.3
jdk.localedata@11.0.3
jdk.management@11.0.3
jdk.management.agent@11.0.3
jdk.management.jfr@11.0.3
jdk.naming.dns@11.0.3
jdk.naming.rmi@11.0.3
jdk.net@11.0.3
jdk.pack@11.0.3
jdk.rmic@11.0.3
jdk.scripting.nashorn@11.0.3
jdk.scripting.nashorn.shell@11.0.3
jdk.sctp@11.0.3
jdk.security.auth@11.0.3
jdk.security.jgss@11.0.3
jdk.unsupported@11.0.3
jdk.unsupported.desktop@11.0.3
jdk.xml.dom@11.0.3
jdk.zipfs@11.0.3

Could you please check whether there are other libraries on your system preinstalled? Currently I have no clue what’s going wrong :open_mouth:

Best regards,
Guenther