You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> time doctl sls fn invoke sleep
Request accepted, but processing not completed yet.
All functions invocation >= 30s will get demoted to an asynchronous invocation. Use --no-wait flag to immediately return the activation id.
Use this command to view the results.
doctl sls activations result <nil>
real 0m11.501s
user 0m0.043s
sys 0m0.024s
Observe that the activation id is <nil> and the response was a function timeout (confirmed with activation list) after ~10s not 30s. The error message is misleading and the id is missing.
I believe what's happening is that the response isn't handled correctly (the API response is (via the http path):
{"error":"The action exceeded its time limits of 10000 milliseconds during initialization."}
with no activation id in this case since the response terminate in time.
Environment:
doctl version: doctl version 1.91.1-release (sls version 5.0.18)
OS: macOS
Installation method: download from github release
Additional Details:
The text was updated successfully, but these errors were encountered:
Describe the Issue:
Invoke a function that times out, e.g.:
Observe that the activation id is
<nil>
and the response was a function timeout (confirmed withactivation list
) after ~10s not 30s. The error message is misleading and the id is missing.I believe what's happening is that the response isn't handled correctly (the API response is (via the http path):
with no activation id in this case since the response terminate in time.
Environment:
Additional Details:
The text was updated successfully, but these errors were encountered: