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
error: external extensibility: router request stage error: error reading a body from connection: error reading a body from connection: error reading a body from connection: error reading a body from connection: end of file before message length reached
I spent some hours to figure it out that the issue was not related the my coprocessor.
To Reproduce
Setup Router + Coprocessor for router request.
Submit request without body but the Content-Length
See external extensibility error and others.
Expected behavior
Validate the request before and send correct log.
The text was updated successfully, but these errors were encountered:
Describe the bug
When body length is less than the 'Content-Length' header instead of ignoring or correctly log the request, router throws an exception on https://github.com/apollographql/router/blob/dev/apollo-router/src/services/router/body.rs#L92, logging the misleading message:
I spent some hours to figure it out that the issue was not related the my coprocessor.
To Reproduce
Expected behavior
Validate the request before and send correct log.
The text was updated successfully, but these errors were encountered: