Actions
Incident #6510
closedWorkspace download servlet still not resilient to session expiration
Status:
Closed
Priority:
Immediate
Assignee:
Category:
Application
Target version:
Start date:
Jan 20, 2017
Due date:
Jan 23, 2017
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
We just had a user from GEMex Gateway having the session expiration problem.
It seems that the WorkspaceDownload Servlet is still trying to read the user from the cookie in some part of the code. After the user logged out and logged in it could download the files.
See exception:
[PORTAL] 1558720322 [http-bio-9090-exec-408] ERROR org.gcube.common.portal.PortalContext - The userId does not belong to any user -> -1 2017-01-20 15:44:47,705 ERROR portal.PortalContext [http-bio-9090-exec-408,getCurrentUser:142] %[PORTAL] 1558720322 [http-bio-9090-exec-408] ERROR org.gcube.common.portal.PortalContext - The userId does not belong to any user -> -1 2017-01-20 15:44:47,705 WARN server.DownloadServlet [http-bio-9090-exec-408,handleError:462] %[PORTAL] 969287422 [http-bio-9090-exec-408] WARN org.gcube.portlets.user.workspace.server.DownloadServlet - Handle error occurred: 500: Error during workspace retrieving 2017-01-20 15:45:00,454 INFO events.LandingPageAction [http-bio-9090-exec-424,run:26] %[PORTAL] 1558325842 [http-bio-9090-exec-424] INFO org.gcube.portal.events.LandingPageAction - LandingPageAction is ON 2017-01-20 15:45:00,455 INFO events.LandingPageAction [http-bio-9090-exec-424,getCustomLandingPage:48] %[PORTAL] 1558325843 [http-bio-9090-exec-424] INFO org.gcube.portal.events.LandingPageAction - Private Site LandingPage Path = /group/gemex-gateway 2017-01-20 15:45:01,423 INFO server.NewsServiceImpl [http-bio-9090-exec-408,getUserConfiguration:1012] %[PORTAL] 1558734040 [http-bio-9090-exec-408] INFO org.gcube.portlets.user.newsfeed.server.NewsServiceImpl - Trying to read custom config fr News Feed (REFRESH_TIME, VRE Label and show timeline source) 2017-01-20 15:45:01,474 INFO server.NewsServiceImpl [http-bio-9090-exec-413,getAllUpdateUserFeeds:195] %[PORTAL] 1558734091 [http-bio-9090-exec-413] INFO org.gcube.portlets.user.newsfeed.server.NewsServiceImpl - ****** retrieving posts for user: eugenio [PORTAL] 1558734306 [http-bio-9090-exec-406] INFO HomeManageFactory - loading home. (Username: eugenio, scope: /d4science.research-infrastructures.eu) [PORTAL] 1558734306 [http-bio-9090-exec-406] INFO HomeManageFactory - getHomeManagerFactory 2017-01-20 15:45:02,083 INFO server.UserStatisticsServiceImpl [http-bio-9090-exec-409,getPostsStats:242] %15:45:02,083 INFO [http-bio-9090-exec-409][UserStatisticsServiceImpl:242] Context(s) that are going to be used [/d4science.research-infrastructures.eu/gCubeApps/GEMex]
Actions