MartinBspheroid / Carmine

Ableton remote script to load your devices via clip triggers
8 stars 1 forks source link

WebSocketServer works only intermittently #3

Open mark-zarandi opened 2 years ago

mark-zarandi commented 2 years ago

This websocket server only loads up intermittently. At first it worked fine, now it only works on rare occassions after clearing the browser cache and restarting the computer. Any ideas?

MartinBspheroid commented 2 years ago

Not sure honestly. Which browser are you using?

mark-zarandi commented 2 years ago

I tried it in Chrome and Firefox. I started going into the Ableton logs though and the websocket server kept returning address already in use. Started the computer over and over again. I finally just removed the websocket server entirely and setup webhooks. If there was some websocket server that was already on port 8000, the live interpreter didn't give me access to kill the process. I think I'm good now unless you have an idea about best practices. The Carmine object is flawless, real educational. I've added in a current_song_time listener and a flask server.