Skip to content

AWS Lambda integration - Improve error message & allow for port change #5412

@t-h-man

Description

@t-h-man

Problem Statement

Currently our lambda integration is running on port 8000. If there is an another service running on that port, the user will see ERROR: bind to interface failed caused by: Address already in use (os error 98)

a) we should improve the error message to make it more informative
b) we can consider allowing port switch to avoid the above issue

Solution Brainstorm

Posssible solution:
a) start relay on an obscure port.
b) start by default on 8000, but make it configurable via env variable (needs changes in sdk and relay, can be complicated to work on all different js frameworks.

So better go with a)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions