Re: Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
Okay, on my Macbook Pro, I fixed this problem by adding this to my 
.bash_profile:

export 
JAVA_TOOL_OPTIONS="-Djavax.net.ssl.trustAnchors=$JAVA_HOME/jre/lib/security/cacerts
 
-Djavax.net.ssl.trustStore=$JAVA_HOME/jre/lib/security/cacerts"





On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com 
wrote:
>
> I've been away from Clojure for a year and I'm just coming back to it. I 
> assume some of my dependencies are out of date. I'm working on a project 
> that is 90% Java with a Clojure wrapper. I tried this:
>
> lein uber
>
> I got a "protocol version" error which seems to have something to do with 
> a new level of security at Maven. 
>
> So I tried this:
>
>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>
> and got all this: 
>
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
> #
> # JRE version: 7.0-b222
> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
> compressed oops)
> # Problematic frame:
> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core 
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # 
> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.sun.com/bugreport/crash.jsp
> #
> /usr/local/bin/lein: line 152: 66917 Abort trap: 6  
>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>
>
> Looking for some advice about the simplest way to get past this error? 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Received fatal alert: protocol_version

2018-11-22 Thread Andy Fingerhut
What are the outputs of 'java -version' and 'lein version' ?  What OS?

Some older versions of the JVM have older crypto certificates built into
them, which newer versions may improve upon.

Andy

On Thu, Nov 22, 2018 at 12:42 PM  wrote:

> Saw a suggestion here:
>
> https://github.com/technomancy/leiningen/issues/2364
>
> and tried it:
>
> LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2 lein -U deps
>
> but got:
>
> Could not transfer artifact io.javalin:javalin:pom:2.4.0 from/to central (
> https://repo1.maven.org/maven2/): java.lang.RuntimeException: Unexpected
> error: java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty
>
>
>
>
> On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com
> wrote:
>>
>> I've been away from Clojure for a year and I'm just coming back to it. I
>> assume some of my dependencies are out of date. I'm working on a project
>> that is 90% Java with a Clojure wrapper. I tried this:
>>
>> lein uber
>>
>> I got a "protocol version" error which seems to have something to do with
>> a new level of security at Maven.
>>
>> So I tried this:
>>
>>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>>
>> and got all this:
>>
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
>> #
>> # JRE version: 7.0-b222
>> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64
>> compressed oops)
>> # Problematic frame:
>> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
>> #
>> # Failed to write core dump. Core dumps have been disabled. To enable
>> core dumping, try "ulimit -c unlimited" before starting Java again
>> #
>> # An error report file with more information is saved as:
>> #
>> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
>> #
>> # If you would like to submit a bug report, please visit:
>> #   http://bugreport.sun.com/bugreport/crash.jsp
>> #
>> /usr/local/bin/lein: line 152: 66917 Abort trap: 6
>>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8
>> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS
>> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath
>> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>>
>>
>> Looking for some advice about the simplest way to get past this error?
>>
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
Saw a suggestion here:

https://github.com/technomancy/leiningen/issues/2364

and tried it:

LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2 lein -U deps

but got:

Could not transfer artifact io.javalin:javalin:pom:2.4.0 from/to central 
(https://repo1.maven.org/maven2/): java.lang.RuntimeException: Unexpected 
error: java.security.InvalidAlgorithmParameterException: the trustAnchors 
parameter must be non-empty




On Thursday, November 22, 2018 at 3:37:31 PM UTC-5, lawrence...@gmail.com 
wrote:
>
> I've been away from Clojure for a year and I'm just coming back to it. I 
> assume some of my dependencies are out of date. I'm working on a project 
> that is 90% Java with a Clojure wrapper. I tried this:
>
> lein uber
>
> I got a "protocol version" error which seems to have something to do with 
> a new level of security at Maven. 
>
> So I tried this:
>
>  LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber
>
> and got all this: 
>
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
> #
> # JRE version: 7.0-b222
> # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
> compressed oops)
> # Problematic frame:
> # J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
> #
> # Failed to write core dump. Core dumps have been disabled. To enable core 
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # 
> /Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
> #
> # If you would like to submit a bug report, please visit:
> #   http://bugreport.sun.com/bugreport/crash.jsp
> #
> /usr/local/bin/lein: line 152: 66917 Abort trap: 6  
>  "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
> -Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
> -Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
> "$CLASSPATH" clojure.main -m leiningen.core.main "$@"
>
>
> Looking for some advice about the simplest way to get past this error? 
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Received fatal alert: protocol_version

2018-11-22 Thread lawrence . krubner
I've been away from Clojure for a year and I'm just coming back to it. I 
assume some of my dependencies are out of date. I'm working on a project 
that is 90% Java with a Clojure wrapper. I tried this:

lein uber

I got a "protocol version" error which seems to have something to do with a 
new level of security at Maven. 

So I tried this:

 LEIN_JVM_OPTS=-Dhttps.protocols=TLSv1.2   lein uber

and got all this: 

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=106510692, pid=66917, tid=123145404563456
#
# JRE version: 7.0-b222
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 
compressed oops)
# Problematic frame:
# J  clojure.lang.Symbol.equals(Ljava/lang/Object;)Z
#
# Failed to write core dump. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# 
/Users/sugar/projects/vegetable/repos/cortex/cortext-clj/hs_err_pid66917.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
/usr/local/bin/lein: line 152: 66917 Abort trap: 6  
 "$LEIN_JAVA_CMD" "${BOOTCLASSPATH[@]}" -Dfile.encoding=UTF-8 
-Dmaven.wagon.http.ssl.easy=false -Dmaven.wagon.rto=1 $LEIN_JVM_OPTS 
-Dleiningen.original.pwd="$ORIGINAL_PWD" -Dleiningen.script="$0" -classpath 
"$CLASSPATH" clojure.main -m leiningen.core.main "$@"


Looking for some advice about the simplest way to get past this error? 




-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.