Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

gustp
2,526 Pointscall.enqueue callback is failing
I'm at the end of this video and trying to get the key timezone but i was not getting any output. i degguged and noticed that the call.enqueue was failing because the i added a Log.v(TAG,"We failed");
inside the onFailure method and ran it and it was being outputted meaning that the onresponse was not being triggered. I checked that airplaine mode was not in effect and that wifi is turned on and also tried going into a page inside the emulator browser and it gives error net::ERR_NAME_NOT_RESOLVED, I suspect this may be cause i'm currently not at home but at school and maybe the network from the school isn't making it inside the emulator somehow compared to when i was at home, idk what else it could be
1 Answer

gustp
2,526 Pointsit started working when i got home for some reason,weird.I suspect it will stop once try to do it somewhere else again.
samuel zaffran
24,815 Pointssamuel zaffran
24,815 PointsNeed most of your code to understand what's going wrong !