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
{{ message }}
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
The bugsnag middlewares should work with serverless-http that is a middleware wrapper for serverless use (AWS Lambda), compatible with express / connect middlewares.
Hi @jguepin, thanks for the report. I'll get this looked into – I'm sure the workaround on our part is pretty simple.
Do you think this it's also worth posting a bug on dougmoscrop/serverless-http? I would imagine a fair amount of people/middleware for connect/express are using req.connection.address() in some way. It looks like it stubs a socketobject here to pass to the HTTP IncomingMessage class which is incomplete…
I guess the inbound TCP connection is not available to a Lambda function, but is there something else useful we could snag here?
Expected behavior
The bugsnag middlewares should work with
serverless-http
that is a middleware wrapper for serverless use (AWS Lambda), compatible withexpress
/connect
middlewares.Observed behavior
Every request returns an error:
Steps to reproduce
Setup a simple
serverless-http
service on AWS Lambda:Version
serverless-http
1.5.2bugsnag
2.1.2The text was updated successfully, but these errors were encountered: