Skip to content

[OpenSSL Error] SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0 #6554

@JavaJix

Description

@JavaJix

Fixed in 10.2.0-beta.6

Expected Behavior

Making an https post with a query variable and a JSON body (with the CAR vin number) to the Peugeot site, should receive a JSON reply with the latest car version and if it needs an upgrade

Actual Behavior

When making the https post call Insomnia return the following error (works with postman):

Error: Failure when receiving data from the peer

Reproduction Steps

Post URL: https://api.groupe-psa.com/applications/majesticf/v1/getAvailableUpdate
Query variable: client_id=20a4cf7c-f5fb-41d5-9175-a6e23b9880e5
Json Body to post (i obscured my car VIN number for privacy):

{
"vin": "XXXXXXXXXXXXX",
"softwareTypes": [
{
"softwareType": "ovip-int-firmware-version"
},
{
"softwareType": "map-eur"
}
]
}

Is there an existing issue for this?

Additional Information

Mac Os Version: 13.6 22G120
Mac Studio with M2 Max (12C/38GPU) 32Gb ram and 512Gb ssd.

I've updated Curl and OpenSSL to the latest version with brew but the issue is still there.

Curl version: 8.3.0
OpenSSL version: 3.1.2 1 Aug 2023 (Library: OpenSSL 3.1.2 1 Aug 2023)

Below the timeline view:

POST /applications/majesticf/v1/getAvailableUpdate?client_id=20a4cf7c-f5fb-41d5-9175-a6e23b9880e5 HTTP/1.1
Host: api.groupe-psa.com
User-Agent: insomnia/2023.5.8
Content-Type: application/json
Accept: /
Content-Length: 165

| {
| "vin": "XXXXXXXXXXXXXXXXX",
| "softwareTypes": [
| {
| "softwareType": "ovip-int-firmware-version"
| },
| {
| "softwareType": "map-eur"
| }
| ]
| }

  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Mark bundle as not supporting multiuse

< HTTP/1.1 200 OK
< Connection: close
< Expires: 0
< Cache-Control: no-store, no-cache, must-revalidate, private
< Content-Type: application/json
< Date: Sun, 24 Sep 2023 09:44:16 GMT
< X-Global-Transaction-ID: 945fb68f651004f01e36bccd
< User-Agent: insomnia/2023.5.8
< Set-Cookie: PSACountry=IT; Domain=.groupe-psa.com; Path=/
< Vary: Accept-Encoding

  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 161 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 4 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 160 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 165 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 5 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 161 B chunk
  • TLSv1.2 (IN), TLS header, Supplemental data (23):
  • Received 25 B chunk
  • TLSv1.2 (OUT), TLS header, Unknown (21):
  • TLSv1.2 (OUT), TLS alert, decode error (562):
  • OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
  • Closing connection 0

Insomnia Version

2023.5.8

What operating system are you using?

macOS

Operating System Version

macOS 13.6 22G120

Installation method

download from insomnia site

Last Known Working Insomnia version

No response

Metadata

Metadata

Assignees

Labels

B-bugBug: general classificationS-verifiedStatus: Verified by maintaineropenssl

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions