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
The code assumes that nextInvocation is never null and contains the requestId. But there are certain sceranios where the nextInvocation is null. One of them is when the HTTP request inside the _client.getInvocation function throws an HttpException: Connection closed before full header was received exception.
The error is reproducible and happens on multiple & regular occasions. When it happens, the requestId is being called on null and throws a process exception and never ends the request. But it could be easily solved by checking whether the nextInvocation is null or not.
The runtime's
invoke
function contains an exception catcher while getting the next invocation from AWS API. It goes like this,The code assumes that
nextInvocation
is never null and contains therequestId
. But there are certain sceranios where thenextInvocation
is null. One of them is when the HTTP request inside the_client.getInvocation
function throws anHttpException: Connection closed before full header was received
exception.The error is reproducible and happens on multiple & regular occasions. When it happens, the
requestId
is being called on null and throws a process exception and never ends the request. But it could be easily solved by checking whether thenextInvocation
is null or not.I'll submit a PR.
The text was updated successfully, but these errors were encountered: