Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82302

OData Issues

$
0
0

I set up an OData feed in my app and am accessing it via Excel while running locally. While the Odata feed does return data, I have the following issues:

  • The permissions of my app are not respected, i.e. I receive data that the userid I specified in Excel should not have access to
  • I get some error messages and suspicious looking messages in my console, specifically I receive the following messages:

Login failed: No basic authentication in header.

Removing session for user 'SomeUserID'

Login failed: No basic authentication in header.

Login failed: No basic authentication in header.

Killing old session for user SomeUserID because new session is created.

com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalArgumentException: Session'f8e66053-f7da-44ac-85cb-93450e7d1870' is not managed by the session manager at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)

Caused by: java.lang.IllegalArgumentException: Session'f8e66053-f7da-44ac-85cb-93450e7d1870' is not managed by the session manager at com.mendix.core.session.SessionManager.destroy(SessionManager.java:246) at com.mendix.core.session.SessionManager.destroy(SessionManager.java:241) at com.mendix.core.component.InternalCore.logout(InternalCore.java:2044) at com.mendix.integration.requesthandlers.RestRequestHandler.processRequest(RestRequestHandler.scala:23) at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69) at com.mendix.externalinterface.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:66) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.externalinterface.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:72) at com.mendix.core.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:720) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:41) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)

Removing session for user 'SomeUserID'

Have others encountered similar issues? Any pointers about how to get OData working as it is supposed to?

Thanks,

Mike


Viewing all articles
Browse latest Browse all 82302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>