Skip to content
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

Kronos not working on cellular data but only on Wifi? #52

Closed
agforte opened this issue Mar 14, 2019 · 5 comments
Closed

Kronos not working on cellular data but only on Wifi? #52

agforte opened this issue Mar 14, 2019 · 5 comments

Comments

@agforte
Copy link

agforte commented Mar 14, 2019

It looks like Clock.sync() does not work if I have WiFi off and cellular data (LTE) on. In particular, the "first:" and "completion:" blocks never get called. It works if WiFi is on.
Am I missing something? It seems rather odd.

@Reflejo
Copy link
Contributor

Reflejo commented Mar 14, 2019

It definitely should work on cellular. We use it at lyft on production. Can you debug a bit more your case and provide more information about where it breaks?

@agforte
Copy link
Author

agforte commented Mar 14, 2019

So, I have found out the following:

If I use an NTP pool with just one entry: "0.pool.ntp.org" then everything works as expected.
If I use an NTP pool with more than one entry: "time.apple.com 0.pool.ntp.org" then it works only on WiFi and only the completion block gets called (not the "first" block)

Any ideas?

@aklowther
Copy link

@agforte is this still an issue? It would definitely prevent me from using this framework in my project

@Reflejo
Copy link
Contributor

Reflejo commented Apr 24, 2020 via email

@keith
Copy link
Member

keith commented Aug 10, 2020

Feel free to submit a new issue with more specifics if you're still seeing this!

@keith keith closed this as completed Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants