louy / terraform-provider-uptimerobot

A terraform provider for UptimeRobot
Mozilla Public License 2.0
123 stars 85 forks source link

Net/http: TLS handshake timeout #68

Open djakielski opened 4 years ago

djakielski commented 4 years ago

Most of the time, i got a few error messages with TLS handshake timeout like this

Error: Post https://api.uptimerobot.com/v2/getMonitors: net/http: TLS handshake timeout
Error: Post https://api.uptimerobot.com/v2/getPSPs: net/http: TLS handshake timeout
Error: Post https://api.uptimerobot.com/v2/getMonitors: net/http: TLS handshake timeout
Error: Post https://api.uptimerobot.com/v2/getMonitors: net/http: TLS handshake timeout
Error: dial tcp :0: connect: can't assign requested address
Error: Post https://api.uptimerobot.com/v2/getAlertContacts: net/http: TLS handshake timeout

Some time it works correcty. But most of the time it dosen't. When i try to call a request against the api, i got successfull responses.

My environment:

Do you have any idea, why this could happend?

drubin commented 4 years ago

Error: dial tcp :0: connect: can't assign requested address this seems like a DNS issue.

Does this happen all the time or only sometimes?

djakielski commented 4 years ago

It does most of the time. I also thought to dns, but when i tried it with curl, i got an response.

Maybe to much api request on the same time?

drubin commented 4 years ago

we are using it pretty extensively and we don't come up with this error, maybe its related to ipv6?

djakielski commented 4 years ago

Same code, same remote state, execute on windows 10 works very well. I try get more information with the debug mode, but the only message i got was

Post https://api.uptimerobot.com/v2/getAlertContacts: net/http: TLS handshake timeout

louy commented 4 years ago

Seems like an issue with your network from the looks of it. Has it been resolved?

If not, can you try running a curl against the same url a few times and see if you get the same error?

zackkrida commented 1 year ago

Also seeing this problem intermittently 😢