parker-stephens / siriusxm-activator

https://replit.com/@parkercs/activateradio
262 stars 62 forks source link

sxm-server thread #7

Open apexiptv opened 11 months ago

apexiptv commented 11 months ago

@Richardk80

I'm trying to get the updated requirements for latest version and get this error....

pip install -r requirements.txt Collecting certifi==2022.12.7 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting charset-normalizer==2.1.1 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) ERROR: Could not find a version that satisfies the requirement click==8.1.3 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.7, 1.0, 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 5.0, 5.1, 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7.dev0, 6.7, 7.0, 7.1, 7.1.1, 7.1.2, 8.0.0a1, 8.0.0rc1, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4) ERROR: No matching distribution found for click==8.1.3

apexiptv commented 11 months ago

Yes, I have pip3 installed. I did that months ago when I did the install the first time to use. No clue why it's giving errors now when it was installed already. Maybe a path issue...

apexiptv commented 11 months ago

I ran pip install on all the requirements, not sure if it took yet as my radios are all active now. It was giving the error based on the requirement versions.. I just ran pip install on all the necessary packages, without version present to get latest version known and it installed fine or told me it the version was satisfied already.

apexiptv commented 11 months ago

I thought that was what I needed to run. it was what I ran months ago when I got it running. I think it's running now with all parts fine. what was the command it was supposed to run, I tried the command in the read me... I forgot the . at the end. I got it working by just installing those dependencies, with all files copied in, and running docker run -dp 8080:8080 latest from my existing docker file I had.

apexiptv commented 11 months ago

your github for the clone is down btw. the project was removed

thenextmans commented 11 months ago

your github for the clone is down btw. the project was removed

What happened?

thenextmans commented 11 months ago

Thanks so much for your work on this!

nevernamed78 commented 11 months ago

@parker-stephens so the ios and android apps were updated within the last 7 days. seems like they have indeed changed something.

danmazzella commented 11 months ago

@parker-stephens so the ios and android apps were updated within the last 7 days. seems like they have indeed changed something.

Yep, just tried to activate and getting an error that they're encountering technical difficulties but I think it's just that they actually changed and broke something

Gullzway commented 11 months ago

@nevernamed78 I got a Success on the Android App, but now it's Forcing you to Turn off developer options, so you can't fake location. The iOS App on my jailbroken iphone runs with Locasim app faking location, but all my radios are still on trial so I can't test if it actually activates.

nevernamed78 commented 11 months ago

@nevernamed78 I got a Success on the Android App, but now it's Forcing you to Turn off developer options, so you can't fake location. The iOS App on my jailbroken iphone runs with Locasim app faking location, but all my radios are still on trial so I can't test if it actually activates.

hmm. well that isn't exactly the same thing we are doing. i believe they have changed something else

apexiptv commented 11 months ago

Hope someone figures it out before the radios I have need a refresh :)

apexiptv commented 10 months ago

docker run -dp 8080:8080 sxm-server run -dp 8080:8080 latest e43b5f6f15dfaf1ce8678bd494bdb88fc6a90930a9a0d5ea72a50f69632f0b24 docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "run": executable file not found in $PATH: unknown. image

way-lo commented 10 months ago

The initial docker script repository is no longer active. I manually copied over the new .zip, unzipped it, and built the new image.

The new image wasn't named, so then I had to tag it with 'sxm-server:latest' before the 'docker run -dp 8080:8080 sxm-server' would work again.

I'm sure there are probably easier ways, but I am a complete docker newb so this is how I stumbled through it.

richardk80 commented 10 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/

For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

apexiptv commented 10 months ago

For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

How does this work? I don't see a readme on that one.

I tried the pip install requirements.txt but it returns errors regarding the versions of the packages it tries to install with it about versions not found.

richardk80 commented 10 months ago

@apexiptv That repo is meant to be hosted on vercel. I made that repo public so other people can see how python scripts can be hosted on Vercel. This is also meant as another way of hosting this repo online. No more replit or docker containers. Just a website you can easily host on vercel and visit from any internet connected browser

