Using Tunnel for JSON RPC calls

Trying to make remote JSON RPC calls to my server, ideally want to use a Tunnel for this. When making a call tho, I get this error:

Deserialization Error: invalid type: integer `502`, expected a valid jsonrpc 2.0 response object at line 1 column 3. Response: 502 Bad Gateway
Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared

Is this likely to be an issue with my server?

I’m using brackets around my ipv6 address.

Bad gateway means that cloudflared was unable to reach your end service. I would check the cloudflared logs of the tunnel to see if there are more error messages there.

1 Like