Does LWA work with websockets? #586
Unanswered
BrnGuenther
asked this question in
Q&A
Replies: 1 comment
-
No, LWA does not support WebSockets. Only http/1.0 and http/1.1 are supported. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So, I tried to deploy a simple example I found in the FastAPI documentation, in the WebSockets section.
With Uvicorn running, I can access my HTML page without any problem by directly using the Lambda Function URL. However, I can't access the WebSocket endpoint. I started wondering if LWA only supports HTTP/HTTPS connections.
Beta Was this translation helpful? Give feedback.
All reactions