Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SocketTimeoutException  RSS feed

Damithri Warnakulasuriya
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
when i'm trying to connect to a datbase and retrieve data through an externel server connection I'm getting a
When I direct browse the url it gives data.

im =urlc.getInputStream();
mbfr = new BufferedReader(new InputStreamReader(urlc.getInputStream()));

What ever i've written before the abouve code it prints. So i thought the exception is coming from the above code.

Also i'm not getting this exeception all the time. To retrieve data I pass two dates as parameters.
For a short period it works withhout errors.

Please Help me

Thank you
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!