hello people so i recently moved my app from aws to digitalocean to reduce cost and make things simple, but after shifting i am facing some weird issues. app was working fine before but now some api calls are timing out randomly and webhooks from my payment provider (https://dodopayments.com/) sometimes not coming or delayed.
also sometimes outbound requests failing without proper error and ssl also feels bit slow or handshake delay kind of thing. using nginx + node + pm2 same as before, nothing much changed in code.
i already checked firewall, ports, basic configs everything looks okay but still these issues happening. not sure if its network issue or region or something missing from aws side setup.
anyone faced similar thing or know what to check?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya, @3775ce71211c40508f8e766a810eab
First thing I’d check is clock sync - SSL handshake weirdness and random timeouts are often just NTP being off on a fresh Droplet. Quick timedatectl will tell you.
DNS is another one - AWS has really snappy internal resolvers and a bare Droplet doesn’t, so if your app is doing a lot of outbound DNS lookups it can feel slow in weird places. dig dodopayments.com a few times and see if resolution time looks off.
For the webhooks specifically - dodopayments might be getting blocked somewhere. Check your DO cloud firewall and any ufw rules, sometimes after a migration the inbound rules are tighter than you realize and webhook requests just get silently dropped. If they publish source IPs for their webhooks I’d make sure those are explicitly allowed.
Also worth checking what region you’re on vs where you were on AWS. If you moved regions your latency to dodopayments’ infrastructure might just be higher now which can cause timeouts and delays without anything actually being “broken”.
Nginx proxy timeouts are worth a look too if none of the above pans out - proxy_read_timeout and proxy_connect_timeout sometimes need adjusting when you move infra.
Also which region did you land on?
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.