a year ago
hi there, i am trying to access a document hosted on one backend service by another backend service. during startup, i have backend service a reach out to backend service b and it is able to get the document. i am using the pattern: http://${{service-b.RAILWAY_PRIVATE_DOMAIN}}:${{service-b.PORT}} and service b is bound to ::8080 so i would think it should be pretty straightforward. anything i am missing here?
21 Replies
i should also note that this step writes files to disk to be referenced in the actual business logic. wondering if there could be something there as well?
a year ago
what issues are you running into?
i am loading a graphql schema, and am getting the following error: Failed to load schema from http://fulfilling-joy.railway.internal:8080
http://${{random-indexer-graphql.RAILWAY_PRIVATE_DOMAIN}}:${{random-indexer-graphql.PORT}}is there something i can run to verify that service-a can access serivce b? i would think that they should be able to. i just don't know how to test it
a year ago
service-a can access service-b, there is just a config error somewhere on your part
a year ago
can you get a better error message than "Failed to load schema"
for now, this is all i have: ```
ConnectionRefused: Unable to connect. Is the computer able to access the url?
path: "http://fulfilling-joy.railway.internal:8080/";
```
a year ago
well thats not super helpfull
a year ago
is service-b listening on Ipv6?
trying to find the exact lines in the underlying 2 libs, but yes, it should be using ::
a year ago
are you getting that error during build or runtime?
a year ago
are you sure you are listening on port 8080?
a year ago
then please confirm it is listening on ipv6, since railways private network is ipv6 only
my inputs seem to be as such. how does one go about confirming? what command can i run?
a year ago
this would be something you need to confirm in your code
