I am getting a blank page after successful login using the streamlit-authenticator. If I reload the page, the blank page no longer shows and page displays correctly with all the data. This only happens in the docker instance in production, on localhost it runs fine.
Here is what I am getting from developers tool:
main.cc5b8325.js:2 Uncaught TypeError: Cannot read properties of undefined (reading ‘vertical’)
at _i (main.cc5b8325.js:2:4196413)
at aa (main.cc5b8325.js:2:2222882)
at $s (main.cc5b8325.js:2:2275226)
at Rl (main.cc5b8325.js:2:2262472)
at _l (main.cc5b8325.js:2:2262400)
at El (main.cc5b8325.js:2:2262263)
at gl (main.cc5b8325.js:2:2259229)
at main.cc5b8325.js:2:2208674
at t.unstable_runWithPriority (main.cc5b8325.js:2:3046033)
at Xo (main.cc5b8325.js:2:2208451)
_i @ main.cc5b8325.js:2
aa @ main.cc5b8325.js:2
$s @ main.cc5b8325.js:2
Rl @ main.cc5b8325.js:2
_l @ main.cc5b8325.js:2
El @ main.cc5b8325.js:2
gl @ main.cc5b8325.js:2
(anonymous) @ main.cc5b8325.js:2
t.unstable_runWithPriority @ main.cc5b8325.js:2
Xo @ main.cc5b8325.js:2
Ko @ main.cc5b8325.js:2
$o @ main.cc5b8325.js:2
fl @ main.cc5b8325.js:2
enqueueSetState @ main.cc5b8325.js:2
m.setState @ main.cc5b8325.js:2
(anonymous) @ main.cc5b8325.js:2
setTimeout (async)
Sp.handleDeltaMsg @ main.cc5b8325.js:2
delta @ main.cc5b8325.js:2
(anonymous) @ main.cc5b8325.js:2
Sp.handleMessage @ main.cc5b8325.js:2
handleMessage @ main.cc5b8325.js:2
await in handleMessage (async)
websocket.onmessage @ main.cc5b8325.js:2
Here is my config:
- run in docker
- docker runs in AWS EC2 instance, Amazon Linux
- content served through nginx
- streamlit version 1.3.1
- streamlit_authenticator~=0.3.1
Please advice how can I solve this issue?