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