If you want to test this on your local machine, first copy the url to the repo, git clone it anywhere on your local machine, install vercel cli on your local machine if you don't have it, setup vercel cli with your vercel account, and run "vercel dev" inside this repo's root folder on your local machine.

The vercel cli will install all the required files and once done will give you a locally hosted url to view the site.

I also added a "deploy on vercel" button in the README

joe2k1 commented 10 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/

For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Thanks for hosting this tool! A friend tried your site last night. They were not successful. They said - It gives me a big red circle with an X inside. Any ideas?

richardk80 commented 10 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/ For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Thanks for hosting this tool! A friend tried your site last night. They were not successful. They said - It gives me a big red circle with an X inside. Any ideas?

Did your friend only try it once? If they did, ask them to try it again and see if it shows a green circle with a checkmark. The site is working just fine btw.

joe2k1 commented 10 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/ For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Thanks for hosting this tool! A friend tried your site last night. They were not successful. They said - It gives me a big red circle with an X inside. Any ideas?

Did your friend only try it once? If they did, ask them to try it again and see if it shows a green circle with a checkmark. The site is working just fine btw.

Issue resolved! Thanks again for the reply!

richardk80 commented 10 months ago

Does anyone use Vercel, and if you do, can you try out the "Deploy" button on this repo?: https://github.com/richardk80/vercelsxm

I want to know if the Deploy button works.

Thanks

jethrocne commented 10 months ago

Does anyone use Vercel, and if you do, can you try out the "Deploy" button on this repo?: https://github.com/richardk80/vercelsxm

I want to know if the Deploy button works.

Thanks

I did this the other day, worked perfectly.

richardk80 commented 10 months ago

Does anyone use Vercel, and if you do, can you try out the "Deploy" button on this repo?: https://github.com/richardk80/vercelsxm I want to know if the Deploy button works. Thanks

I did this the other day, worked perfectly.

Were you able to get Vercel Web Analytics working?

richardk80 commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

sbuxreg commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

Last night I tried using your site on a buddys radio and got the red x every time. when i actually ran the replit i received a failure that an account was already created. The radio still stayed unsubscribed. I finally used the SXM website with a bogus email and address to activate the radio and that method worked.

way-lo commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

Last night I tried using your site on a buddys radio and got the red x every time. when i actually ran the replit i received a failure that an account was already created. The radio still stayed unsubscribed. I finally used the SXM website with a bogus email and address to activate the radio and that method worked.

If the account was created, it's possible at least some part of the activation may have been successful?

It would be useful to get the log text next time (click on the X and it will display).

I commented on another thread that the first time it is run, the red X shows, even if all steps are successful. But when run again, in my experience last week, a green check would show.

It's also possible another change has been made to the process, thwarting the current script.

richardk80 commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

Last night I tried using your site on a buddys radio and got the red x every time. when i actually ran the replit i received a failure that an account was already created. The radio still stayed unsubscribed. I finally used the SXM website with a bogus email and address to activate the radio and that method worked.

Did your buddy's radio have a XM (SiriusXM) or Sirius ID? Sirius ID is all numbers where XM (SiriusXM) ID is alphanumeric.

richardk80 commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

Last night I tried using your site on a buddys radio and got the red x every time. when i actually ran the replit i received a failure that an account was already created. The radio still stayed unsubscribed. I finally used the SXM website with a bogus email and address to activate the radio and that method worked.

If the account was created, it's possible at least some part of the activation may have been successful?

It would be useful to get the log text next time (click on the X and it will display).

I commented on another thread that the first time it is run, the red X shows, even if all steps are successful. But when run again, in my experience last week, a green check would show.

It's also possible another change has been made to the process, thwarting the current script.

As far as I can tell, nothing has been changed on SiriusXM's end, and the only time that message about contacting SXM Dealer shows up is if you leave the text field blank and hit the "Activate" button. I'm gonna do some testing on my own and see if things are working. I have plenty of radio IDs around the internet to test with.

