title: cypher-shell not responding
body: <p>I am running Neo4J Community Edition 3.1.1 on Ubuntu, with openjdk version 1.8.0_131.</p>
  
  <p>Until a few days ago, it was possible to launch cypher queries from command line, eg. like</p>
  
  <pre><code>&gt; cat myscript.cql | /neo4j/neo4j-community-3.1.1/bin/cypher-shell -u
  &gt; $neo4j_user -p $neo4j_pass --format verbose
  </code></pre>
  
  <p>This was working fine for a long time. For some reason that I haven't been able to determine, since a few days ago cypher-shell just hangs without returning any message to the standard output.</p>
  
  <p>Java version was not changed. </p>
  
  <p>This is the error that I see in the logfile when cypher-shell is launched:</p>
  
  <pre><code>&gt; 2018-08-11 21:30:01.851+0000 WARN 
  &gt; [io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event
  &gt; was fired, and it reached at the tail of the pipeline. It usually
  &gt; means the last handler in the pipeline did not handle the exception.
  &gt; java.lang.ExceptionInInitializerError
  &gt; io.netty.handler.codec.DecoderException:
  &gt; java.lang.ExceptionInInitializerError
  &gt;         at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:442)
  &gt;         at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:248)
  &gt; (...) Caused by: java.lang.IllegalArgumentException: Unsupported
  &gt; customized DH key size: 4096. The key size can only range from 1024 to
  &gt; 2048 (inclusive)
  &gt;         at sun.security.ssl.ServerHandshaker.&lt;clinit&gt;(ServerHandshaker.java:140)
  &gt; (...)
  </code></pre>
  
  <p>Full log here <a href="https://www.dropbox.com/sh/a7oh7h6ta6chnc4/AABYC0NvjALnOPEPJ9-oXZdna?dl=0" rel="nofollow noreferrer">https://www.dropbox.com/sh/a7oh7h6ta6chnc4/AABYC0NvjALnOPEPJ9-oXZdna?dl=0</a></p>