twoolf / circator

Metabolic Compass: A Circadian Monitoring Mobile Health Stack
https://www.metaboliccompass.com
Apache License 2.0
6 stars 1 forks source link

Token expiry http get request fails on app startup #30

Open yanif opened 8 years ago

yanif commented 8 years ago

This causes automatic login with access tokens to fail.

The error is very similar to: https://stackoverflow.com/questions/25372318/error-domain-nsurlerrordomain-code-1005-the-network-connection-was-lost

However, both our ELB and webservers have a keepalive timeout > 60. The issue is very deterministic and tested at up to 100 consecutive failures. Also, the issue persists through project cleaning and recompilation.