Note: I just tested it with a random radio ID I had access to and it's working just fine. The way I tested it was this: I tried to send a refresh signal with a radio ID that was not activated on SiriusXM's website and it gave me an error about not having a subscription, then I ran that radio ID through my site and got the green circle with everything saying SUCCESS, then I sent another refresh signal and there wasn't an error anymore, so the radio ID was activated and has service.

sbuxreg commented 10 months ago

Has anyone used my website to activate a radio, got this info all while the radio was actually activated and working afterwards?: CRM {'resultCode':'SUCCESS','opstatus':0,'httpStatusCode':200} CREATE {'resultData':[{'resultCode':'SUCCESS'}],'opstatus':0,'httpStatusCode':200} REFRESH {'opstatus':0,'errors':[{'resultCode':'SUCCESS'}],'httpStatusCode':200}

Last night I tried using your site on a buddys radio and got the red x every time. when i actually ran the replit i received a failure that an account was already created. The radio still stayed unsubscribed. I finally used the SXM website with a bogus email and address to activate the radio and that method worked.

Did your buddy's radio have a XM (SiriusXM) or Sirius ID? Sirius ID is all numbers where XM (SiriusXM) ID is alphanumeric.

It was alphanumeric. It's so weird because the activator worked on mine just fine. It's also weird the sxm free trial site worked on his. Not sure what's going on there but I'll test on more IDs as they become available to me. I've got another friend to test on.

apexiptv commented 9 months ago

I'm getting this error when activating through my docker

CRM {'resultCode': 'FAILURE', 'opstatus': 0, 'deviceId': '', 'httpStatusCode': 200} CREATE {'resultData': [{'resultCode': 'FAILURE'}, {'code': '11-06-ACCT-0002'}, {'message': 'XSD Validation Failed'}], 'opstatus': 0, 'httpStatusCode': 200} REFRESH {'opstatus': 0, 'errors': [{'resultCode': 'FAILURE'}, {'code': '11-06-DEV-0002'}, {'message': 'Request fails schema validation'}], 'httpStatusCode': 200}

It was working last month fine.

richardk80 commented 9 months ago

I'm getting this error when activating through my docker

CRM {'resultCode': 'FAILURE', 'opstatus': 0, 'deviceId': '', 'httpStatusCode': 200} CREATE {'resultData': [{'resultCode': 'FAILURE'}, {'code': '11-06-ACCT-0002'}, {'message': 'XSD Validation Failed'}], 'opstatus': 0, 'httpStatusCode': 200} REFRESH {'opstatus': 0, 'errors': [{'resultCode': 'FAILURE'}, {'code': '11-06-DEV-0002'}, {'message': 'Request fails schema validation'}], 'httpStatusCode': 200}

It was working last month fine.

I just tried this with both a radio id that is already activated and one that wasn't activated, and I received 0 errors from both. This is most likely something wrong on your need.

apexiptv commented 9 months ago

I just tried this with both a radio id that is already activated and one that wasn't activated, and I received 0 errors from both. This is most likely something wrong on your need.

It was working last month for 4 radios after the random generator was put in... I'm typing out the radio ID as my friend texted. Must be on his end... I just tried another radio and it worked.

GitNowFun commented 9 months ago

Thanks. I'm totally useless at this stuff, and not sure how to use python. But figured it out and got two cars activated no problem. Appreciated.

richardk80 commented 9 months ago

Thanks. I'm totally useless at this stuff, and not sure how to use python. But figured it out and got two cars activated no problem. Appreciated.

In that case, just use this: https://sxm.rikimade.com/

jibs92 commented 8 months ago

I installed the docker through Portainer. I see the container is running. Networked through bridge IP 10.0.3.2 instead of Host. I also forwarded port 9500. I cannot access it through URL 10.0.3.2:9500 or any other way I tried. All my other containers run seemlessly.

420-420 commented 8 months ago

Thanks. I'm totally useless at this stuff, and not sure how to use python. But figured it out and got two cars activated no problem. Appreciated.

