Skip to content

Schannel: Failure when receiving data from the peer #4427

@jeroen

Description

@jeroen

A user of the R bindings has reported a bug that happens in the schannel backend for this particular server:

curl "https://exoplanetarchive.ipac.caltech.edu/cgi-bin/nstedAPI/nph-nstedAPI?table=exoplanets&select=pl_hostname,ra,dec" > out.txt

Which does succceed in retrieving data, but in the end always errors like this:

{ [8000 bytes data]
* schannel: failed to decrypt data, need more data
{ [8000 bytes data]
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
{ [8000 bytes data]
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
{ [8000 bytes data]
* schannel: server closed abruptly (missing close_notify)
* Closing connection 0
* schannel: shutting down SSL/TLS connection with exoplanetarchive.ipac.caltech.edu port 443

This is with libcurl 7.64.1, haven't been able to test yet with 7.66. The problem does not appear when using the openssl backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions