Docker SSL record too long

Situation
I have recently switched to using ubuntu. Docker is installed and working ok, using docker/development-easy/docker-compose up the containers have all been set up.

docker ps shows the following for openemr

> 111660d37720 openemr/openemr:flex "./openemr.sh" 5 hours ago Up 26 minutes 0.0.0.0:8300->80/tcp, :::8300->80/tcp, 0.0.0.0:9300->443/tcp, :::9300->443/tcp development-easy-openemr-1

if i try to connect to the openemr server using 8300 i get an error

Secure Connection Failed

An error occurred during a connection to localhost:8300. SSL received a record that exceeded the maximum permissible length.
> Error code: SSL_ERROR_RX_RECORD_TOO_LONG
> 
>     The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.

If I connect to 9300 instead there are no problems, so i’m able to continue working ok, but it would be interesting to understand the problem with 8300, and fix it if possible

OpenEMR Version
I’m using OpenEMR version 7.0.3-dev

Browser:
I’m using: firefox 120.o

Operating System
I’m using: ubuntu linux

Are you trying to connect to 8300 using https://server_name:8300/ url? Does it work if you connect using http://server_name:8300/ ?

hi ryan, yes i was using ‘https…’ - i just tried http://… and it gave me the connection - thanks!!

1 Like

First, FF may wrongly report this. However it sounds like the virtual host is not set up correctly to listen on port 8300 for SSL. You might start there.
Secondly, welcome to Ubuntu! umm what took you so long?:slight_smile:

thanks jerry, i’ll look in those directions

to answer your question - an addictive loyalty to opensuse!! - but i finally gave up :slight_smile:

1 Like

Sometimes a defeat can put one on a path to glory. Depends though if one learned from the defeat by moving forward!
Appears you have.:slight_smile: