question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hang during call to device_token

See original GitHub issue

During a call to dauth.device_token(keys) my code hangs at exactly this line. This code used to work a few weeks ago and I’ve updated the system and checked my keys file, but it inexplicably hangs here, not an error.

dauth = DAuthClient(keys)
dauth.set_certificate(cert, pkey)
dauth.set_system_version(SYSTEM_VERSION)
response = await dauth.device_token(dauth.BAAS)
device_token = response["device_auth_token"]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
TheGreatRamblercommented, Nov 12, 2021

Unrelated but I’d like you to know a lot of people have really benefited from your library, thank you for making it https://twitter.com/tgr_code/status/1449981590709293061?s=20

0reactions
TheGreatRamblercommented, Oct 10, 2021

Ah it’s possible my Lockpick_RCM version is pretty old, I’ll check. And yeah it should absolutely not result in a hang, I think some other async code I’m using is messing with things.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Responding to VoIP Notifications from PushKit
Receive incoming Voice-over-IP (VoIP) push notifications and use them to display the system call interface to the user.
Read more >
Obtain NEW Apple device token? - Stack Overflow
Is there any way to obtain a new device token from Apple once the new user logs in? Is there a way to...
Read more >
[iOS] getExpoPushTokenAsync can't work on first time iOS ...
The first time your app calls this method, the app object contacts APNs and requests the app-specific device token on your behalf. The...
Read more >
Is it possible to get device token, if user selected Don't Allow ...
But I can see the device token will not be available in ... This delegate method will not be called if the user...
Read more >
await SBNotificationHub.UnregisterAllAsync hangs indefinitely
Hub.RegisterNativeAsync(deviceToken, null);. and in this case, the call to UnregsiterAllAsync just hangs forever.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found