Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Are there restrictions for using websockets in HTML Games?

A topic by Xascoria created Aug 25, 2023 Views: 203
Viewing posts 1 to 1
(+1)

Hello everyone, I'm trying to connect my HTML exported game to a websocket server (that is exposed through ngrok), and I'm getting errors on all 3 browsers I've tried (Firefox, Chrome, Edge)

Example of the error (though all 3 browsers had different errors, all of which state no failure reasons)

Firefox can’t establish a connection to the server at wss://abc123.ngrok-free.app/

When I run the game natively on Windows it successfully connects to the server, any idea what I could potentially be missing?

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.