dcaslin / d2-checklist

Source for www.d2checklist.com, written in Angular and using the Bungie API
https://www.d2checklist.com/
MIT License
92 stars 24 forks source link

Potential Bug Report: DIM sync #523

Closed jchunkins closed 2 years ago

jchunkins commented 2 years ago

This could just be something wrong with my browser state, or maybe the DIM sync API was down, but I hit a problem that made it seem like tags were not syncing. I have tried to set the junk tag in DIM, and then jumped over to d2-checklist, and I hit the refresh button on the gear page and nothing happened. The only thing I could do to make it work was refresh the whole page (i.e. using the browser refresh button).

I'd be interested to know if there is something I can check for when this happens so I can provide a better bug report.

Thanks again for the great website!

dcaslin commented 2 years ago

[This is 2nd hand so take it with a grain of salt when I discuss DIM sync] DIM Sync tends to have mild scaling issues after releases and extended outages, esp those that require fresh logons to the Bungie API. I'm betting that's what happened here. Ideally D2C should pop up an error toast reporting that DIM Sync failed but either:

  1. It's not doing that, or
  2. The toast is delayed by a long wait time and then dissappears quickly enough that you might not have noticed it.

If everything is working fine now that's the most likely explanation as nothing else has changed on that I know of. I am at this moment pushing a new version to get the Solstice manifest changes out there. Thanks!

jchunkins commented 2 years ago

In general I see the "loading..." toast when I click the refresh button on the gear page but no other toast reports appear, even after clicking refresh multiple times. If I wait long enough DIM does seem to sync up. So maybe your API calls get 200 OK but it takes DIM awhile to process it's backlog? Total speculation on my part here. In my feeble attempt to see what's happening, I tried look through the firefox web console and do see messages like Filtering gear..., and other things that show up as <unavailable> with references to some JavaScript that's not really readable since its obfuscated and all on a single line. Bottom line is that there's no useful information that I could see.

I guess if there's nothing else I can look at or things I could do to provide more information to you, I assume there's nothing for you to follow up on. Feel free to close this if you don't think it warrants further investigation.

dcaslin commented 2 years ago

Most importantly, are you still seeing that right now? Or are things working ok for you? (Should be the latter; if not we've at least got a localized problem on your account)

jchunkins commented 2 years ago

Yes, I saw this last night around the time when I posted that comment.

jchunkins commented 2 years ago

My workaround continues to work where I start with tagging in DIM, and if the refresh button on the page in D2Checklist does not work, the browser refresh button will update the tags. Seems like maybe something is wrong with the refresh logic in the weapons page given that scenario. 🤷