You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Internal Server Error occurs when a user tries to connect to a gzip-encoded endpoint via Web App Access. Browser, cURL, and Go (net/http with TLSClient) successfully connect and decode the body from the same endpoint.
Expected behavior: Web App Access successfully proxies connections to endpoints with gzip content encoding.
Current behavior: Web App Access returns an Internal Server Error for such endpoints.
Steps to reproduce
Obtain an example endpoint with Content-Encoding: gzip. You can use example server attached below.
Add a configuration entry for Web App Access pointing to this server.
Open this resource via Teleport in your browser.
Details
Version
# teleport version
Teleport v14.1.1 git:api/v14.1.1-0-gfb6429e go1.21.3
# uname -a
Linux example-node 5.4.0-165-generic #182-Ubuntu SMP Mon Oct 2 19:43:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
I've noticed that as well. Also, I found that the teleport application doesn't seem to support gzip compression from the server side to the client/browser and can't use nginx as a forward proxy. Nowadays, the static assets of the application (such as javascript, css files, etc.) are very large in file size, and not supporting gzip will slow down the loading speed.
I tested a gzip-enabled nginx proxy behind Teleport recently and can confirm that it does correctly pass gzip-encoded traffic through if the correct headers (Accept-Encoding: gzip) are present in the request made to the Teleport proxy.
I would advise anyone reporting this bug to try this functionality again and report back if there is any further issue.
This error is not related to gzip encoding - it indicates that the downstream application was not accepting connections on port 3443 when Teleport attempted to connect to it.
Internal Server Error occurs when a user tries to connect to a gzip-encoded endpoint via Web App Access. Browser, cURL, and Go (net/http with TLSClient) successfully connect and decode the body from the same endpoint.
Expected behavior: Web App Access successfully proxies connections to endpoints with gzip content encoding.
Current behavior: Web App Access returns an Internal Server Error for such endpoints.
Steps to reproduce
Content-Encoding: gzip
. You can use example server attached below.Details
Version
Error log
Configuration entry
Example endpoint server
You might need an example server to reproduce this issue. Golang is outside of my knowledge, I can only provide a zero-deps Node.js example.
Requirements: Node.js 16 or newer.
Example cURL request
Example Go client
I've used it to verify that the issue is not in
crypto/tls
ornet/http
modules.The text was updated successfully, but these errors were encountered: