My Oracle Support Banner

T3 Request to WebLogic Gets: "Login failed for an unknown reason: HTTP/1.1 400 Bad Request" (Doc ID 2714342.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 10.0 and later
Information in this document applies to any platform.

Symptoms

[oracle@sandbox bin]$ ./wlst.sh
wls:/offline> connect('xxxx','xxxx','t3://<WLS_SERVER>:7001')
Connecting to t3://<WLS_SERVER>:7001 with userid xxxx ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 646, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://<WLS_SERVER>:7001
Use dumpStack() to view the full stacktrace
wls:/offline> dumpStack()
This Exception occurred at Fri Sep 25 01:41:47 EDT 2020.
javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 400 Bad Request]]
  at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
  at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
  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 javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
  at javax.naming.InitialContext.init(InitialContext.java:242)
  at javax.naming.InitialContext.<init>(InitialContext.java:216)
  at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:520)
  at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:573)
  at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:313)
  at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
  at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
  at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  ...
  at weblogic.management.scripting.WLST.main(WLST.java:173)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at weblogic.WLST.main(WLST.java:29)
Caused by: weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 400 Bad Request]
  at weblogic.socket.Login.checkLoginSuccess(Login.java:131)
  at weblogic.rjvm.t3.MuxableSocketT3.connect(MuxableSocketT3.java:410)
  at weblogic.rjvm.t3.ConnectionFactoryT3.createConnection(ConnectionFactoryT3.java:34)
  at weblogic.rjvm.ConnectionManager.createConnection(ConnectionManager.java:1784)
  at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1424)
  at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:443)
  at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
  at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
  at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
  at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
  at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
  at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
  at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
  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)
  ... 43 more
  javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 400 Bad Request]]

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.