unexpected errors that abort/kill action
tripodsan opened this issue · 2 comments
tripodsan commented
from the logs:
{"level":"error",
"ow":{
"activationId":"26fabd23482a4acfbabd23482a4acfab",
"actionName":"/helix/helix-services-private/dispatch@3.0.4",
"transactionId":"Q5O7y82ufKQeOjM6hRHJ87xRDga1aWEH"},
"message":"POST https://runtime.adobe.io/api/v1/namespaces/helix-pages/actions/08c7b7b4de6bcd21fb950e4f16d1257fa3500928/hlx--static?blocking=true Returned HTTP 502 (Bad Gateway) --> \"The action did not produce a valid response and exited unexpectedly.\"","
timestamp":"2020-01-19T22:12:39.573248309Z"}
wsk activation get "90937576109e4312937576109ec31261"
ok: got activation 90937576109e4312937576109ec31261
{
"namespace": "helix-pages",
"name": "static@1.5.42",
"version": "0.0.1",
"subject": "helix-pages",
"activationId": "90937576109e4312937576109ec31261",
"cause": "f3644ac3b1d14f32a44ac3b1d16f328d",
"start": 1579471850119,
"end": 1579471851723,
"duration": 1604,
"statusCode": 0,
"response": {
"status": "action developer error",
"statusCode": 0,
"success": false,
"result": {
"error": "The action did not produce a valid response and exited unexpectedly."
}
},
"logs": [],
"annotations": [
{
"key": "causedBy",
"value": "sequence"
},
{
"key": "path",
"value": "helix/helix-services-private/static@1.5.42"
},
{
"key": "kind",
"value": "nodejs:10"
},
{
"key": "timeout",
"value": false
},
{
"key": "limits",
"value": {
"concurrency": 200,
"logs": 10,
"memory": 256,
"timeout": 60000
}
}
],
"publish": false
}
$ wsk activation logs "90937576109e4312937576109ec31261"
2020-01-19T22:10:50.328Z stderr: instrumenting epsagon.
2020-01-19T22:10:50.333Z stderr: deliverStatic with adobe/helix-pages/21299f6930cc5c1dab371adb7cc40f53ed8f77eb path=/404.html file=/404.html allow=undefined deny=undefined root=/htdocs esi=false
2020-01-19T22:10:50.334Z stderr: deliverPlain: url=https://raw.githubusercontent.com/adobe/helix-pages/21299f6930cc5c1dab371adb7cc40f53ed8f77eb/htdocs/404.html
tripodsan commented
tripodsan commented
the action is probably killed due to a OOME, most likely caused by the epsagon client. see #158 (comment)
closing this for now, continue in #158