Error: write EPROTO 34557064:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER

Viewed 132990
Error: write EPROTO 34557064:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:

The issue was that I was trying to POST to https when that API actually only supports HTTP. Just leave this as a note for other folks who might run into the same issue.

Any Help can be appreciated

5 Answers

This type of issue comes when you use https instead of http. Change the URL to use http.

Example: https://localhost:3000/posts

Change it to: http://localhost:3000/posts

This error comes when the API that we are hitting is running on http and we are trying using https. Information was really useful.

Example: Using this https://localhost:8092/customers, when this http://localhost:8092/customers, must be used as API is running on http.

I had this issue in Postman when I tried to hit a before working API endpoint.

In my case, it was a Header that I had set manually before and forgotten to delete.

Header: Host

It has normally the value <calculated when request is sent> but I had it given a custom value.

error-write-eproto-34557064error100000f7ssl-routinesopenssl-internalwrong

https://localhost:5000/users replace https to http

I encountered this error while trying to test the api request on postman. Ensure the the url link specified during the development process is the same url link been used during testing of postman.

example: during development, the url link specified is http://_. Then, during testing on postman make sure that the link is the same http://.

API requests from Http:// and Https:// are treated and handled differently.

Related