Hi, I am currently using “Apalis-iMX6_Reference-Multimedia-Image-Tezi_5.4.0+build.11” image. I tried to communicate to my firebase using curl but returns “curl: (35) openssl ssl_connect: connection reset by peer in connection”. I have tried the same command on my window, and Ubuntu, and both of them works.
Hi @Raymond , with -vvv, you can get more debug information about curl. firebasedatabase.app seems your private server that I can access from my side. It could be some protocol of your firebasedatabase.app’s HTTPS is not supported by OpenSSL on current BSP. curl -vvv https://docs.toradex.cn/104952-apalis-imx8qm-front-view.jpg --output imx8.jpg does fetch the picture from our website.
Hi @Raymond , Apalis iMX6 sends out a first TLS hello package, and then it is reset by the peer that is firebasedatabase.app immediately. Could you also have a try with wget https://docs.toradex.cn/104952-apalis-imx8qm-front-view.jpg?
Hi @Raymond , apalis imx6 system time is still suspicious. You have directly changed the time in UTC. Please set time in UTC and your own time zone correctly.
Hi @Raymond , do you know if there is any requirement accessing firedatabase.app ? For example, a cipher for TLS or user confidential. OpenSSL version on Reference-Multimedia-Image-Tezi_5.4.0 is 1.1.1k. It is a new release. The latest Ubuntu 21.10 has OpenSSL 1.1.1l.
Hi @Raymond , you can compare TLS v1.2 cipher suites supported by curl and firebasedatabase.app. Use this command curl https://www.howsmyssl.com/a/check on Apalis iMX6.
After I change Firebase to Back4app, I did not face this issues anymore. For firebase, the issue was with my internet connection, changing to another internet connection was able to solve this issue.