Get session id error Browser Agent guest disabled

1
Hi everyone, I'm trying to use APM at TEST environment. I have set 'APM Browser Agent widget' to our app based on following document. https://docs.mendix.com/apm/installation-guide/ig-2/installation-2#2-installation But when an Annonymous user access a page which the widget is located, following error occurs. - Level         Error - Node        BrowserAgentSupport - Message  Get session id error Browser Agent guest disabled - Stack trace Browser Agent guest disabled nl.mansystems.apmagent.shared.SharedHTTP.a (SourceFile:118) nl.mansystems.apmagent.shared.SharedHTTP.sendData (SourceFile:92) nl.mansystems.apmagent.browseragent.BrowserAgentSupport.agentGetSessionIdRequest (SourceFile:54) apmagent2.BackchannelHandlerAgent.sessionDataFromAPMManager (BackchannelHandlerAgent.java:89) apmagent2.BackchannelHandlerAgent.processRequest (BackchannelHandlerAgent.java:65) com.mendix.externalinterface.connector.RequestHandler.doProcessRequest (RequestHandler.java:40) com.mendix.external.connector.MxRuntimeConnector$1.execute (MxRuntimeConnector.java:71) com.mendix.external.connector.MxRuntimeConnector$1.execute (MxRuntimeConnector.java:68) com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf (Runner.java:32) com.mendix.external.connector.MxRuntimeConnector.processRequest (MxRuntimeConnector.java:74) com.mendix.basis.impl.MxRuntimeImpl.processRequest (MxRuntimeImpl.java:858) com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service (RuntimeHandler.java:42) javax.servlet.http.HttpServlet.service (HttpServlet.java:790) org.eclipse.jetty.servlet.ServletHolder.handle (ServletHolder.java:841) org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:535) org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:188) org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:1595) org.eclipse.jetty.server.handler.ScopedHandler.nextHandle (ScopedHandler.java:188) org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1253) org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:168) org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:473) org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:1564) org.eclipse.jetty.server.handler.ScopedHandler.nextScope (ScopedHandler.java:166) org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1155) org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:141) org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:132) org.eclipse.jetty.server.Server.handle (Server.java:561) org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:334) org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:251) org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:279) org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:104) org.eclipse.jetty.io.ChannelEndPoint$2.run (ChannelEndPoint.java:124) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce (EatWhatYouKill.java:247) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce (EatWhatYouKill.java:140) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run (EatWhatYouKill.java:131) org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run (ReservedThreadExecutor.java:243) org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:679) org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:597) java.lang.Thread.run (Thread.java:748)   Does anyone have any experience with APM? If there are, could you let me know if I am missing anything.I'm glad if you could give me any advice. Thanks in advance, Satomi
asked
3 answers
2

Hi Satomi,

This is a 'bug' in APM that will be fixed in a next release.

Under Settings>Enabled (on the APM Manager) your setting is probably "Runtime agent + Browser agent without guests" or "Runtime agent only", so when an Annonymous user accesses the page it shows that the Browser agent is disabled, but this shouldn't be shown as an error of course. In a next release it won't be shown as an error.

answered
2

Issue is fixed 

Mendix Application Performance Monitor

2.0.1

Framework version

7.0.2

Publish date

10/15/2018

Release notes

* Added support for file uploads for Load Testing
* Reduced logging from the Agent
* In case of an error while transmitting data to the APM Manager, logging the full JSON messages now default disabled.
* In case the Browser Agent is disabled per configuration on the APM Manager, the agent no longer log an error when a user opens the application.

answered
3

Hi Satomi,

I think it would be best if you contact Mendix support for issues with APM.

-Andrej

answered