Written by

Integration engineer at CHRV
Question Thomas Vessiere · Jan 13, 2023

SSL/TLS Error for request to external API.

Hello. 

I'm trying to transfer two connectors from my test env to my production env ( both are IRIS 2021.1 ) 

So i have created an SSL configuration on both :

Test env : 

Production env : 

The connector work well on the test env. When i try the same code in my production env i got this error :
 

Erreur lors de la récupération du token : ERROR #6085: Unable to write to socket with SSL/TLS configuration 'XXXXX', error reported 'SSL/TLS error in SSL_connect(), SSL_ERROR_SYSCALL: I/O error (183)'

I tried to use the advanced debug like this post : https://community.intersystems.com/post/error-6085-unable-write-socket-… . But nothing appear in my cconsole.log

%SYS> d ^REDEBUG

FFFFFFFF

Do you have any suggestion ?

Thanks.

Vessiere Thomas.

Product version: IRIS 2021.2

Comments

Eduard Lebedyuk · Jan 13, 2023

Would it work with Enabled cipherlist (TLSv1.2 and below): ALL

Can you set Maximum Protocol Version to TLSv1.3?

0
Eduard Lebedyuk  Jan 13, 2023 to Thomas Vessiere

Yes, like that.

Is it the same OS?

You can also try running:

openssl s_client -connect <URL or IP>:<port>
0
Julian Matthews · Jan 13, 2023

Hi Thomas.

Are you trying to connect to the same API endpoint from Test and Live?

Is it possible that the end point is performing IP filtering so your request from the Live server is being rejected?

0
Thomas Vessiere  Jan 13, 2023 to Julian Matthews

Hello.

I asked the API's owner. He doesn't have any filtering :/ 

0
Thomas Vessiere · Feb 16, 2023

Solved.

Misconfiguration in the firewall.

Thanks everyone. 

0