cURL error 6: Could not resolve host – Intermittent - guzzle

we've been using Laravel / Guzzle to handle all our jobs for over a year but over the past couple of weeks we've seen a complete failure down to 2 errors:
cURL error 6: Could not resolve host
cURL error 6: getaddrinfo() thread failed to start
Our jobs run on the hour and every job fails with the same error, once it starts it will continue to fail all jobs.
Restarting the server fix the issue for a few days but it's just come back.
Anything to check first? Pretty puzzled.

Related

Rundeck job returns curl: (52) Empty reply from server

Rundeck job returns "curl: (52) Empty reply from server" if the jobs takes 2 minutes or more.
Also part of the error "SSH command execution error: NonZeroResultCode: Remote command failed with exit status 52"
We have a rundeck job (curl cmd) that executes on a Linux 7 server that for the majority of the time returns a "success" for the completion of the job.
However sometimes it will return "failed" if the job runs 2 minutes or more.
A value for "5m" has been added to the job "Timeout" on the configuration.
The job actually is successful but rundeck still returns the "failed" status.
When comparing the successful against failed logs I notice some extra steps in the failed log which pushes it past the 2 minutes time.
Any ideas why the failed status as mentioned above?
Thanks,
Ken
It's a problem with your curl command against the web server, usually happens when you call using HTTP against an HTTPS based service. take a look at this. Another possibility is a network problem.

TLS/SSL error in between of web service checks

I have a powershell script to check a webserver page availability and task runs for every 5mins.
But I am getting TLS/SSL request is aborted error for every 3-4 hour once.
I have used the below one in my code and it's works fine.
[Net.ServicePointManager]::SecurityProtocol =[Net.SecurityProtocolType]::Tls12
I had setup timeout secs(100) for invoking my web request but it doesn't seem to work this way.
Someone can help me why it's giving TLS/SSL errors all of a sudden? And how to fix this?
This is an interesting issue. It could be many issues:
This could be an issue with the server; Perhaps the server is dropping requests or has some internal handling issues.
The request may be timing out before it has a chance to receive a response.
There could be network errors unrelated to your script or the target server.
I wrap your web request method in a try-catch, if it catches than it tries again, up to a certain specified amount of times. If this does not fix it, there is a chance that the problem lies with the server and not your script.

Google App Deploy Operation timed out error

I had deployed my application on the google cloud successfully, tested it and it is running fine.
Now I wanted to push some changes to the code so I tried to push my revised code and used the command: gcloud app deploy to deploy my updated codebase. However I am getting the following error:
Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Operation
[apps/*******/*******/d756b4f7-d9a8-48c8-b6dc-1d87889a18bf] timed out.
This operation may still be underway.
Earlier I was getting the error health check timeout, so I increased the accepted time out time to be max, 3600 after which I am getting the above mentioned error.

Problems with Frapi-Framework

I'm trying to set up Frapi on an Debian 9.1 Server.
Not every step from "http://frapi.github.io/installing/" did work.
Since days getting only this answer:
"Internal Server Error The server encountered an internal error or
misconfiguration and was unable to complete your request. Please
contact the server administrator at admin#api.frapi to inform them of
the time this error occurred, and the actions you performed just
before this error. More information about this error may be available
in the server error log.
Apache/2.4.25 (Debian) Server at 141.28.11.40 Port 80"
Someone worked already with this Framework and can tell me where I did wrong?

Unable to connect to update server when installing

I downloaded the installer and run it, but I get a message telling me to check my internet connection. My connection works fine, but I suspect there might be a proxy problem. Does anybody know how to remedy this?
I had this issue, but today when I started the installer (the same installer I downloaded two days ago) and there was no error message. I think the problem was caused by the smarface.io server(s).
Thus, when you get this error message while installing smartface:
"Unable to connect to update server. Please check you internet connection and try again. #1"
Just wait for a day or two and start the installer again. The error message will disappear!
I have a code improvement suggestion for smartface.io:
I hope the error message never occurs in the future, but if it does you should correct the spelling: the word "you" in the error message is incorrect. It should be "your".