-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HSTracker stuck on splash screen #1332
Comments
I ran 2.6.1 this morning and I don't see an issue. Is it still happening? |
Yes, It still happens. I just tried it again. I suspect it's something to do with the network, but strangely I have no problem accessing the two jsons directly from hsdecktracker.net. |
I just noticed that |
I was looking at your log file and it is getting a 403 out of https://hsreplay.net/api/v1/live_secrets/ which is strange because it works for me. AppCenter is for statistics and bug reports. Can you run it under the Xcode debugger to see where it is stuck? |
Yes, I noticed that. But sorry, I don't know how to use Xcode debugger. |
Can you go the Activity Monitor, find HSTracke process when it is stuck, select it and press the |
OK, I take a sample: |
@moonfruit it seems to be the live secrets endpoint that's causing the problem. I can probably make the code a bit better by not hanging forever but can you test that URL https://hsreplay.net/api/v1/live_secrets/ and see if you get a successful response via curl instead of 403? I will ask the HSReplay team if there are any known issues based on geography. |
…te config (issue #1332) Don't append ? to URL if there are no query parameters
I forced a recreate by using https://httpbin.org/status/403 and placed some missing catches in the RemoteConfig.swift code to prevent the hang. It is interesting that the other 3 previous requests actually succeeded. This will be available on the next version with the BG update. |
Thanks a lot! |
@moonfruit Does it work now with the version 2.6.1? The HSR team said that endpoint had some firewall rules that they removed, so it should work now. Please let me know if that's the case or not. Anyway, next version will at least not have the forever hang due to this type of issue. |
No, I cannot reproduce this problem. Thanks a lot! |
Describe the bug
After upgrading to
HSTracker
2.6.1, the splash screen got stuck.I also tried
curl https://hsdecktracker.net/data/arena/version.json
andcurl https://hsdecktracker.net/data/arena/cardtier.json
.They all worked well.
To Reproduce
Steps to reproduce the behavior:
HSTracker
Expected behavior
HSTracker
not stuck.Screenshots
Version (please complete the following information):
2.6.1
Log file
hstracker.log
The text was updated successfully, but these errors were encountered: