Hi all, I'm trying to run a test sending a message. I'm running just the same code as the one in this link: http://docs.pushwoosh.com/docs/createmessage#PushserviceAPI-JavaSample but, never connect to the server. The error got is java.lang.RuntimeException: Could not generate DH keypair in handshaking. Any clue about what's happening? I'm using java6 u29.

Thanks.

asked 09 Feb '16, 11:46
Julio's gravatar image

Julio
113

Hi,

Java 6 does not support DH parameters longer than 1024 bits, as well as some latest strong ciphers, while Pushwoosh is using 2048/4096 bits DH keys. The solution is to either update your Java, or consider not using SSL.

permanent link
answered 10 Feb '16, 14:15
Benedict's gravatar image

Benedict
7127

Hi Benedict, Thanks, I got it yesterday. As a temporary solution I'll use it without SSL until java version is updated in my backend.

permanent link
answered 10 Feb '16, 15:11
Julio's gravatar image

Julio
113

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×326
×91
×52

question asked: 09 Feb '16, 11:46

question was seen: 1,247 times

last updated: 10 Feb '16, 15:11