Relayer issue: bad gateway


I ran a relayer according to the tutorial in the docs. Unfortunately when I check https://my-domain/gsn1/getaddr I get a 502 bad gataway.

I checked the logs of the opengsn/prefixrouter container and everything is okay.

Does someone know where that could come from ?

Thanks !

1 Like

The prefixrouter logs now returns this error:

2021/12/20 14:40:19 [error] 7#7: *1 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client:, server: , request: "GET / HTTP/1.0", host: ""


2021/12/20 14:49:25 [error] 7#7: *12 connect() failed (113: No route to host) while connecting to upstream, client:, server: , request: "GET /gsn1/getaddr HTTP/1.0", upstream: ""

Also the jsrelay logs return this one:

Using config file /app/config/gsn-relay-config.json
unable to read config file "/app/config/gsn-relay-config.json"

I guess the /app folder is in the container ?

docker restart router did the trick for me