Hi,
I’m trying to get a feed over web socket with JavaScript in anvil and I have some issues getting a feed to work ok, is it any one else who has done this or is this not a feasible way with anvil
I built a simple Fast Api with uvicorn and gunicorn running on my external server, so https is there, and I am able to get connected. But there is something wrong I can’t get my head around. So I thought I’ll just ask, if there is other things than wss that I don’t know about, before I go deeper into this rabbit hole.
Here is my simple java snippet that I call with anvil.js for this test.
function startWebSocket(start_utctime) {
const ws = new WebSocket(`wss://john.doe.co/ws?start_utctime=${start_utctime}`);
Kind Regards
Per