I created a job on the schedule so that every 15 minutes it runs Python code (Clound Functions). The code is 1st generation. But:
{
"insertId": "gxivphf9shres",
"jsonPayload": {
"url": "https://southamerica-east1-custom-curve-425318-j5.cloudfunctions.net/automacao",
"status": "INTERNAL",
"@type": "type.googleapis.com/google.cloud.scheduler.logging.AttemptFinished",
"debugInfo": "URL_UNREACHABLE-UNREACHABLE_5xx",
"targetType": "HTTP",
"jobName": "projects/custom-curve-425318-j5/locations/southamerica-east1/jobs/automacao"
},
"httpRequest": {
"status": 500
},
"resource": {
"type": "cloud_scheduler_job",
"labels": {
"project_id": "custom-curve-425318-j5",
"location": "southamerica-east1",
"job_id": "automacao"
}
},
"timestamp": "2024-06-05T18:30:00.629594676Z",
"severity": "ERROR",
"logName": "projects/custom-curve-425318-j5/logs/cloudscheduler.googleapis.com%2Fexecutions",
"receiveTimestamp": "2024-06-05T18:30:00.629594676Z"
}
Hello ,
Welcome to Google Cloud Community!
The error "debugInfo": "URL_UNREACHABLE-UNREACHABLE_5xx" generally indicates that the Cloud function URL might not be reachable or accessible. You may try to check a few things at your end to resolve this issue.You may try the following:
The severity=ERROR ( Response code: 500) as seen in your logs also indicate that the function intrinsically cannot manage the rate of traffic it is serving.
The following public documentation may also be helpful with troubleshooting such errors. Let us know if you have any difficulty going through the steps suggested.
Hi, I'm having the same issue, every minute scheduler everything works great, few times a day getting this error, for no apparent reason. Did you ever solve this?
Yes we also see this on a cron that runs every minute every couple of days or so "URL_UNREACHABLE-UNREACHABLE_CONNECTION_RESET. Original HTTP response code number = 0" it's a slightly different error message though, not a 500
Exactly the same situation as you even though I have both URL_UNREACHABLE-UNREACHABLE_CONNECTION_RESET and URL_UNREACHABLE-UNREACHABLE_5xx
Did you ever manage to solve this ?