You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2022/06/28 10:48:06 UTC

[Bug 66147] New: Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error fro

https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

            Bug ID: 66147
           Summary: Non HTTP response code: java.net.SocketException,Non
                    HTTP response message: Connection reset error fro
           Product: JMeter
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: chaitu56789@gmail.com
  Target Milestone: JMETER_5.5

Created attachment 38330
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38330&action=edit
Error screenshot

Non HTTP response code: java.net.SocketException,Non HTTP response message:
Connection reset error from jmeter

I have added the following
1) user.properties : httpclient4.retrycount=1 and
hc.parameters.file=hc.parameters
   hc.parameters : http.connection.stalecheck$Boolean=true

2) increased the port size in regedit and change client implementation to http4

3) increased the connection and response timeout in advanced tab of http
sampler.

4) Added the following to jmeter properties:
https.sessioncontext.shared=true
https.default.protocol=TLSv1.2
https.use.cached.ssl.context=true
httpclient4.retrycount=1
https.cipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA256
TLS_RSA_WITH_AES_256_CBC_SHA256

But nothing worked. iam using jmeter 5.4
Can anyone please help me on this... its critical and appreciate your help.

Email:chaitu56789@gmail.com
Mobile: +91-8879560349

Thanks,
Chaitanya

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error from Jmeter 5.4

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

--- Comment #4 from Felix Schumacher <fe...@internetallee.de> ---
(In reply to Chaitanya kanagala from comment #2)
> (In reply to Felix Schumacher from comment #1)
> > This seems to be a question about the usage of JMeter and thus should be
> > asked on the users mailing list. (There are more users following the users
> > mailing list and might be able to help, than there are developers looking
> > into bugs)
> > 
> > To help you, we probably need more (different) information. 
> > 
> > * What is the simplest test plan, that doesn't work? Show that to us.
> > * Are you sure, that your server is listening (with the correct protocol) on
> > that address/port you are trying? Show an example, where you can connect
> > with another client
> > * Why did you set the parameters, that you listed above?
> > * What do you mean by increased the port size in regedit? JMeter doesn't use
> > the registry
> > * (Even if I don't believe, that i will change anything) Have you tried
> > using a current version of JMeter? (Why not?)
> > 
> > And again, this should really be discussed on the mailing list and not here!
> 
> I am using a test plan with multiple http requests and started a test with
> 10 users and error started popping up.
Have you tried to lower the load? Less concurrent threads, less requests per
seconds?
Have you watched the server side? (If it was an Java server, I would do some
thread dumps, or use some more advanced profiling/debugging technique)

> 
> Yes my application is responding from browser from the machine where jmeter
> is facing connection reset
Is it responding, while the test throws errors?
Is it looking slow?

> 
> as i was facing the connection reset error, i tried the above parameters so
> that the issue resolves
> 
> regedit - i have increased the port range so that request successfully flows
Is this a special function of your server? I am not an Windows expert.

> 
> we are using jmeter 5.4 as it was the stable version
Last time I looked it was 5.5 :)

And once again, please use the mailing list, as there are more helping hands,
than here. https://jmeter.apache.org/mail2.html#JMeterUser

And lastly, if you need commercial support, I am sure there are IT shops, that
could help you out. The support from the JMeter community is given by
volunteers and by mailing list/bug tracker, only.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error from Jmeter 5.4

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

Chaitanya kanagala <ch...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Non HTTP response code:     |Non HTTP response code:
                   |java.net.SocketException,No |java.net.SocketException,No
                   |n HTTP response message:    |n HTTP response message:
                   |Connection reset error fro  |Connection reset error from
                   |                            |Jmeter 5.4
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error from Jmeter 5.4

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

--- Comment #2 from Chaitanya kanagala <ch...@gmail.com> ---
(In reply to Felix Schumacher from comment #1)
> This seems to be a question about the usage of JMeter and thus should be
> asked on the users mailing list. (There are more users following the users
> mailing list and might be able to help, than there are developers looking
> into bugs)
> 
> To help you, we probably need more (different) information. 
> 
> * What is the simplest test plan, that doesn't work? Show that to us.
> * Are you sure, that your server is listening (with the correct protocol) on
> that address/port you are trying? Show an example, where you can connect
> with another client
> * Why did you set the parameters, that you listed above?
> * What do you mean by increased the port size in regedit? JMeter doesn't use
> the registry
> * (Even if I don't believe, that i will change anything) Have you tried
> using a current version of JMeter? (Why not?)
> 
> And again, this should really be discussed on the mailing list and not here!

I am using a test plan with multiple http requests and started a test with 10
users and error started popping up.

Yes my application is responding from browser from the machine where jmeter is
facing connection reset

as i was facing the connection reset error, i tried the above parameters so
that the issue resolves

regedit - i have increased the port range so that request successfully flows

we are using jmeter 5.4 as it was the stable version

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error from Jmeter 5.4

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

--- Comment #3 from Chaitanya kanagala <ch...@gmail.com> ---
we can have a short meeting to sort out this issue and let me know what needs
to be done from jmeter end to sort out this issue and regarding the test plan-
its a UI application recorded which is successfully working fine with single
user and facing this connection reset when user load is increased

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error fro

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

Chaitanya kanagala <ch...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |Windows Server 2016
   Target Milestone|JMETER_5.5                  |JMETER_5.4
           Priority|P2                          |P1

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 66147] Non HTTP response code: java.net.SocketException,Non HTTP response message: Connection reset error from Jmeter 5.4

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66147

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Severity|critical                    |normal

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
This seems to be a question about the usage of JMeter and thus should be asked
on the users mailing list. (There are more users following the users mailing
list and might be able to help, than there are developers looking into bugs)

To help you, we probably need more (different) information. 

* What is the simplest test plan, that doesn't work? Show that to us.
* Are you sure, that your server is listening (with the correct protocol) on
that address/port you are trying? Show an example, where you can connect with
another client
* Why did you set the parameters, that you listed above?
* What do you mean by increased the port size in regedit? JMeter doesn't use
the registry
* (Even if I don't believe, that i will change anything) Have you tried using a
current version of JMeter? (Why not?)

And again, this should really be discussed on the mailing list and not here!

-- 
You are receiving this mail because:
You are the assignee for the bug.