SSL Network Extender Applet is trying to connect to http://127.0.0.1:7776/ before crashing - ssl

OS: Red Hat Enterprise Linux Server release 5.8 (Tikanga)
FireFox version: FireFox ESR, 17.0.3, x86_64-unknown-linux-gnu
java version verification by java.com: Your Java version: Version 6 Update 45
Problem: SSL Network Extender Applet crashes on FireFox. I guess the most interesting part of the stack trace as it seen in the Java Console is:
02/06/2014 04:08:11[SNXNetMode] Checking communication to SNX Network
Mode 02/06/2014 04:08:11[Component] Trying to create socket to
127.0.0.1:7776 network: Connecting http://127.0.0.1:7776/ with proxy=DIRECT 02/06/2014 04:08:11[Component] Could not connect
java.net.ConnectException: Connection refused at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
Any idea why it is trying to connect to the local machine and fail eventually?

Related

cannot connect to X.X.X.X:10514: Connection refused

Configuring a ELK stack version 8.1, based on two virtual machine which both run Oracle linux 8. I need to send logs from a VM to the other using rsyslog. On the recieving machine logs will be acquired using FileBeat. The file rsyslog.conf has been configured on the sending machine, adding target machine parameters. The file filebeat.yml has been configured to recieve logs from rsyslog like this:
- type: syslog
enabled: true
format: auto
protocol.tcp:
host: "X.X.X.X:10514"
The firewalld on the receiving machine has been configured opening the port 10514.
Since the reboot after configuration, the only thing I can get is the error:
cannot connect to X.X.X.X:10514: Connection refused
How can I solve this problem?

JProfiler agent: bind communication socket to specific network interface on AIX platform

We try to bind the communication socket of the jprofiler agent (running in a tomcat) to a specific network interface on AIX platform cause of security reason, but we always get following error message:
JProfiler> ERROR: Could not bind socket.
If we delete the ip address (address=172.18.96.126) from the config everything works fine.
CATALINA_OPTS="$CATALINA_OPTS -agentpath:/products/web/jprofiler/agent/libjprofilerti.so=address=172.18.96.126,port=8849,config=/tools/jprofiler/jprofiler_config.xml,nowait
platform details:
Server version: Server
Server built: 1
Server number: 1
OS Name: AIX
OS Version: 7.1
Architecture: ppc64
Java Home: /usr/java8_64/jre
JVM Version: 8.0.5.41 - pap6480sr5fp41-20190919_01(SR5 FP41)
JVM Vendor:IBM Corporation
Is there a special config needed on AIX?

No connection could be made because the target machine actively refused it. connect(2) for "127.0.0.1" port 9515 (Errno::ECONNREFUSED)

While running my simple selenium automation script on chrome broswer, i am getting below mentioned error. The script runs fine on firefox browser. Mine is HTTPS website.
No connection could be made because the target machine actively
refused it. - connect(2) for "127.0.0.1" port 9515
(Errno::ECONNREFUSED)
IDE: Ruby Mine 7.1.4
Chrome Browser: 54.0.2840.71 m (64-bit)
Script:
require "selenium/webdriver"
driver = Selenium::WebDriver.for :chrome
driver.get('http://google.com')
I had same problem as yours after Windows Update last time.
I updated chromedriver.exe from v2.9 to v2.24 and put it on bin directory where ruby installed, then it's fixed.

Getting this issue "Failed to initialize a pipeline" when I do a SSL connection to cassandra

Connecting to Cassandra with non-SSL port works.
But when I try to make a SSL connection by initializing SSLContext, I get this strange exception.
I am using Datastax driver cassandra-driver-core-2.0.0-rc3.jar
Caused by: org.jboss.netty.channel.ChannelPipelineException: Failed to initialize a pipeline.
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:208) [netty-3.9.0.Final.jar:]
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182) [netty-3.9.0.Final.jar:]
at com.datastax.driver.core.Connection.(Connection.java:92) [cassandra-driver-core-2.0.0-rc3.jar:]
at com.datastax.driver.core.Connection$Factory.open(Connection.java:421) [cassandra-driver-core-2.0.0-rc3.jar:]
at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:215) [cassandra-driver-core-2.0.0-rc3.jar:]
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:170) [cassandra-driver-core-2.0.0-rc3.jar:]
You need to install the Java Unlimited Strength JCE; this has to be done on your client machine in your JRE installation.
Here is one reference in the context of the Cassandra server, but Java clients using SSL need this as well.
http://www.pathin.org/tutorials/java-cassandra-cannot-support-tls_rsa_with_aes_256_cbc_sha-with-currently-installed-providers/

how to use remote redis server without installing it to development PC

I am using redis server.
I have installed it on a PC having IP address 192.168.10.38. When I connect using the same PC redis servre is working fine.
Now my actual problem is I want to connect with same server using another PC.
Note that redis server is not installed to this PC.
When I use the same application on this another PC, I am getting exception below.
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused
at redis.clients.jedis.Connection.connect(Connection.java:142) ~[jedis-2.4.2.jar:?]
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:75) ~[jedis-2.4.2.jar:?]
at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1724) ~[jedis-2.4.2.jar:?]
at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:65) ~[jedis-2.4.2.jar:?]
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:819) ~[commons-pool2-2.0.jar:2.0]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:429) ~[commons-pool2-2.0.jar:2.0]
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:360) ~[commons-pool2-2.0.jar:2.0]
at redis.clients.util.Pool.getResource(Pool.java:40) ~[jedis-2.4.2.jar:?]
Kindly help me with this and let me know can I use remote redis server without installing it to my development PC ?
Redis server is by default binded to 127.0.0.1
I changed it to 0.0.0.0 and finally it uses 0.0.0.0:6379 to listen redis server services.
And it worked for me.