SV Connection Lost to DevTest Portal :401,"message":"Authorization failed"

book

Article ID: 197200

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

Users are getting kicked out of browser sessions with the DevTest Portal. They get the following error message on Portal:

Connection Lost to Portal!
The connection between your browser and the DevTest Portal has been lost.

We see the following errors in the portal-grails log:
2020-06-11 15:02:03,962Z (10:02) [qtp681490434-353] ERROR org.grails.web.errors.GrailsExceptionResolver - RetrofitError occurred when processing request: [GET] /devtest/api/sv/vseServers/VSE/services
401 Unauthorized. Stacktrace follows:
retrofit.RetrofitError: 401 Unauthorized

and 

2020-06-11 15:02:03,978Z (10:02) [qtp681490434-354] ERROR org.grails.web.errors.GrailsExceptionResolver - JSONException occurred when processing request: [GET] /devtest/api/sv/recordingService/getRecordings/VSE
A JSONArray text must start with '[' at character 1 of {"id":401,"message":"Authorization failed"}
. Stacktrace follows:

Cause

 

Customer had the following setting in the vmoptions file for Garbage collection

-XX:+UseG1GC

 

Environment

Release : 10.4

Component : CA Service Virtualization

Resolution

 

#-XX:+UseG1GC property was removed from VMOPTIONS

https://planet.jboss.org/post/what_is_the_fastest_garbage_collector_in_java_8

As per the link,  this setting is not recommended for JDK 8