Is there a cache?

jared-leddy
HOBBY

a year ago

We have an API that is deployed with Railway. The API includes a WP instance for content. The name servers for this WP instance's subdomain were updated. While propagation typically can take up to 3 days, ours run super fast. For nearly 12 hours now, our API does not register that the DNS updates were made, and continue to crash saying the subdomain can't be found.

In localhost, everything is working as expected, but when deployed it doesn't work. So, the only thing that makes sense is that there is a cache somewhere.

0 Replies

a year ago

a cache in what sense? http requests? build? what? I'm sorry but you weren't very clear in explaining what exactly the issue is.


jared-leddy
HOBBY

a year ago

The issue is that this 1 subdomain is throwing errors in the logs, and no where else. And subsequently, our services using the API have crashed.


a year ago

what errors?


jared-leddy
HOBBY

a year ago

[Nest] 25  - 05/07/2024, 2:15:05 AM   ERROR [ExceptionsHandler] getaddrinfo ENOTFOUND content.domain.com
Error: getaddrinfo ENOTFOUND content.domain.com
at Function.AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:836:14)
at RedirectableRequest.handleRequestError (/app/node_modules/axios/dist/node/axios.cjs:3010:25)
at RedirectableRequest.emit (node:events:513:28)
at ClientRequest.eventHandlers. (/app/node_modules/follow-redirects/index.js:14:24)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

a year ago

I really don't think you own domain.com


jared-leddy
HOBBY

a year ago

LoL! No. That was sanitized.


a year ago

I'm sorry but it's not helping


a year ago

help me, help you


jared-leddy
HOBBY

a year ago

What do you need?


a year ago

the error, without unnecessary sanitation


jared-leddy
HOBBY

a year ago

[Nest] 25  - 05/07/2024, 2:15:05 AM   ERROR [ExceptionsHandler] getaddrinfo ENOTFOUND content.veterandb.com
Error: getaddrinfo ENOTFOUND content.veterandb.com
at Function.AxiosError.from (/app/node_modules/axios/dist/node/axios.cjs:836:14)
at RedirectableRequest.handleRequestError (/app/node_modules/axios/dist/node/axios.cjs:3010:25)
at RedirectableRequest.emit (node:events:513:28)
at ClientRequest.eventHandlers. (/app/node_modules/follow-redirects/index.js:14:24)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:494:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

a year ago

is that the correct domain?


jared-leddy
HOBBY

a year ago

Yes


a year ago

where is it hosted?


jared-leddy
HOBBY

a year ago

That subdomain is hosted with Flywheel.


a year ago

dns lookup works fine -


jared-leddy
HOBBY

a year ago

I know.


jared-leddy
HOBBY

a year ago

DNS looks good. API works fine locally. All the other apps that rely on this API work fine locally too.

Only this railway instance has a problem with it. And it's only been a problem since the DNS was changed.


jared-leddy
HOBBY

a year ago

We redeployed the API about an hour and a half ago as well. Didn't make a difference.


a year ago

it's only been a problem since the DNS was changed
please provide more context


jared-leddy
HOBBY

a year ago

All of the DNS records were in a cPanel. We had to move them back to the registrar. That change took place earlier today.


a year ago

dns lookup from google directly also works fine

1237230454554493000


a year ago

this would not be a platform issue


jared-leddy
HOBBY

a year ago

Ok.


jared-leddy
HOBBY

a year ago

Of course it just started working again. 🤦‍♂️


Is there a cache? - Railway Help Station