Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006063 [Resin] minor always 06-20-17 18:10 07-05-17 15:40
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.54 Product Version 4.0.52
  Product Build
Summary 0006063: JSSE properties settings issues
Description (rep by Marc Wiest)

We’ve just (or wanted to) upgrade resin to 4.0.52, when we faced the following problem:

 

A program that works perfectly well on 4.0.49 is starting to throw SSLHandshakeExceptions when making an HTTPS connection to buy.itunes.apple.com

 

The program snippet is plain simple (using Spring REST Template):

 

// Set header

        HttpHeaders requestHeaders = new HttpHeaders();

        requestHeaders.set("Content-Type", "application/json; charset=UTF-8");

 

        // Assemble and send request

        RestTemplate restTemplate = new RestTemplate();

        HttpEntity<?> httpEntity = new HttpEntity<Object>(requestBody.toString(), requestHeaders);

        return restTemplate.exchange(url, HttpMethod.POST, httpEntity, String.class);

 

Nothing special.

We first thought it would be the Java JRE issue and downgraded that to what we had previously but that didn’t make a difference. However, downgrading resin back to 4.0.49 solved the problem.

 

Can you imagine why this is happening? Is resin setting any system properties on cipher suites, etc. that would affect outgoing HTTPS connections from the application?

I personally don’t see how it can be resin’s fault, but it obviously is!

 

We’re running on Debian and OpenJDK 1.8.0_131.

 
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006762)
ferg
07-05-17 15:40

network/0516
 

- Issue History
Date Modified Username Field Change
06-20-17 18:10 ferg New Issue
06-21-17 00:07 marc82ch Issue Monitored: marc82ch
07-05-17 15:40 ferg Note Added: 0006762
07-05-17 15:40 ferg Assigned To  => ferg
07-05-17 15:40 ferg Status new => closed
07-05-17 15:40 ferg Resolution open => fixed
07-05-17 15:40 ferg Fixed in Version  => 4.0.54


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker