This indicates a network connectivity problem, either on your side or your host's. If your host usually has no problem connecting with others, it's probably your connection.
To figure out where the issue lies, try reading these articles:
- If you are using Glance on a wireless network, read this article.
- If you are behind a network security device, read this article.
- If you want to test the health of your own network, read this article.