Have you enabled the Websockets in the configuration?
Web Sockets are now supported for Linux apps on Free App Service plans. We support up to five web socket connections on Free App Service plans.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I'm working on a project in Unity that is trying to connect to an Azure Web App (through the WebSocketSharp library), hosting a Node.js WebSocket server that my clients can connect to. I went with Web App because there's a Linux free tier that seemed to do everything I needed. I've tested the Node.js program on my localhost and it works fine, and deployed it to the Web App with the necessary ws plugin. However, every time I try and connect to the address through my Unity project, the Azure Web App does indeed acknowledge the request in the monitoring log, but I receive the 1015 error - which, if I'm not mistaken (I'm a massive newbie) indicates an SSL error. But SSL authentication doesn't seem to be an option in the free tier of Web Apps, and switching my WebSocket address from "wss://" to "ws://" doesn't even attempt to register a connection to the server. I've also tried configuring an Azure Front Door frontend to manage the inbound connections, which correctly displays the server code output when opened in a web browser, but still returns 1015 in Unity.
Can anyone help? Thanks!
Have you enabled the Websockets in the configuration?
Web Sockets are now supported for Linux apps on Free App Service plans. We support up to five web socket connections on Free App Service plans.