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!

1 réponse
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
EXPERT
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions