michaelwoods / onstar2mqtt

OnStarJS wrapper for MQTT
MIT License
108 stars 40 forks source link

onstar2mqtt failing at startup #208

Closed ehran closed 2 years ago

ehran commented 2 years ago

I was wondering why this was not working anymore for some time and checked my syno docker and the service keeps failing to start. logs show an error 400 after the command "Requesting vehicles" starting with error: Main function error. {"error":{"message":"Request Failed with status 400 - Bad Request","request":{" etc...

BennyDaBee commented 2 years ago

@ehran Do you use docker or do you start with NPM?

nodiaque commented 2 years ago

I just had this problem. Be sure you enter all information, including the pin code. I had this problem when there was something missing like pin code

michaelwoods commented 2 years ago

Try to update to the latest image (the API is sensitive to the library version being current) or at least add some logs to help resolve the issue.

ehran commented 8 months ago

Hi all, So to resolve the issue last time I had to delete the container, download the latest version and create the container again. I m using Docker on Synology with a user interface. I have tried all I could to get the container to update but it doesnt want to ... any idea why this is happening ? I mention that I havent changed anything in the parameters or credentials. Was working till yesterday for sure. Unsure for this morning. thanks !

BigThunderSR commented 8 months ago

@michaelwoods hasn't updated the OnStarJS version in a while, so I'm guessing the old keys finally expired. My fork is still working with the latest OnStarJS.

nodiaque commented 8 months ago

Yup, I'm on your fork since... I don't even know when and no problem. Still has the problem where nothing get pulled but that's shitty onstar problem

jeffeb3 commented 8 months ago

That was my issue, BT. Your fork is working first try.