nissan-connect-php icon indicating copy to clipboard operation
nissan-connect-php copied to clipboard

Still getting Unauthorized response after last update

Open Raiden38 opened this issue 3 years ago • 4 comments

Salut!!!

Even with the fix that you have done a few days ago (thanks for that btw!!), I still get this error message:

Request for 'POST https://icm.infinitiusa.com/NissanConnectEVProd/rest/auth/authenticationForAAS' failed. Response received:

ErrorUnauthorized

I am not quite sure what might be the issue, as I just overwrited the class with the new content, just like I do normally.

Error_Log:

[01-Feb-2022 22:45:25 Canada/Eastern] [2022-02-01 22:45:25] [NissanConnect] Request: POST https://icm.infinitiusa.com/NissanConnectEVProd/rest/auth/authenticationForAAS {"authenticate":{"userid":"XXXXXXXXXXXXXX","password":"XXXXXXXXXXXXXX","brand-s":"N","language-s":"en","country":"CA"}}
[01-Feb-2022 22:45:25 Canada/Eastern] [2022-02-01 22:45:25] [NissanConnect] Request for 'POST https://icm.infinitiusa.com/NissanConnectEVProd/rest/auth/authenticationForAAS' failed. Response received: <html><head><title>Error</title></head><body>Unauthorized</body></html>. Will retry.
[01-Feb-2022 22:45:25 Canada/Eastern] [2022-02-01 22:45:25] [NissanConnect] Request: POST https://icm.infinitiusa.com/NissanConnectEVProd/rest/auth/authenticationForAAS {"authenticate":{"userid":"XXXXXXXXXXXXXX","password":"XXXXXXXXXXXXXX","brand-s":"N","language-s":"en","country":"CA"}}

Any ideas?

Raiden38 avatar Feb 02 '22 03:02 Raiden38

You got to be quicker! It worked for a day or two, then stopped. Nissan added some more checks server-side.

gboudreau avatar Feb 02 '22 07:02 gboudreau

Any new update on this? Maybe we could leave this issue open just for tracking, hopefully someone will find a fix?

Raiden38 avatar Feb 12 '22 16:02 Raiden38

The change I did 10 days ago fixed it, but it broke again a day or two ago. You can follow this thread for updates : https://gist.github.com/BenWoodford/141ca350445e994e69a70aabfb6db942#gistcomment-4062591

gboudreau avatar Feb 12 '22 16:02 gboudreau

Thanks for the link, will take a look at this. And thanks for reopening this issue.

Last Update: An interesting tidbit. Nissan's own North American app is broken currently because of the changes they've made.

hahahahaha!! :)

Raiden38 avatar Feb 15 '22 03:02 Raiden38