In that case, just use this: https://sxm.rikimade.com/

I used it and it just worked flawlessly. Thank you

ilikenwf commented 8 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/

For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Neither of these are public repos and so we can't see them.

richardk80 commented 7 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/ For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Neither of these are public repos and so we can't see them.

I made those repos private because I saw no point in people hosting them anymore when they can just use https://sxm.rikimade.com

codecompliant commented 7 months ago

What would cause a success message but says already activated? But it does not work?

way-lo commented 7 months ago

You need to make sure the car has recevied the activation signal in real life.  Make sure your car is not under a garage, turn on the engine (not just radio powered), and refresh the signal.  It may take 5-10 minutes or so. On Monday, 15 April 2024 at 02:04:33 pm GMT-7, codecompliant @.***> wrote:

What would cause a success message but says already activated? But it does not work?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

codecompliant commented 7 months ago

Yes, it was while sitting in the vehicle on a sunny day for more than 10 minutes.

sbuxreg commented 7 months ago

I've had it happen on more than one occasion. Turning the car completely off and back on worked for me. It would activate upon radio boot up

codecompliant commented 7 months ago

Tried again and the refresh site. No luck. Any other ideas?

D-Pyro commented 6 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/ For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Neither of these are public repos and so we can't see them.

I made those repos private because I saw no point in people hosting them anymore when they can just use https://sxm.rikimade.com

Site not working. Can you upload code so I can self host?

ferrellsl commented 6 months ago

The docker script repo I've been maintaining was always active. I just had it locked own until it was all working again. It's available here: https://github.com/richardk80/sxm-server. Also, I still have it hosted online for anyone to use so they don't have to go through the hassle of running python scripts and docker images. That is available here: https://sxm.rikimade.com/ For anyone interested in how I'm running this online, the repo for that is here: https://github.com/richardk80/vercelsxm

Neither of these are public repos and so we can't see them.

I made those repos private because I saw no point in people hosting them anymore when they can just use https://sxm.rikimade.com

Site not working. Can you upload code so I can self host?

It's working just fine in AZ.

D-Pyro commented 6 months ago

Ok well I'd still like to self host.

richardk80 commented 6 months ago

Ok well I'd still like to self host.

Here. Have fun. https://github.com/richardk80/vercelsxm

Btw...I just used my site and it still works just fine

D-Pyro commented 6 months ago

Ok well I'd still like to self host.

Here. Have fun. https://github.com/richardk80/vercelsxm

Btw...I just used my site and it still works just fine

Thanks. I found old code in another thread and now hosting my own https://xm.100004184.xyz/

sbuxreg commented 6 months ago

I'd like the copy for Intel mac please

On Fri, May 17, 2024, 11:32 PM Richard K @.***> wrote:

Ok well I'd still like to self host.

Here. Have fun. https://github.com/richardk80/vercelsxm Btw...I just used my site and it still works just fine

Thanks. I found old code in another thread and now hosting my own https://xm.100004184.xyz/

That's actually a fork of my site.

Btw...if anyone is interested, I built a Mac app for SiriusXM. It only works on Silicon Macs. You can download it here: https://github.com/richardk80/siriusxm-desktop-mac/raw/main/SiriusXM_0.0.1.dmg

If anyone needs a version for an Intel Mac, let me know and I can build a version for them

— Reply to this email directly, view it on GitHub https://github.com/parker-stephens/siriusxm-activator/issues/7#issuecomment-2118621636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWLWCNMT6SYOLLGN3H2SW5DZC3DWLAVCNFSM6AAAAABAQ5JR2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGYZDCNRTGY . You are receiving this because you commented.Message ID: @.***>

apexiptv commented 6 months ago

I still have mine working through docker, but the GUI isn't as nicely done as either of the https://xm.100004184.xyz/ or https://sxm.rikimade.com/

is there a way in the docker run command to have it auto restart it on a scheduled time? sometimes it isn't working and I have to restart it.

D-Pyro commented 6 months ago

docker update --restart unless-stopped [container id]