This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-316
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-316 by this push:
new 4e1574a Update NCCli.scala
4e1574a is described below
commit 4e1574af775f3737f4269c4592ee491db38a0056
Author: unknown <[email protected]>
AuthorDate: Fri May 7 10:40:18 2021 -0700
Update NCCli.scala
---
.../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index 3183f7f..5328005 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -422,6 +422,7 @@ object NCCli extends NCCliBase {
JVM_OPTS_RT_WARNS.foreach(srvArgs += _)
srvArgs += "-DNLPCRAFT_ANSI_COLOR_DISABLED=true" // No ANSI colors for
text log output to the file.
+ srvArgs += "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" // Fix for
https://bugs.openjdk.java.net/browse/JDK-8213202
srvArgs += "-cp"
srvArgs += JAVA_CP
srvArgs += "org.apache.nlpcraft.NCStart"
@@ -595,6 +596,8 @@ object NCCli extends NCCliBase {
JVM_OPTS_RT_WARNS.foreach(jvmArgs += _)
+ jvmArgs += "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" // Fix for
https://bugs.openjdk.java.net/browse/JDK-8213202
+
if (cfgPath != null)
jvmArgs += s"-DNLPCRAFT_PROBE_CONFIG=$cfgPath"
@@ -676,6 +679,7 @@ object NCCli extends NCCliBase {
JVM_OPTS_RT_WARNS.foreach(prbArgs += _)
prbArgs += "-DNLPCRAFT_ANSI_COLOR_DISABLED=true" // No ANSI colors for
text log output to the file.
+ prbArgs += "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" // Fix for
https://bugs.openjdk.java.net/browse/JDK-8213202
if (mdls != null)
prbArgs += "-Dconfig.override_with_env_vars=true"