Mendix SSO Not Working (Internal Server Error)

0
Hello Mendix Community, I’ve been struggling with this issue since a couple of days, and would be happy to recieve support. I managed to deploy an App recently and I set up the SSO log in, according to the Mendix docs (https://docs.mendix.com/developerportal/deploy/mendix-sso/). When I click on “Or sign in with Mendix Account ” I recieve a page that says: “Internal Server Error An unexpected exception occurred while handling request login”   I will gladly copy and paste the whole error message.   Summray: “ 11:48:59 AMAPPERRORErrorUtils: Error occured: Internal Server Error: 11:48:59 AMAPPINFOAn unexpected exception occurred while handling request login: Connection refused (Connection refused) 11:48:59 AMREQINFOsuccesslist-accp.mx.lowcode.siemens.cloud - [2022-09-26T09:48:58.326558926Z] "GET /openid/login HTTP/1.1" 200 0 121312 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36" "10.10.11.7:61304" "10.10.136.17:61177" x_forwarded_for:"147.161.229.34, 10.10.11.6, 10.10.11.7" x_forwarded_proto:"https" vcap_request_id:"b166a18d-b71b-4448-52ff-33566961ee93" response_time:1.211823 gorouter_time:0.000110 app_id:"8278a9ab-de86-4c5b-aabd-8a30ef72aa23" app_index:"0" instance_id:"7940f095-75f7-4a4d-67df-53e6" x_cf_routererror:"-" x_b3_traceid:"0845ababb533d5424ad607deae376968" x_b3_spanid:"4ad607deae376968" x_b3_parentspanid:"-" b3:"0845ababb533d5424ad607deae376968-4ad607deae376968" ”     Error stack: “ 11:48:59 AMAPPERRORErrorUtils: java.net.ConnectException: Connection refused (Connection refused) 11:48:59 AMAPPINFOat java.base/java.net.PlainSocketImpl.socketConnect(Native Method) 11:48:59 AMAPPINFOat java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 11:48:59 AMAPPINFOat java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 11:48:59 AMAPPINFOat java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/java.net.SocksSocketImpl.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/java.net.Socket.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.security.ssl.SSLSocketImpl.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.NetworkClient.doConnect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.http.HttpClient.openServer(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.http.HttpClient.openServer(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.https.HttpsClient.New(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 11:48:59 AMAPPINFOat java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) 11:48:59 AMAPPINFOat java.base/java.net.URL.openStream(Unknown Source) 11:48:59 AMAPPINFOat mendixsso.implementation.oidp.IdentityProviderMetaDataCache.loadConfiguration(IdentityProviderMetaDataCache.java:45) 11:48:59 AMAPPINFOat mendixsso.implementation.oidp.IdentityProviderMetaDataCache.getIdentityProviderMetaData(IdentityProviderMetaDataCache.java:77) 11:48:59 AMAPPINFOat mendixsso.implementation.handlers.OpenIDHandler.performAuthorizeRequest(OpenIDHandler.java:385) 11:48:59 AMAPPINFOat mendixsso.implementation.handlers.OpenIDHandler.login(OpenIDHandler.java:363) 11:48:59 AMAPPINFOat mendixsso.implementation.handlers.OpenIDHandler.processRequest(OpenIDHandler.java:131) 11:48:59 AMAPPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:37) 11:48:59 AMAPPINFOat com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:50) 11:48:59 AMAPPINFOat com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1$adapted(MxRuntimeConnector.scala:50) 11:48:59 AMAPPINFOat com.mendix.util.classloading.Runner$.withContextClassLoader(Runner.scala:20) 11:48:59 AMAPPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:50) 11:48:59 AMAPPINFOat com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.scala:229) 11:48:59 AMAPPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:32) 11:48:59 AMAPPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:750) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) 11:48:59 AMAPPINFOat org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1571) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1378) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) 11:48:59 AMAPPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1544) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1300) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.Server.handle(Server.java:562) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497) 11:48:59 AMAPPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282) 11:48:59 AMAPPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319) 11:48:59 AMAPPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) 11:48:59 AMAPPINFOat org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:412) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:381) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:268) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:138) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:407) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894) 11:48:59 AMAPPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038) 11:48:59 AMAPPINFOat java.base/java.lang.Thread.run(Unknown Source) ”   Mendix Version 9.17.0 Thank you very much in advance! -Mahdi
asked
1 answers
0

Hello, 

Were you able to solve this? I’m having the same problem :(

answered