http over SSH port forward = weird characters
Posted: Tue Jun 09, 2020 7:16 pm
[PROBLEM]
I try to open a website over SSH port-forwarded SSL, and get a reply but it's just some weird unicode blocks.
The setup is as follows:
When I open my browser and connect to "http://localhost:10001" I get an answer, but it's just a bunch of "4-hex-character-in-a-block" symbols (unicode?), like this:
(Remark: There are 6 characters in the code block, but only the question-mark one is displayed here. Sorry.)
Hex editor says it's:
[SOLUTION]
Well yeah: I accidentially accessed "http://" - not "https://".
But once I got that broken http-reply, I couldn't just fix the URL to https - I had to either open/close the browser - or open another Firefox container tab. Seems like something got "stuck" otherwise.
Posting it here, because maybe someone runs into the same byte sequence reply issue?
I try to open a website over SSH port-forwarded SSL, and get a reply but it's just some weird unicode blocks.
The setup is as follows:
- Localhost: My local PC
- "Server1": My proxy server
- "Server2": 3rd party server, running https website - but restricted access to IP of "Server1"
When I open my browser and connect to "http://localhost:10001" I get an answer, but it's just a bunch of "4-hex-character-in-a-block" symbols (unicode?), like this:
Code: Select all
�
Hex editor says it's:
Code: Select all
15 03 01 EF BF BD 02 02
[SOLUTION]
Well yeah: I accidentially accessed "http://" - not "https://".
But once I got that broken http-reply, I couldn't just fix the URL to https - I had to either open/close the browser - or open another Firefox container tab. Seems like something got "stuck" otherwise.
Posting it here, because maybe someone runs into the same byte sequence reply issue?