Environment: Linux.
Have controller/event service and EUM installed. Controller and Event service are up and running. I get the following error in EUM logs - ANy ideas on overcoming the authorization error and where to configure?
Appreciate if someone could provide this info sooner as the trail is going to end 🙂
20 Feb 2017 12:51:22.042 +0530 main AD.ALL INFO ------start synchronize eum acct to analytics acct!---------
20 Feb 2017 12:51:22.046 +0530 main AD.AnalyticsAccountManage INFO ************** Starting Registration of Analytics Account for EUM account="309414-ss-CiscoSystemsInc-lwmke0rtli6u" **************
20 Feb 2017 12:51:22.515 +0530 main AD.AnalyticsAccountManage ERROR CreateAccount : account="309414-ss-CiscoSystemsInc-lwmke0rtli6u", Error Code [401], Exception [RestException(statusCode=401, code=Auth.Unauthorized, message=The supplied auth information is incorrect or not authorized., developerMessage=)] Dev Message []
20 Feb 2017 12:51:22.516 +0530 main AD.AnalyticsAccountManage INFO start updating BrowserRecord
20 Feb 2017 12:51:22.606 +0530 main AD.AnalyticsAccountManage INFO HttpResponseProxy{HTTP/1.1 401 Unauthorized [Date: Mon, 20 Feb 2017 07:21:22 GMT, X-Content-Security-Policy: default-src 'self', X-XSS-Protection: 0, X-Content-Type-Options: nosniff, Frame-Options: DENY, X-Frame-Options: DENY, Content-Type: application/json, Transfer-Encoding: chunked] ResponseEntityProxy{[Content-Type: application/json,Chunked: true]}}
20 Feb 2017 12:51:22.640 +0530 main AD.AnalyticsAccountManage ERROR
| failed bulk updating BrowserRecord
| java.lang.RuntimeException: bulk update event type=BrowserRecord failed!!! url=http://localhost:9080/v2/events/BrowserRecord/_bulk, key=ZWIwMm...
| {"statusCode":401,"code":"Auth.Unauthorized","message":"The supplied auth information is incorrect or not authorized.","developerMessage":""}
| at com.appdynamics.eumcloud.analytics.AnalyticsAccountManager.bulkUpdateAnEventType(AnalyticsAccountManager.java:289)
| at com.appdynamics.eumcloud.analytics.AnalyticsAccountManager.bulkUpdateEventTypes(AnalyticsAccountManager.java:229)
| at com.appdynamics.eum.processor.EUMProcessorServerApplication.syncEumAccountsToAnalyticsAccounts(EUMProcessorServerApplication.java:233)
| at com.appdynamics.eum.processor.EUMProcessorServerApplication.run(EUMProcessorServerApplication.java:173)
| at com.appdynamics.eum.processor.EUMProcessorServerApplication.run(EUMProcessorServerApplication.java:114)
| at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
| at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:76)
| at io.dropwizard.cli.Cli.run(Cli.java:70)
| at io.dropwizard.Application.run(Application.java:72)
| at com.appdynamics.eumcloud.EUMProcessorServer.main(EUMProcessorServer.java:40)
Hi Ksubbian,
Can you cross check if the value set for analytics.accountAccessKey in eum.properties is equal to the value of appdynamics.es.eum.key.
You can get this value from admin.jsp
FYI: The value of appdynamics.es.eum.key
will automatically be set to the property analytics.accountAccessKey
of the file <EUM_HOME>/bin/eum.properties
If this isn't set,then you have to manually set it to make sure that the key values matches.