https://github.com/widgetti/solara/pull/

https://github.com/widgetti/solara/pull/806 How can I eliminate those irritating messages that don't seem to indicate any actual issues? ----- C:\Users\A\anaconda3\envs\solara-develop\lib\site-packages\solara\server\starlette.py:455: UserWarning: Cookies with samesite=none require https, but according to the asgi framework, the scheme is 'http' and the x-forwarded-proto header is 'http'. We will fallback to samesite=lax. If you embed solara in an iframe, make sure you forward the x-forwarded-proto header correctly so that the session cookie can be set. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite for more information on samesite cookies. Also check out the following Solara documentation: * https://solara.dev/documentation/getting_started/deploying/self-hosted * https://solara.dev/documentation/advanced/howto/embed warnings.warn(f"""Cookies with samesite=none require https, but according to the asgi framework, the scheme is {request.scope['scheme']!r}
5 Replies
MaartenBreddels
How do you start solara, and what do you put in your browser's address bar?
izumi.qu
izumi.quOP3d ago
by a bat file
@echo off CALL %USERPROFILE%\anaconda3\Scripts\activate.bat solara-develop solara run app_admin.py --host=0.0.0.0 --port=7777 pause visit localhost:7777
MaartenBreddels
do you get the same if you do --host=localhost?
izumi.qu
izumi.quOP3d ago
no, these disappeared
izumi.qu
izumi.quOP23h ago
PyCafe - Solara - Real-Time BTC Price Tracker with Solara
Create & Share Streamlit, Dash and Python Apps Online.

Did you find this page helpful?