Skip to content

Garbled output with port forwarding #27157

Answered by jkeech
olilarkin asked this question in Codespaces
Discussion options

You must be logged in to vote

Yes, it’s due to Codespaces. The port forwarding infrastructure is probing your app to see if it’s running HTTPS or just HTTP, so it tries to perform a TLS handshake to see if it accepts HTTPS. You app doesn’t support HTTPS (which is fine), but it does log the request, which appears malformed in the logs. You should be able to safely ignore that output for now.

We are considering ways to improve this detection where it won’t cause the malformed output in your app logs. One possible solution is to prefer HTTP instead of HTTPS, so we would check for that first, although that could have a similar issue for apps that only support HTTPS.

No matter whether your app serves content over HTTP or H…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants