o1-labs / zkapp-cli

CLI to create a zkApp (zero-knowledge app) for Mina Protocol
https://docs.minaprotocol.com/zkapps/how-to-write-a-zkapp
Apache License 2.0
115 stars 44 forks source link

Fix errors passing back by Nginx reverse proxy from Mina's GraphQL endpoint #546

Closed shimkiv closed 8 months ago

shimkiv commented 10 months ago
2023-12-20 17:40:45 2023/12/20 15:40:45 [error] 151#151: *629 open() "/usr/share/nginx/html/50x.html" failed (2: No such file or directory), client: 192.168.65.1, server: localhost, request: "POST /graphql HTTP/1.1", upstream: "http://127.0.0.1:3085/graphql", host: "localhost:8080", referrer: "http://localhost:9042/"

For whatever reason Nginx is trying to render the HTTP 500 received from Graphql on problematic response in HTML format instead of just throwing response back.

shimkiv commented 10 months ago

Issue itself is on Daemon's end (empty response): https://github.com/MinaProtocol/mina/issues/14751 But we also need to adjust the Nginx reverse proxy configuration for the lightnet Docker images after the protocol issue resolution.

shimkiv commented 10 months ago

Check with:

shimkiv commented 8 months ago

It was already fixed on lightnet side.

shimkiv commented 8 months ago

Closing for now since the issue is on the protocol side.