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

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.