Hexagon Geospatial
MENU

ERDAS APOLLO Q&A

ERDAS APOLLO provides comprehensive data management and delivery which includes organizing geospatial and business data into a centralized library with cloud or on-premise distribution options.
Showing results for 
Search instead for 
Do you mean 

Workaround for "Invalid token" error with WIndows Authentication and User Maps & Workflow

by Technical Evangelist Thursday (20 Views)

"Invalid token" error can be triggered by following the workflow below:

[How to repeat]
[1] Go to Apollo "welcome" page, go to Administrative Console, go to Maps & Workspaces
[2] From "add data source" to add your Apollo server as Apollo,
[3] From "add data source" to add Blue Marble "as WMS"
[4] In User Maps, dropdown on Workspaces, Add "from MAP" check use credentials
Expand Maps under your mew workspace and delete all of the default maps. They have the incorrect data sources.
Use windowing controls to window over US
[5] Dropdown on the new workspace and Add . from Map, Check use credentials, Enter USA as name for map.
Window over South America, Europe, Africa, and add maps under the new workspace.
[6] Dropdown on the new workspace and set for instance, as starting workspace, check Apollo-portal, and select "set" in bottom left.
Exit.
[8] Go back to Apollo DM, and attempt to login

 

[What was expected to happen]
User should be able to login to DM

 

[What did happen]
nothing happens, user can not login to DM.
Look at the Tomcat log. You'll see many ""invalid token" errors

==========================================================================
2018-06-25 09:52:40,648 WARN (ajp-nio-8009-exec-1)[waffle.spring.NegotiateSecurityFilter] error logging in user: com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid
2018-06-25 09:52:40,648 WARN (ajp-nio-8009-exec-7)[waffle.spring.NegotiateSecurityFilter] error logging in user: com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid
2018-06-25 09:52:40,648 WARN (ajp-nio-8009-exec-2)[waffle.spring.NegotiateSecurityFilter] error logging in user: com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid
2018-06-25 09:52:40,648 WARN (ajp-nio-8009-exec-5)[waffle.spring.NegotiateSecurityFilter] error logging in user: com.sun.jna.platform.win32.Win32Exception: The token supplied to the function is invalid
==========================================================================

 

 

 

The workaround is to restart server.

Or

The best workaround for this is to use a direct link to the Administrative Console instead of the Apollo landing pages link. Something like this:

http://<APOLLOSERVER>/AdminConsole/App
or
http://localhost/AdminConsole/App

 

 

Contributors