question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.9.1: SSL connection breaks after short time

See original GitHub issue

Not sure if that’s a bug or if I’m missing anything… I can’t seem to get SSL to work. I have built the docker image from the current FreeTakServer-Docker main branch on an x86_64 server and it’s running fine. tcp connectivity is fine too. I’m using an Android 8.1.0 phone and an Android 10 tablet for testing. Both have ATAK 4.3.1 installed. I created users in the WebUI and tried to deploy the datapackages. That was the first problem - the certificates don’t seem to get installed in ATAK. At least they don’t show up in /atak/certs. Additionally, the data package prefs refer to the internal docker network IP of the server, not to the external IP (which is set correctly throught the IP envvar) (see https://github.com/FreeTAKTeam/FreeTAKServer-Docker/issues/26). I pulled the certificates out of the ZIP files and uploaded them to the EUDs manually. Then I imported the certificates on the EUDs manually through the server settings. Which seems to work - at least I don’t get an error. The EUDs try to connect and I immediately get “IOerror - reconnecting”. When I additionally enter authentication credentials, the EUDs connect, apparently stay connected for like 20-30secs and then disconnect. Same error message on the EUDs. On the server I found the following logs…:

FTS_debug.log (repeating over and over)

INFO : 2021-07-31 17:35:18,456 : DataPackageServer.py:144 : sending client version json
INFO : 2021-07-31 17:35:18,457 : DataPackageServer.py:150 : sending client version info

FTS_error.log (repeating over and over)

ERROR : 2021-07-31 16:22:04,519 : ClientReceptionHandler.py:72 : Exception other than broken pipe in monitor for data function [Errno 11] Resource temporarily unavailable

Another thing I noticed are updated timestamps on the server certificates in the persistent storage after a container restart. Does the container recreate the server certificates after a restart or recreate without checking for exixting certificates?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:23

github_iconTop GitHub Comments

1reaction
sgofferjcommented, Aug 7, 2021

I tried rollback to 1.9 but I’m getting the same issue. I’m looking at the moment into temporary deploying taky until this is fixed…

0reactions
brothercorvocommented, Nov 19, 2021

tested. it works in 1.9.5 closing this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

8 Ways to Fix SSL Connection Errors on Various Browsers ...
Fixing the SSL connection error on Android is relatively simple. First, go ahead and check your time and date settings to see if...
Read more >
Ruby SSL error - sslv3 alert unexpected message
Just to answer my own question. The problem seems to be with how Ruby negotiates SSL connections. There's an error in Xpiron's TLS...
Read more >
NGINX SSL Termination
The SSL connection is established before the browser sends an HTTP request and NGINX does not know the name of the requested server....
Read more >
SSL Connection Error. - SAP Community
After receiving the response message from SYSTEMDB, the client disconnects from SYSTEMDB and reconnects to the database specified by ...
Read more >
Transport Layer Security (TLS) connections might fail or ...
You might also receive one or more of the with the following errors: "The request was aborted: Could not create SSL/TLS secure Channel"....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found