AWS WebSocket and Lambda Authorizer issue

0

I am trying AWS WebSocket API and Lambda authorizer, I configured the authorizer for the connect route already which is triggered for connect too. However, in AWS console for the Lambda authorizer, I saw this error in its trigger(API Gateway) config: "The API with ID 7rypk365yl doesn’t include a route with path /* having an integration arn:aws:lambda:us-east-1:370783930566:function:apigwLambdaAuthorizer."

For WebSocket API, I only need config the Lambda authorizer for the connect route? Above error feel like applies to REST/HTTP API only? Have I mixed up API Gateway v1 and v2 in some way? I did refer to some examples for REST/HTTP or the WebSocket document refers to REST one for common part.

Thanks in advance!

preguntada hace 7 meses205 visualizaciones
1 Respuesta
0

This comment won’t solve your issue, but as per my experience, setting up web socket with an API GW is painful and too “brittle”.

Another option for websockets (used also in serverlesscoffee implementation) is IOTCore: https://oliverdunk.com/2022/06/04/aws-iot-core

profile picture
EXPERTO
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas