Connection lost azure webpubsub socketio / nodejs
After some inactivity (e.g. computer goes into sleep modus) the connection to azure socket io hub gets lost. My express server functions normally so http requests are served but clients can't connect to the hub anymore as they get the message there is no…
Any sample code in C/C++ to Publish and Subscribe to Azure Web PubSub?
I am looking for sample C/C++ code to Publish and Subscribe to Azure Web PubSub. Specifically, I want to send data from a microcontroller programmed in C/C++ to a server with Azure Web PubSub. Are there any resources available that could help me achieve…
Initiate a websocket connection when running Azure function
I have a requirement where i want to notify users if a process is completed or not. I want to use Azure function that initiates a websocket connection but it is not working as expected. Can anyone please help me in this scenario. SIgnal R and pubsub…
How to fix CORS issue
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.eveda.com.au/VerifyBusinessName?BusinessName=eveda. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 400.
user authentication for web pubsub
Azure Web App has authentication of users under settings as a means of app access without effecting code. Where is this in Web pubsub? Also, there is no publish profile under Web pubsub, so how is publishing done from Visual Studio?
How to add custom certificate in Azure Web PubSub for adding custom domain?
I am trying to add custom certificate to my Azure Web PubSub for creating custom domain. However, I am getting the error: "The operation "List" is not enabled in this Key Vault's policy". I have enabled both GET and LIST permission on…
I have been stuck on Could not build wheels for pycairo, for a week now on Azure Web services
I am getting an error that has been hard to solve with packages , pip-cache/wheels/63/be/8a/04843287552b727babbb0e6de7d646d0e0728536f4a5f7ca1c\n[08:32:01+0000] Successfully built django-tenants PyPika svglib\n[08:32:01+0000] Failed to build…
Why does the Connection close after the message has been sent?
I have written code in Python to send a response to the client after receiving a message. But I get the following error. import asyncio import sys import websockets from azure.messaging.webpubsubservice import WebPubSubServiceClient async def…
How to communicate with Websockets in Azure.
Which services are appropriate for Websocket communication in Azure? From the documentation, we are aware that there are two services that support Websocket communication, Web PubSub and Application Gateway. Azure API Management only provides a…
What does the 'Failed to send message: Upstream invocation error: Error while copying content to a stream..' error message mean in Azure Pubsub live trace?
After working without issue for a few months, we are now receiving the following error messages on all messages in the azure PubSub live trace tool. Failed to send message: Send event to event handler failed... Failed to send message: Upstream invocation…
How to generate token for Azure Web Pub Sub service REST call?
I would like to use the Azure Web PubSub Service REST call to send a message to a websocket. [https://learn.microsoft.com/en-us/rest/api/webpubsub/dataplane/web-pub-sub/send-to-group][1] POST…
Do I Need Azure Event Hubs for Azure Web PubSub with Socket.io?
I'm working on integrating Azure Web PubSub with Socket.io for real-time communication in my Node.js application. My question is, do I need to create Azure Event Hubs in my Azure configuration to use Azure Web PubSub with Socket.io in this way? What is…
webPubSubTrigger Disconnected doesn't trigger Azure function
An Azure function is started when the webPubSubTrigger "Disconnected" triggers. This does work when Clients disconnect by using webSocket.Abort(). It does not trigger when using the below within an Azure…
Azure Web PubSub trigger for Azure Functions in JAVA
Hello, I am searching information if Azure Web PubSub supports trigger for Azure Functions in JAVA. Question1: Is this configuration is supported? We have a Web PubSub and Azure Function in JAVA and trying to configure the Web PubSub service Event…
Error while Configuring Socket.io on Microsoft Azure: 400 Bad Request
I'm working on a Node.js application that uses Socket.io for real-time communication and deploying it on Microsoft Azure. However, I'm encountering an error that I can't seem to resolve. Here's my detailed code Client-side code: import { io } from…
Azure WebPubSub 404 Error
Hi, i connected my WebPubSub with locally running Azure Functions. My Validation Function is reached via Http Trigger. I want to run this function when a new message appears [Function("message")] [WebPubSubOutput(Hub =…
Does Azure Web PubSub with Socket.IO service support HTTP polling as fallback?
In case websocket fails, is there a guarantee that fallback to HTTP polling will work if the socket.io client tries to connect to 'Azure Web PubSub with Socket.IO' service?
How to solve AbuseProtectionResponseFailed in Azure Web PubSub - server protocol - event handler?
I am trying to configure my Server (hosted by Azure AKS and proxied by API management service, using Azure-AD Oauth-Flow authentication) to receive cloud events like "connected" and "disconnected" by Azure Web PubSub. Either if I…
JS Client Azure Web PubSub - Messages are getting send after delay of 80-85seconds
I am using the Pub-Sub service to send/receive messages between client and server. using JS version on client as well as server Client "@azure/web-pubsub-client": "^1.0.0-beta.3", Server "@azure/web-pubsub":…
Azure Function coded as a PubSub listener works for about 5 minutes, but then seems to go unconscious after 10
I have a static web app which creates a record and sends it to a Azure Function (http triger) which takes the message, and sends it on to my Azure PubSub instance. I have another function (ListenAndWrite), the one with the problem, that is subscribed to…