Hi, as per the docs : as per streamlitâs official knowledge-base/deploy/remote-start blog
I can see the headers : from the developer tools for the request : wss://abc.com/streamlit/stream33.py/stream
Host: myorigin
Origin: myorigin
Pragma: no-cache
Sec-Websocket-Extensions: permessage-deflate; client_max_window_bits
Sec-Websocket-Key: hB0DcabcabcabcQ8BoVDAvg==
Sec-Websocket-Protocol: streamlit
Sec-Websocket-Version: 13
Trusted_user: username
Upgrade: websocket
I use streamlit-launchpad to host some files. Since I use a linux container to deploy my app with nginx ingress controller & ingress on a cloud k8s cluster, the command is:
I still get the same âPlease waitâ screenâŚ
Here are my pod logs:
INCOMING URL: st-allowed-message-origins
GET : localhost:8500 / st-allowed-message-origins
{âX-Request-Idâ: âda788e351b3ebadceâ, âX-Real-Ipâ: â10.2.133.228â, âX-Forwarded-Forâ: â10.2.133.228â, âX-Forwarded-Hostâ: âmyoriginâ, âX-Forwarded-Portâ: â443â, âX-Forwarded-Protoâ: âhttpsâ, âX-Forwarded-Schemeâ: âhttpsâ, âX-Schemeâ: âhttpsâ, âX-Original-Forwarded-Forâ: â10.2.133.228:50598â, âX-Original-Urlâ: â/streamlit/stream33.py/st-allowed-message-originsâ, âX-Appgw-Trace-Idâ: âe925f57d275a1â, âX-Original-Hostâ: âabc.comâ, âCache-Controlâ: âno-cacheâ, âSec-Ch-Uaâ: ââNot.A/Brandâ;v=â8â, âChromiumâ;v=â114â, âGoogle Chromeâ;v=â114ââ, âAcceptâ: âapplication/json, text/plain, /â, âSec-Ch-Ua-Mobileâ: â?0â, âUser-Agentâ: âMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36â, âSec-Ch-Ua-Platformâ: ââWindowsââ, âSec-Fetch-Destâ: âemptyâ, âRefererâ: âmyorigin/streamlit/stream33.py/â, âAccept-Languageâ: âen-US,en;q=0.9â, âCookieâ: âappgwcookieCORS=0a153a090a; appgwcookie=0a153a012a960ca90a; _oauth2_proxy_test_auth0=ghJaeI=â, âAccess-Control-Allow-Originâ: âtrueâ}
HTTPResponse(_body=None,_error_is_response_code=False,buffer=<_io.BytesIO object at 0x7fa15e0>,code=200,effective_url=âmyorigin/st-allowed-message-originsâ,error=None,headers=<tornado.httputil.HTTPHeaders object at 0x7fe8bd60>,reason=âOKâ,request=<tornado.httpclient.HTTPRequest object at 0x7fe8d90>,request_time=0.0029108509766,start_time=1686247682.466749,time_info={})
Server: TornadoServer/6.1
Content-Type: application/json; charset=UTF-8
Date: Thu, 08 Jun 2023 GMT
Cache-Control: no-cache
Access-Control-Allow-Origin: *
Etag: â30036018d31a0b1eabaâ
Content-Length: 503
Vary: Accept-Encoding
Connection: close
200
response body
WEBSOCKET OPENING ON ws://localhost:8500/stream
INCOMING URL: st-allowed-message-origins
⌠this keeps repeating