Getting connection refused error when trying to communicate through HTTPS - jmeter

I am using Jmeter 2.13 and have tried with http client 3.1 and http client 4 with HTTPS protocol and am getting error as connection refused:
Error :org.apache.http.conn.HttpHostConnectException: Connection to 132.186.197.59:1003 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)

There is a connectivity issue in your machine on the port used by SSL.
Ensure connectivity is ok from JMeter machine to target machine on HTTPS port

Related

Apache Nifi, Connection Issue with Sql server JDBC

I am trying to connect Apache Nifi to SQL Server hosted on localhost but getting this msg:
Establish Connection
Failed to establish Database Connection: java.sql.SQLException: Cannot create PoolableConnectionFactory (The TCP/IP connection to the host localhost, port 1433 has failed. Error: "Connection refused (Connection refused). Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".)
I disabled the firewall
I checked that tcp is enabled through SQL Configuration manager.
enter image description here
enter image description here
Nifi DBCPConnectionPool 1.16.3 Configurations:
Database Connection URL: jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks2016
Database Driver Class Name: com.microsoft.sqlserver.jdbc.SQLServerDriver
Database Driver Location(s): file:///usr/lib/jvm/jre/lib/jdbc/sqljdbc_10.2/enu/mssql-jdbc-10.2.1.jre8.jar
enter image description here
But still not able to figure out what is the issue

Connecting to AxonServer node [****] failed: UNAVAILABLE: Network closed for unknown reason

I am new to axon server. I use axon server as remote server in spring boot. not in the localhost. but when the spring boot application connect to the server it fails and show the fallowing error.
Connecting to AxonServer node [174.298.31.***:8024] failed: UNAVAILABLE: Network closed for unknown reason
Failed to get connection to AxonServer. Scheduling a reconnect in 2000ms
my property file like below,
axon:
axonserver:
servers: 174.298.31.***:8024
if you didn't change the default port, 8024 is the default port for HTTP access to the server dashboard. but when you try to connect to the server using a client, it is not the communication port, the communication protocol is 8124. please try putting 8124 port. 8024 only for the dashboard.
axon:
axonserver:
servers: 174.298.31.***:8124

problem in connecting client to L2TP server

I've the MIKROTIK router on KVM. after transfer MIKROTIK to new server and change the router IP my client can not connect to the server. and in the server log file show me this error: phase1 negotiation failed due to time up XX.XX.XX.XX[500]<=>XX.XX.XX.XX[500] 3f80f907708fbe3a:4a3ab01f25adc16f
can help me to fix this.

use jdbc to connect sybase ASE

I want to use jdbc to connect Sybase ASE, but, I got an error in the following:
JZ006: 捕获到 IO 例外:java.net.ConnectException: Connection refused: connect
Can anybody tell me how to solve this problem?
"Connection refused: connect" is a low level socket error meaning that nothing is listening on the port you are trying to connect to (or it was blocked by a firewall).
This means that either you have no Sybase ASE running, it is not listening on the IP address you are connecting to, it is listening on a different port, or a firewall blocks your connection.

Javascript Adapter throwing java.net.SocketException: Connection reset

I am trying to make a https call to the backend server that gives a json data , i could get the by making https calls using browser but when make the same call using the javascript adapter i getting this output
I followed this IBM Knowledge Center to add the cert to the default mobilefirst keystore. I am not sure why i am getting this error?
[ERROR ] FWLSE0099E: An error occurred while invoking procedure [project kmf]login/HttpRequestFWLSE0100E: parameters: [project kmf]
Http request failed: java.net.SocketException: Connection reset
FWLSE0101E: Caused by: [project kmf]java.net.SocketException: Connection resetjava.lang.RuntimeException: Http request failed: java.net.SocketException: Connection reset
at com.worklight.adapters.http.HTTPConnectionManager.execute(HTTPConnectionManager.java:271)
at com.worklight.adapters.http.HttpClientContext.doExecute(HttpClientContext.java:201)
at com.worklight.adapters.http.HttpClientContext.execute(HttpClientContext.java:185
From the comments, by Vivin:
Connection reset means , the backend server has reset the connection. You should consult your network team/ backend team and verify why this occuring. Firewalls / network issues / backend server connection issues are all possibilities. MobileFirst server is only reporting the issue as it found

Resources