Eric
Setup Super User for GlitchTip backend in Railway
I finally got to doing this. For more detail on how to do it, see https://github.com/ThallesP/glitchtip-railway/issues/1
10 replies
DNS Error when using Fetch API only in Railway
It seems like this works. You might be able to get away with just using dns.setServers(['1.1.1.1']) and the using fetch. I couldn't find a whole ton of documentation on that.
I ended up just ended up writing this request.ts file. Timeout is probably optional as well, but I wanted to make sure so I left it in.
Then I call it like this
Thanks for your help @Brody dns timeouts are fixed and its way faster after setting the servers
15 replies
DNS Error when using Fetch API only in Railway
Oh, that is awesome. Thank you.
I was just about to test my solution. Didn't know that 1.1.1.1 was faster. I had to switch from fetch to to the https node library so that I could pass in a lookup function. Then I juse used a resolver with a large timeout there.
I'm also going to make sure that the resolver uses 1.1.1.1 as the dns server so its faster. Going to post code and mark as solved if this works
15 replies