BasicNetwork.performRequest: Unexpected response code 500

4,983 views
Skip to first unread message

Ashish Samant

unread,
Aug 14, 2014, 3:47:41 PM8/14/14
to volley...@googlegroups.com
I am new to Android development and volley,

I am developing an App, that can transmit the data from app to Webserver Servlet. My post request does not reaches the Servlet.
And app is giving me an error in my Eclipse Logcat, Can you please advice what is this error about.

My LogCat Error:
08-15 00:56:59.397: E/Volley(12188): [845] BasicNetwork.performRequest: Unexpected response code 500 for http://192.168.0.102:8080/OBD_Feeder
08-15 00:57:06.157: E/Volley(12188): [847] BasicNetwork.performRequest: Unexpected response code 500 for http://192.168.0.102:8080/OBD_Feeder

Brice Stacey

unread,
Aug 14, 2014, 9:47:58 PM8/14/14
to volley...@googlegroups.com
If you are getting an http status code back (500) then volley is working as intended and you're likely sending a request your server cannot handle.

I'd recommend trying a public API that is known to work. I recommend open weather map. The Udacity Android course used it and it's a simple API to work with.

http://openweathermap.org/api

Reply all
Reply to author
Forward
0 new messages