http requests garbled, SSL_ERROR_RX_RECORD_TOO_LONG
I have a website on my server that responds to port 8585. When I visit http://myfakeurl.com:8585 in chrome the website loads fine.
When I visit the url in firefox on my phone the website loads fine.
when I visit the url from firefox in windows I get the error below
Secure Connection Failed
An error occurred during a connection to myfakeurl.com:8585. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
Looking at the incoming request on the server you can see that they filled with special character aand they are indeed very long.....
192.168.1.2 - - [01/Jul/2020 23:47:40] "ÈÄ��ÛçTFÐAdyÔ�"y�E|iò2EWvÔú߶ÆËÀ+À/̨̩À,À0À" HTTPStatus.BAD_REQUEST -
192.168.1.2 - - [01/Jul/2020 23:47:40] code 400, message Bad request version ('À+À/̨̩À,À0À')
192.168.1.2 - - [01/Jul/2020 23:47:40] "ÈÄR�kó}<ÂÀî"vAE:-�óF·ù� ��#¥¥�þ�À+À/̨̩À,À0À" HTTPStatus.BAD_REQUEST -
Before i confirmed that the requests were in fact too long I had tried downgrading to tls 1.2 in about:config
All Replies (2)
‘ssl_error_rx_record_too_long’ or ‘cannot display the webpage’
Internet search; More often than not, you have something misconfigured!
There is security software like Avast, Kaspersky,
BitDefender and ESET that intercept secure
connection certificates and send their own.
https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
https://support.mozilla.org/en-US/kb/firefox-and-other-browsers-cant-load-websites
https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message
https://support.mozilla.org/en-US/kb/connection-untrusted-error-message
Websites don't load - troubleshoot and fix error messages
http://kb.mozillazine.org/Error_loading_websites
This issue can be caused by corrupted cookies or blocked cookies.
- check the permissions for the domain in the currently selected tab in "Tools -> Page Info -> Permissions"
- https://support.mozilla.org/en-US/kb/fix-login-issues-on-websites-require-passwords
Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Options/Preferences).
"Remove the Cookies" for websites that cause problems:
- Options/Preferences -> Privacy & Security
Cookies and Site Data: "Manage Data"
"Clear the Cache":
- Options/Preferences -> Privacy & Security
Cookies and Site Data -> Clear Data -> Cached Web Content: Clear
You can check the connection settings.
- Options/Preferences -> General -> Network: Connection -> Settings
If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.
See "Firefox connection settings":