-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Grist self-hosted is not compatible with SSL #117
Comments
Hi @asitemade4u, happy new year! One thing you could try is to set environment variables 502 is a bad gateway error. Could you check what request the browser was making? It may be in the console just before the error, or failing that in the network tab (once you reload the page). |
BUT, as you may know, there is a setting in Nginx Proxy Manager that allows for Web Socket support. |
Even if everything seems fine, I have left the console opened and I see errors each time I open an existing document. |
Great, glad it worked and you figured out the websocket setting. Will watch my mailbox for the remaining issue. |
@asitemade4u I think the error you are seeing is a failure to load |
@asitemade4u |
Hi Paul,
|
@asitemade4u I think this is a symptom of losing session information. You can control where session information is stored with the environment variable |
OK, will try and let you know |
Hi Paul,
|
@asitemade4u is there a |
@asitemade4u |
|
I'm just getting started, trying to self-host grist and am wondering if there is a complete list/documentation of all env variables somewhere? |
@ovizii good point. We have an internal list for our hosted service, here's a quick stab at pulling out the relevant parts. Grist environment variablesGrist is sensitive to several environment variables. Here is a list:
Database variables:
Grist hosting:
Sandbox related variables:
|
Thank you very much for the effort! |
Got the same issue here. I set up Grist with Cloudflare tunnel as the following docker-compose version: '3.3'
services:
grist-core:
container_name: grist-core
ports:
- "127.0.0.1:8484:8484"
volumes:
- "~/grist-core:/persist"
environment:
- GRIST_SESSION_SECRET="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
image: gristlabs/grist
restart: unless-stopped
tunnel:
container_name: cloudflared-tunnel-grist-core
image: cloudflare/cloudflared
restart: unless-stopped
network_mode: host
command: tunnel --no-autoupdate run
environment:
- TUNNEL_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chrome Developer tab shows some incorrect API calls at
The correct root URL should be What environment should I set? (@paulfitz ) |
|
@paulfitz
Please note that I run the app on localhost only |
@duythongle I think somehow the quotes are getting included in your URL, since if I try an invalid URL:
There are no quotes in the error message. And |
@paulfitz |
Hi all and happy New Year!! Sorry to begin 2022 with a bug report ;o))
And the browser Console log says:
Failed to load resource: the server responded with a status of 502 ()
Please help as I would like to allow other employees to access our main worksheets that have all been transferred to Grist.
PS. I can send you logs on your private email address if needed.
The text was updated successfully, but these errors were encountered: