AngellusMortis / sxm-client

Python library designed to help write applications for the popular XM Radio service.
MIT License
25 stars 11 forks source link

Authentication broken? #4

Open asingletary opened 2 years ago

asingletary commented 2 years ago

Authentication seems to be broken?

ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:An Exception occurred when trying to perform the POST request! ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Params: {'moduleList': {'modules': [{'moduleRequest': {'resultTemplate': 'web', 'deviceInfo': {'osVersion': 'Windows', 'platform': 'Web', 'sxmAppVersion': '5.36.514', 'browser': 'Firefox', 'browserVersion': '89.0', 'appRegion': 'US', 'deviceModel': 'EverestWebClient', 'clientDeviceId': 'null', 'player': 'html5', 'clientDeviceType': 'web'}, 'standardAuth': {'username': 'XXX', 'password': 'XXX'}}}]}} ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Method: POST ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Request: <Request('POST', 'https://player.siriusxm.com/rest/v2/experience/modules/modify/authentication')> ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:An Exception occurred when trying to perform the POST request! ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Params: {'moduleList': {'modules': [{'moduleRequest': {'resultTemplate': 'web', 'deviceInfo': {'osVersion': 'Windows', 'platform': 'Web', 'sxmAppVersion': '5.36.514', 'browser': 'Firefox', 'browserVersion': '89.0', 'appRegion': 'US', 'deviceModel': 'EverestWebClient', 'clientDeviceId': 'null', 'player': 'html5', 'clientDeviceType': 'web'}, 'standardAuth': {'username': 'XXX', 'password': 'XXX'}}}]}} ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Method: POST ERROR:/usr/local/lib/python3.8/dist-packages/sxm/client.py:Request: <Request('POST', 'https://player.siriusxm.com/rest/v2/experience/modules/modify/authentication')>

Crumbles-Pieces commented 2 years ago

I have the same issue, everything was working fine and it only started happening to me last week. Did you find a resolution for this?

asingletary commented 2 years ago

Nope, never resolved. I haven't had any success since late-2021.

DCH3416 commented 2 years ago

I also observe this issue on Ubuntu. Not on macOS

Edit: Works now on my Ubuntu system. I wonder if it's just a quirk of how SXM handles authentication

timgray commented 1 year ago

I also have this issue. I notice there is no responses so I assume this project is dead and orphaned?

DCH3416 commented 1 year ago

I also have this issue. I notice there is no responses so I assume this project is dead and orphaned?

This happens every once in a while and appears to be a feature from SXM. There may not be much that can be done about this particular issue.