grist-core
grist-core copied to clipboard
Running in a local docker container, error when using Calendar widget
Hello,
I am running grist core from inside a Docker container on my local Windows machine, using the basic instructions (no extra infrastructure or anything). I can use the app fine, except for the calendar widget. I receive the following error:
2023-12-22 19:25:09.531 - warn: client error stack=Error: Request to http://localhost:8484/o/docs/api/widgets failed with status 500: Internal Server Error (FetchError: request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/288192888/ac2e6abe-4f27-445f-b8b3-cbd94aecd805?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231222T192506Z&X-Amz-Expires=300&X-Amz-Signature=beb423c82b36bb329fdf20427c75a100b44e5139cc6ac8a8bd3adb3e294903bf&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=288192888&response-content-disposition=attachment%3B%20filename%3Dmanifest.json&response-content-type=application%2Foctet-stream failed, reason: self-signed certificate in certificate chain) at y (http://localhost:8484/v/unknown/main.bundle.js:2:493544) at D.request (http://localhost:8484/v/unknown/main.bundle.js:2:493264) at async b.countPendingRequest (http://localhost:8484/v/unknown/main.bundle.js:2:491965) at async D.requestJson (http://localhost:8484/v/unknown/main.bundle.js:2:493315) at async b.countPendingRequest (http://localhost:8484/v/unknown/main.bundle.js:2:491965) at async D.getWidgets (http://localhost:8484/v/unknown/main.bundle.js:2:557892) at async http://localhost:8484/v/unknown/main.bundle.js:2:98071, message=Request to http://localhost:8484/o/docs/api/widgets failed with status 500: Internal Server Error (FetchError: request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/288192888/ac2e6abe-4f27-445f-b8b3-cbd94aecd805?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231222T192506Z&X-Amz-Expires=300&X-Amz-Signature=beb423c82b36bb329fdf20427c75a100b44e5139cc6ac8a8bd3adb3e294903bf&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=288192888&response-content-disposition=attachment%3B%20filename%3Dmanifest.json&response-content-type=application%2Foctet-stream failed, reason: self-signed certificate in certificate chain), status=500, userError=FetchError: request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/288192888/ac2e6abe-4f27-445f-b8b3-cbd94aecd805?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231222%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231222T192506Z&X-Amz-Expires=300&X-Amz-Signature=beb423c82b36bb329fdf20427c75a100b44e5139cc6ac8a8bd3adb3e294903bf&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=288192888&response-content-disposition=attachment%3B%20filename%3Dmanifest.json&response-content-type=application%2Foctet-stream failed, reason: self-signed certificate in certificate chain, docId=tJzKzUqMs7m4cSk23jHNRC,
This is a common error for me. Locally, I use a custom certificate when installing things with npm/etc. I can add the cert into the docker container, but I'm not sure how to make it use the cert for this fetch.
Alternatively, I can download the file just fine directly. Can I download the manifest and put it in the container somewhere so it stops trying to reach out to github?
Thank you!