In the last couple of weeks there we have been observing an increase in errors during a function cold start.
When we call a correctly deployed GCP function (Node10 runtime, europe-west3) which is publicly available (allUsers granted Invoke Cloud Function permission).
The request returns the following:
https://project-id.cloudfunctions.net/http-triggered-functions 500
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
It seems like this issue has a smaller probability in the evenings (region: europe-west3). It also seems that this issue has a bigger probability on projects with small amount of function calls.
This behaviour is not covered by documentation.
The GCP logging does not show any line related to that incident.