After upgrading the environment, users are unable to create new SAS Visual Data Mining and Machine Learning projects in Model Studio. When they try, an error similar to the following occurs:
In this scenario, the sas-analytics-services2_2023-03-13_11-21-31.log file contains messages similar to the following:
2023-03-23 08:55:26.563 ERROR 1653576 --- [-auto-2-exec-10:analyticsGateway] c.s.a.g.capability.ProjectCapabilities : ca_svc_sasmusteri(b18a7043-3116-4cbc-9985-fa9ba78ba0de) [fa9e33349faf15bc] [capability.invocation.error] Error invoking capability PROJECT_PRE_CREATE on provider datamining
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "/dataMining/projects": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
Caused by: java.net.SocketTimeoutException: Read timed out
The sas-data-mining_2023-03-13_11-20-29.log file contains messages similar to the following:
2023-03-23 08:58:08.185 ERROR 2014788 --- [0-auto-4-exec-9:dataMining] c.s.c.r.e.CompleteExceptionHandler : ca_svc_sasmusteri(b18a7043-3116-4cbc-9985-fa9ba78ba0de) [86c8767588984ddf] [INTERNAL_SERVER_ERROR] Internal server error. Request: uri=/dataMining/projects;client=10.34.15.203;user=ca_svc_sasmusteri. Error details: org.springframework.web.client.ResourceAccessException - 'I/O error on GET request for "/casManagement/servers/cas-shared-default/caslibs/Public/tables": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out'
2023-03-23 08:58:08.191 ERROR 2014788 --- [0-auto-4-exec-9:dataMining] com.sas.commons.rest.ExceptionLog : ca_svc_sasmusteri(b18a7043-3116-4cbc-9985-fa9ba78ba0de) [86c8767588984ddf] org.springframework.web.client.ResourceAccessException: I/O error on GET request for "/casManagement/servers/cas-shared-default/caslibs/Public/tables": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
2023-03-23 08:58:08.191 ERROR 2014788 --- [0-auto-4-exec-9:dataMining] com.sas.commons.rest.ExceptionLog : ca_svc_sasmusteri(b18a7043-3116-4cbc-9985-fa9ba78ba0de) [86c8767588984ddf] caused by: java.net.SocketTimeoutException: Read timed out
A similar time-out issue is documented in SAS KB0036370. This behavior is caused by an issue called JDK-8282859: Enable TLSv1.3 by Default on JDK 8 for Client Roles in Java OpenJDK version 1.8.0_352.
The problem occurs with Java OpenJDK version 1.8.0_352 or later. If you experience this issue, use the following workaround to disable the TLS 1.3 for clients protocols that use the jdk.tls.client.protocols system property:
1. Create the /opt/sas/viya/config/etc/sysconfig/sas-javaesntl/sas-java-services-disabletls13 file that contains the following statement: export java_global_option_disabletls13="-Djdk.tls.client.protocols="TLSv1.2""
2. Restart the CAS support microservices: systemctl restart sas-viya-cas-administration-default sas-viya-casrowsets-default sas-viya-cas-access-management-default sas-viya-cas-formats-default sas-viya-cas-license-default
After implementing the change, the following message should appear in the sas-cas-administration_2023-04-05_09-01-25.log file:
JAVA_OPTION_DISABLETLS13:-Djdk.tls.client.protocols=TLSv1.2
-Djdk.tls.client.protocols=TLSv1.2
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS Visual Data Mining and Machine Learning | Linux for x64 | 8.5 | | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.