Hello,
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: 172.19.0.3, server: , request: "GET / HTTP/1.0", host: "relayer-bsc.sovryn.app"
or
2021/12/20 14:49:25 [error] 7#7: *12 connect() failed (113: No route to host) while connecting to upstream, client: 172.19.0.3, server: , request: "GET /gsn1/getaddr HTTP/1.0", upstream: "http://172.19.0.2:80/getaddr"
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