Websocket connection closed on startup
Hi i'm having trouble with the script on startup. Here is the log:
[INFO] Started AbletonOSC on address ('0.0.0.0', 11000) [WARNING] AbletonOSC: Non-fatal socket error: Traceback (most recent call last): File "C:\Users**\Documents\Ableton\User Library\Remote Scripts\AbletonOSC\abletonosc\osc_server.py", line 158, in process data, remote_addr = self._socket.recvfrom(65536) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Could it be that the following loop triggers some some safety that closes the connection? while True: #-------------------------------------------------------------------------------- # Loop until no more data is available. #-------------------------------------------------------------------------------- data, remote_addr = self._socket.recvfrom(65536) #-------------------------------------------------------------------------------- # Update the default reply address to the most recent client. Used when # sending (e.g) /live/song/beat messages and listen updates. # # This is slightly ugly and prevents registering listeners from different IPs. #-------------------------------------------------------------------------------- self._remote_addr = (remote_addr[0], OSC_RESPONSE_PORT) self.parse_bundle(data, remote_addr)
I'm only trying to get started with this script, and i'm still trying to understand how all of this comes together. Apologies if i'm missing something obvious.
Anyway thanks in advance for any help
Hi @Rewlio, I have seen this warning pop up on some Windows systems. However, this is only a warning, and does not mean that AbletonOSC has not started up properly. In Settings > Link, Tempo & MIDI, can you see the AbletonOSC option in the Control Surface column? If so, it has started up correctly and is ready to use.