jup-ag / jupiter-swap-api

The jupiter swap api binary
72 stars 20 forks source link

Jupiter swap fails DNS resolution #32

Closed Lusitaniae closed 1 month ago

Lusitaniae commented 1 month ago

Run it like

./jupiter-swap-api --rpc-url https://<endpoint> --yellowstone-grpc-endpoint https://<endpoint>/ --yellowstone-grpc-x-token <token>

Get error like

Caused by:
    0: error sending request for url (https://<endpoint>): error trying to connect: dns error: failed to lookup address information: nodename nor servnam
e provided, or not known
    1: error trying to connect: dns error: failed to lookup address information: nodename nor servname provided, or not known

Although running dig locally correctly returns the appropriate IP address in response to the provided hostname

siong1987 commented 1 month ago

this is usually something to do with your DNS.