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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With