WebSocket API gateway connection issue

0

We are working on the ASP.Net core API application. In this application, we have a SignalR module for notification. We plan to host the application in the AWS environment. We have used AWS lambda service to host the API, we plan to use a Web Socket API to consume the notification/SignalR part.

We are facing an issue with connecting the notification URL. When we tried to connect the Web socket URL from Commandline using Node, it is showing "Unexpected server response 403".

When we tried to consume the URL from the frontend application, it showed the below error. "WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled. ."

We are stuck with this issue. Any help to resolve this issue would be appreciable.

1回答
0

I have tried API Gateway socket here GitHub and also record a video. Hope it can helps.

hai
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