Mijago / D2ArmorPicker

GNU Affero General Public License v3.0
136 stars 40 forks source link

Some people are stuck in a login loop #7

Closed Mijago closed 3 years ago

Mijago commented 3 years ago

A very nice, helpful guardian gave me the following logs:

image image

Message-Data: {"ErrorCode":2102,"ThrottleSeconds":0,"ErrorStatus":"ApiKeyMissingFromRequest","Message":"Please add valid X-API-Key header to request. Visit https://www.bungie.net/developer for details.","MessageData":{}}

Mijago commented 3 years ago

Seems to be some kind of race condition in the login process. I'll further investigate.

Mijago commented 3 years ago

It says the Api key is missing, but it sends the API key and the Bearer Token from the previous step. Two of the persons that have this problem are console players. I did not get to ask more persons (yet).

jpmaradiaga commented 3 years ago

I am having the same issue, here is the stack

image

Tested on Firefox, Chrome, Edge, iOS and Android. Console (XBOX) worth nothing I have alot of stuff in the vault.

mpentax commented 3 years ago

Reproduces on my account (PC). tested with firefox, chrome and edge + safari and chrome on my mac. tried clearing site data (yes, this includes indexeddb) and also tried revoking and regranting access through the bungie site. Also worth noting the site worked yesterday so this must be some change to my account since then (maybe a specific armor piece?)

armorerror

Let me know if you need any more data and I'll be happy to help.

Mijago commented 3 years ago

Reproduces on my account (PC). tested with firefox, chrome and edge + safari and chrome on my mac. tried clearing site data (yes, this includes indexeddb) and also tried revoking and regranting access through the bungie site. Also worth noting the site worked yesterday so this must be some change to my account since then (maybe a specific armor piece?)

armorerror

Let me know if you need any more data and I'll be happy to help.

This is another variant of this issue, and should be resolved now.

Mijago commented 3 years ago

@mpentax @jpmaradiaga Can you please log into the tool again and see whether it works now?

mpentax commented 3 years ago

@mpentax @jpmaradiaga Can you please log into the tool again and see whether it works now?

Works for me. Thanks!

jpmaradiaga commented 3 years ago

Mine doesn't crash, it just keeps updating the manifest forever. image

I managed to get it to load by selecting the Refresh Item CTA on the right corner. That seems to work.

Thanks :)