Hi guys, I am trying to get SSO running using the SAML module on my 7.9 project, but I am experiencing some weird behavior. In 7.7.1 everything was working fine, a convert to 7.9 makes it break down. Has anyone seen this error before?: Single Sign On unable to create new session: RFC6265 Cookie values may not contain character: [ ] Late Friday afternoon but hope that someone has an idea! :) Full stack trace: 16:59:07 APP INFO at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 16:59:07 APP INFO at org.eclipse.jetty.server.Server.handle(Server.java:561) 16:59:07 APP INFO at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) 16:59:07 APP INFO at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) 16:59:07 APP INFO at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) 16:59:07 APP INFO at saml20.implementation.ArtifactHandler.handleRequest(ArtifactHandler.java:33) 16:59:07 APP INFO at java.lang.Thread.run(Thread.java:748) 16:59:07 APP INFO Caused by: java.lang.Exception: Single Sign On unable to create new session: RFC6265 Cookie values may not contain character: [ ] 16:59:07 APP INFO at saml20.implementation.security.SessionManager.createSession(SessionManager.java:254) 16:59:07 APP INFO at saml20.implementation.ArtifactHandler.handleSAMLResponse(ArtifactHandler.java:139) 16:59:07 APP INFO at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 16:59:07 APP INFO at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:172) 16:59:07 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:862) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) 16:59:07 APP INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) 16:59:07 APP INFO at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 16:59:07 APP INFO at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 16:59:07 APP INFO at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) 16:59:07 APP INFO at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) 16:59:07 APP INFO at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 16:59:07 APP INFO at org.eclipse.jetty.server.Server.handle(Server.java:561) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 16:59:07 APP INFO at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) 16:59:07 APP INFO at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) 16:59:07 APP INFO at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) 16:59:07 APP INFO at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) 16:59:07 APP INFO at java.lang.Thread.run(Thread.java:748) 16:59:07 APP INFO Caused by: java.lang.IllegalArgumentException: RFC6265 Cookie values may not contain character: [ ] 16:59:07 APP INFO at org.eclipse.jetty.http.Syntax.requireValidRFC6265CookieValue(Syntax.java:136) 16:59:07 APP INFO at org.eclipse.jetty.server.Response.addSetRFC6265Cookie(Response.java:269) 16:59:07 APP INFO at org.eclipse.jetty.server.Response.addCookie(Response.java:231) 16:59:07 APP INFO at com.mendix.m2ee.appcontainer.server.request.HttpMxRuntimeResponse.addCookie(HttpMxRuntimeResponse.java:98) 16:59:07 APP INFO at com.mendix.m2ee.appcontainer.server.request.HttpMxRuntimeResponse.addCookie(HttpMxRuntimeResponse.java:92) 16:59:07 APP INFO at saml20.implementation.security.SessionManager.createSession(SessionManager.java:225) 16:59:07 APP INFO at saml20.implementation.ArtifactHandler.handleSAMLResponse(ArtifactHandler.java:139) 16:59:07 APP INFO at saml20.implementation.ArtifactHandler.handleRequest(ArtifactHandler.java:33) 16:59:07 APP INFO at saml20.implementation.SAMLRequestHandler.processRequest(SAMLRequestHandler.java:172) 16:59:07 APP INFO at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) 16:59:07 APP INFO at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) 16:59:07 APP INFO at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) 16:59:07 APP INFO at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:862) 16:59:07 APP INFO at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) 16:59:07 APP INFO at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) 16:59:07 APP INFO at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) 16:59:07 APP INFO at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) 16:59:07 APP INFO at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 16:59:07 APP INFO at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) 16:59:07 APP INFO at org.eclipse.jetty.server.Server.handle(Server.java:561) 16:59:07 APP INFO at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) 16:59:07 APP INFO at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) 16:59:07 APP INFO at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) 16:59:07 APP INFO at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) 16:59:07 APP INFO at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) 16:59:07 APP INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) 16:59:07 APP INFO at java.lang.Thread.run(Thread.java:748)
Could you please try to check Alias name of idP configuration? The alias could not added white space because has new library in Mx7.9 (javax.servlet-api.servlet.jar).
I'm try to set alias name as below it's work.
Peeradech.
answered
Peeradech Wisessing
3
You get the same error when you have a space in the Name attribute of your User entity.
answered
Charles Bronzwaer
0
experiencing the same issue with Mendix 6.10.12
from the above comments i did not find where alias name is in IDP configurations