samrum / OnStarJS

NodeJS Library for making OnStar API requests
MIT License
85 stars 17 forks source link

All Requests are Failing with "Request Failed with status 400 - Bad Request" Even with Updated Key #233

Open BigThunderSR opened 9 months ago

BigThunderSR commented 9 months ago

All requests are failing with "Request Failed with status 400 - Bad Request". Updated key in https://github.com/samrum/OnStarJS/pull/232 does not seem to make a difference.

BigThunderSR commented 3 months ago

@nilathedragon, it looks like the current keys have expired, so could you please assist? Thanks!

I was setting this up this morning and it worked like 3 hours ago and 2 hours ago stopped working with "Request Failed with status 400 - Bad Request". Not just me then?

Nope, definitely not just you.

mrjackson commented 3 months ago

I wonder if it's related to this? Might be a casualty to GM terminating access to the vendors. https://arstechnica.com/cars/2024/03/gm-stops-sharing-driver-data-with-brokers-amid-backlash/

mgdis4me82 commented 3 months ago

I used my homebridge onstar plugin earlier this afternoon and now it seems it isn’t working. Getting bad request 400 error. Is anyone else having an issue?

nilathedragon commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: https://github.com/samrum/OnStarJS/pull/249

mgdis4me82 commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: #249

Will it resolve on its own?

nilathedragon commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: #249

Will it resolve on its own?

No, but my pull request will.

mgdis4me82 commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: #249

Will it resolve on its own?

No, but my pull request will.

I’m not sure what that means, I’ve never had to do this before. Can you explain what I need to do to get it working again?

BigThunderSR commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: #249

Will it resolve on its own?

No, but my pull request will.

I’m not sure what that means, I’ve never had to do this before. Can you explain what I need to do to get it working again?

We need to wait for a new version of OnStarJS to be released which includes the mentioned PR #249.

mgdis4me82 commented 3 months ago

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones.

Anyways: #249

Will it resolve on its own?

No, but my pull request will.

I’m not sure what that means, I’ve never had to do this before. Can you explain what I need to do to get it working again?

We need to wait for a new version of OnStarJS to be released which includes the mentioned PR #249.

Ok thanks you for the info. So will the homebridge app show an update when it’s ready?

joelvandal commented 3 months ago

Nila, any hints/documentions/requirements to be able to extract keys ourself?I used android method but it now work only with iPhone (jailbreak) ?Envoyé de mon iPhoneLe 23 mars 2024 à 09:07, mgdis4me82 @.***> a écrit :

Its a common error to happen once in a while. OnStar/GM rotates some secret values every app update and disables the old ones. Anyways: #249

Will it resolve on its own?

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

BigThunderSR commented 2 months ago

@nilathedragon, it looks like we are a couple of versions behind again, so could you please assist? Thanks!

nilathedragon commented 2 months ago

As requested: #252

BigThunderSR commented 2 months ago

As requested: #252

Thanks much as always!

mgdis4me82 commented 2 months ago

Do we have to do an update of the homebridge Onstar plugin?

BigThunderSR commented 1 month ago

@nilathedragon, we are two versions behind again, so could you please provide the updated keys? Thanks!

nilathedragon commented 1 month ago

@nilathedragon, we are two versions behind again, so could you please provide the updated keys? Thanks!

Sure: https://github.com/samrum/OnStarJS/pull/253

Maliron commented 1 month ago

@nilathedragon, we are two versions behind again, so could you please provide the updated keys? Thanks!

Sure: #253

I wonder if there is a way we could implement a web lookup to retrieve the key and use it, instead of having to do a pull request every time GM decides to change it? Could even have a process that checks if it's changed, and if so so restarts with the new key.