Questions tagged [connection-reset]

159 questions
0
votes
0 answers

Not able to handle the exception for Connection Reset while executing twitter streaming in Python

I am trying to catch the exception which is raised when the connection is reset from the peer during the real-time streaming of tweet, but seems the try-exception block is not properly catching the error raised and pass through it. Please advise, if…
Nakul Sharma
  • 143
  • 2
  • 9
0
votes
0 answers

What's causing my SocketException: Connection reset?

In any iteration within the while, a SocketException: Connection reset is generated. can someone give me some suggestions? logger.info("Start send xml"); StringBuilder bld = new StringBuilder(); try (Socket socket = new…
0
votes
1 answer

Error 104: Connection reset by peer with ASP.NET MVC app

I'm having a problem with a MVC (1.0) app that I can't figure out at all. There's two versions of the site (live and UAT) hosted on the same server. For each version of the site, the same code is shared by multiple organisations who each have…
0
votes
1 answer

Web Api, Update DB, connection reset 200ok

I have asp.net web api application. I have the table Companies in the databse which have two fields: id and description. Recently I've updated the database and added a new column called CustomerID. After that when I am trying to call…
Storm
  • 557
  • 1
  • 8
  • 25
0
votes
2 answers

Glassfish Windows Server 2008 R2 Deploy Issue

I am using glassfish 3.1 (build 43). When I deploy an application either through the admin console or using the asadmin deploy command, glassfish server stops and I get an error "Remote server does not listen for requests on [localhost:4848]. Is the…
Andy Dufresne
  • 6,022
  • 7
  • 63
  • 113
0
votes
0 answers

Category pages return recv() failed (104: connection reset..) Magento 1.9 multistore + nginx | php7.1 fpm

I have a multi store magento1.9 environment on ubuntu 15.04, Nginx 1.9.15, php7.1 fpm. 5 store run on it. Surprisingly, from last 5 days, two of the stores throw below error. This happens to all category pages with products. recv() failed (104:…
0
votes
0 answers

Connection Reset Tomcat8 Webapp after 10 minutes

trying to make a post with XML payload from my java webapp to another Tomcat Server I get "Connection Reset" if and only if the request takes more than 10 minutes (600000 ms) java.net.SocketException: Connection reset at…
0
votes
1 answer

Java connection reset issue

I'm working with one legacy module's complicated part where multiple tables are being maintained by a Java process. It's using simple JDBC & prepared statements with Oracle. We are noticing frequent failure of this process with Connection Reset…
0
votes
1 answer

Error with reading inputstream of socket in java 1.8

With the following code an error occurs with reading the inputstream. I use the following code: public void run() { try { SocketAddress sockaddr = new InetSocketAddress(nServer, nPort); nsocket = new Socket(); …
Hanno K
  • 11
  • 5
0
votes
1 answer

Java Connection reset exception but working with postman

I suddenly started to get a connection reset exception with an api that I have been communicating with for 4 years. The server provider is telling me that he didn't change anything and I didn't either. Whats weird is that I get a success response…
sam winston
  • 162
  • 1
  • 13
0
votes
1 answer

How to fix "Connection Reset" in Eclipse for HTTPS url

I am trying to parse a https url link and getting a connection reset problem in eclipse , however it works in eclipse ( returns 301 response code though ) How to solve this ? Thanks try { String url =…
Skadoosh
  • 699
  • 2
  • 11
  • 27
0
votes
1 answer

Java Client/Server error: Connection reset

Hello i have a client server program and the server side works while the client side is having some problems. The client prints out a message once it connects, but after some user input (which is not used yet) i get this error. The server prints out…
mrAnderson
  • 51
  • 1
  • 2
  • 7
0
votes
2 answers

preg_split results in connection reset

preg_split("/({{\s*(?:(?!}}).)+\s*}})/s", file_get_contents('data.txt')); That line makes Apache reset the connection. data.txt is approximately 12 kB. What am I doing wrong, can I optimize the regex somehow?
Markus Hedlund
  • 23,374
  • 22
  • 80
  • 109
0
votes
0 answers

How to handle Connection Reset By Peer exception of TIdHTTP.Get request?

In my VCL application, I use TIdHTTP.Get() to retrieve data from a RESTful web service. In my application, I use the following code: var HTTP: TIdHTTP; ws: WideString; begin ws := HTTP.Get('http://www.restfulwebservice.com/' +…
0
votes
1 answer

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated in jdk7 but not in jdk8

HttpClient =new DefaultHttpClient(); HttpPost post = new HttpPost("https://myulr/token"); post.addHeader("Content-Type", "application/x-www-form-urlencoded"); List parametersBody = new…
Roshan
  • 21
  • 3