Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ok, digging into this, I found out why my server was getting random TIMEOUT when talking to the WordPress API, or any API for that matter.

    My DNS server, for reasons I do not know, decided to stop answering DNS lookups, and so every time a request from php was occurring, it went through a timeout trying to lookup the target host, before falling back to the secondary. (Default is 3 seconds in WordPress)

    This aded enough for to make MOST requests time out.

    Be warned. Check your DNS lookups if you have random timeouts hitting APIs. It may also indicate a longer timeout, over 3 seconds should be in use.

    I also have this problem. The strange thing is that it only happens on my server for a specific website. I have numerous self-hosted WordPress websites, and they are all fine.

    I also tried dropping back to a default theme. didn’t help.

    I have few plugins enabled. I wouldn’t expect them to cause any issues.

    Is there a way to log all the curl/requests happening? Whats the best way to debug this issue?

    (I am a reasonable newbiee, I code a bit, but never wordpress/php. Only enough to hack a plugin I use on my website.)

Viewing 2 replies - 1 through 2 (of 2 total)