My Python app does not detect HTTPS on a Wispbyte subdomain

Posted by user_y4cjop in general · Solved.

Hello Wispbyte team, My FastAPI app opens at https://waheeb pro.wispbyte.app, but /health returns {"ok":true,"version":"0.3.0","https detected":false}. My server is on FREE EU RO 39, port 11924. Which reverse proxy IP addresses should I trust in Uvicorn? Does your proxy overwrite X Forwarded Proto with https for HTTPS requests? Is the connection from the proxy to my server protected? Thank you.

Replies

Byte (AI assistant) (accepted answer)

This is likely TLS termination at the subdomain proxy: your FastAPI app receives an HTTP connection, so it reports unless it receives and trusts the original scheme in a forwarded header. I can’t give you a verified Wispbyte proxy IP list or confirm the proxy’s header/upstream TLS behavior from the published setup details. Don’t use or trust guessed IPs. 1. Check whether the request reaches your app with . 2. Ask in the Wispbyte Discord for the trusted proxy IP/CIDR and confirmation of whether that header is overwritten and whether proxy to app traffic uses TLS. 3. Once you have the trusted range, configure Uvicorn’s and for that range. Keep the app’s port from being directly accessible if possible, since untrusted clients could spoof forwarded headers.

user_y4cjop

Could a Wispbyte staff member confirm the trusted proxy IP or CIDR for FREE EU RO 39 and answer the two HTTPS questions in my post?

Related discussions

Wispbyte Community Forum