Unable to establish a connection with WEM 10.5 through APIs

Hello Everyone

We are getting below error while trying to establish a connection with WEM10.5 instance. Please advice on the resolution if anyone has faced similar issue.

Error

------------------------------------------

com.vignette.authn.AuthnException: 01/21/2021 20:40:05:278, Error 11 (IOError), Message 003-003-0014: Destination t3://myserver2016:27110 is unreachable.

at com.vignette.authn.AuthnException.getOne(AuthnException.java:160)

at com.vignette.authn.AuthnException.getOne(AuthnException.java:134)

at com.vignette.authn.WLContextAuthentication.loginUser(WLContextAuthentication.java:85)

at com.vignette.authn.BaseAuthentication.login(BaseAuthentication.java:67)

at com.vignette.authn.BEAAuthentication.login(BEAAuthentication.java:19)

at com.vignette.authn.LoginMgr.updateLogin(LoginMgr.java:128)

at com.vignette.authn.LoginMgr.login(LoginMgr.java:108)

at WEM.ConnectingWEM.main(ConnectingWEM.java:26)

Nested exception is:

java.net.ConnectException: t3://myserver2016:27110: Bootstrap to: myserver2016/192.168.13.128:27110' over: 't3' got an error or timed out

at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)

at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)

at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)

at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)

at weblogic.jndi.Environment.getContext(Environment.java:315)

at weblogic.jndi.Environment.getContext(Environment.java:285)

at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)

at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:719)

at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)

at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)

at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)

at com.vignette.authn.WLContextAuthentication.loginUser(WLContextAuthentication.java:68)

at com.vignette.authn.BaseAuthentication.login(BaseAuthentication.java:67)

at com.vignette.authn.BEAAuthentication.login(BEAAuthentication.java:19)

at com.vignette.authn.LoginMgr.updateLogin(LoginMgr.java:128)

at com.vignette.authn.LoginMgr.login(LoginMgr.java:108)

at WEM.ConnectingWEM.main(ConnectingWEM.java:26)

Caused by: java.rmi.ConnectException: Bootstrap to: myserver2016/192.168.13.128:27110' over: 't3' got an error or timed out

at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:365)

at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)

at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)

at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)

at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)

... 19 more


Nested exception is:

java.net.ConnectException: t3://myserver2016:27110: Bootstrap to: myserver2016/192.168.13.128:27110' over: 't3' got an error or timed out

at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)

at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)

at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:165)

at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)

at weblogic.jndi.Environment.getContext(Environment.java:315)

at weblogic.jndi.Environment.getContext(Environment.java:285)

at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)

at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:719)

at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)

at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)

at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)

at com.vignette.authn.WLContextAuthentication.loginUser(WLContextAuthentication.java:68)

at com.vignette.authn.BaseAuthentication.login(BaseAuthentication.java:67)

at com.vignette.authn.BEAAuthentication.login(BEAAuthentication.java:19)

at com.vignette.authn.LoginMgr.updateLogin(LoginMgr.java:128)

at com.vignette.authn.LoginMgr.login(LoginMgr.java:108)

at WEM.ConnectingWEM.main(ConnectingWEM.java:26)

Caused by: java.rmi.ConnectException: Bootstrap to: myserver2016/192.168.13.128:27110' over: 't3' got an error or timed out

at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:365)

at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:260)

at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)

at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)

at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)

... 19 more

---------------------------------

Code Used

----------------------------------

AuthnBundle authn = new AuthnBundle();

authn.setHost("myserver2016");

authn.setPort("27110");

authn.setUsername("user");

authn.setPassword("password");

LoginMgr loginMgr = new LoginMgr();

try {

loginMgr.login(authn);

System.out.println("connected.");

} catch (AuthnException e) {

e.printStackTrace();

}


Regards,

Manu

Comments

  • clearly a communication issues. Look at your firewall settings.

  • Yes, it looks like a firewall block.

    We did disable the the windows firewall service and enabled the ports 27001 and 27110 for both inbound and outbound traffic, however still facing the same issue. Also the TELNET to these ports from the server seems to be working as well.

  • It still may be related to firewall rules, what protocols do you allow in your rules?