Highlighted
New Member.
562 views

GroupWise 18.2 web-config utility: java.net.ConnectException

Hi,

While running the command "docker run -it ...mfgroupwise/web-config" I always get an error:

java.net.ConnectException: Connection timed out (Connection timed out)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.base/java.net.Socket.connect(Socket.java:591)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1075)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1581)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245)
at com.microfocus.gw.AdminService.sendRequest(AdminService.java:173)
at com.microfocus.gw.poa.POAMain.getPOAList(POAMain.java:48)
at com.microfocus.gw.poa.POAMain.process(POAMain.java:78)
at com.microfocus.gw.ConfigMain.main(ConfigMain.java:59)

 

I am grateful for all hints.

Thanks,
Wolfgang

 

Labels (2)
0 Likes
25 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

I am experiencing the same problem. I have a SR in with MicroFocus about it. 

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

@w_sachs @bkesting 

Hi,

Is SOAP SSL enabled on your Post Office agents?

Cheers,

 

Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Yes
0 Likes
Highlighted
New Member.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Hi Laura,

After changing the GroupWise Admin Password (the old password contained ..!!..) and restarting GW and Docker server the config utility now works.

Thanks,
Wolfgang

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Interesting.

My Micro Focus tech support tried that (change password) but it did not resolve my issue.

 

Good to hear

0 Likes
Highlighted
New Member.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Hi,

I have the same problem,

but I don't know why,

this is working in my environment:

docker run -it -v /opt/novell/gw:/config mfgroupwise/web-config /bin/bash

root@ad36a578bc95:/# java -jar /app/web-config.jar -a admin@10.32.1.13:9710 -p 10.32.1.13 -o /config/web.conf

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Tried your solution, sadly did not work for me.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

@bkesting 

Hi,

What server are you running docker on... I mean is it the same server as the admin service you are connecting to, the same server as the POA you are connecting to, or on a different server?

When you run the command are you prompted for the password or do you get errors before that?

Cheers,

 

Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

@bkesting 

Hi,

Okay, I've duplicated the error you report. 

This is a SLES15SP1 server just for my docker testing/work

I enabled the firewall - systemctl start firewalld.service

Ran the web-config command and got a "no route to host" error.

I disabled the firewall - systemctl stop firewalld.service

I ran the web-config command again and got your exact error after the password prompt.

I messed about trying many different things and eventually just rebooted my docker server.

After the reboot I checked to make sure the firewall was still off and it was.

Ran the web-config command and it completed successfully.

You may also want to check Proxy settings on the server.

Cheers,

 

Laura Buckley

Views/comments expressed here are entirely my own.
If you find this post helpful, please show your appreciation and click on "Like" below...
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

Yes, docker is running on same server as core GW system and POA. I am prompted for a password, then it acts like it times out before producing the error.
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: GroupWise 18.2 web-config utility: java.net.ConnectException

I am running on SLES 12 SP4. I don't have any proxy services running. I have also tried with and without firewall running with no luck.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.