Streaming Data Suddenly Stopped Working (Auth Timed Out)

So I have written a trading bot in python using websockets. And everything worked fine until today when I launched the program and I get the auth timed out message.

I have a paper trading account, using iex. I have the newest version of the alpaca markets and websocket-client pypi packages. I have also regenrated my api keys and reset internet connection if that plays any part.

I have tried connecting to the iex link and the crypto wss… link. Both resulting in the same error.

I’ve checked alpaca server status and everything is green. I am really clueless as to why my program suddenly stopped working.

So any help greatly appreciated.