Persistent TLS Connection Error on Replit

Hello everyone, I’m reaching out to the community for help with a persistent TLS connection error I’m encountering on Replit. Every time I try to make a curl request to my Replit-hosted service, I get the following error:

curl: (35) error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error

This occurs when trying to access the root URL as well as when sending a POST request to my webhook. Here’s the command I’m using:

curl --insecure

And for the POST request:

curl --insecure -X POST -H "Content-Type: application/json" -d "{\"update_id\": 10000, \"message\": {\"chat\": {\"id\": 123456789, \"first_name\": \"John\", \"last_name\": \"Doe\", \"type\": \"private\"}, \"date\": 1441645532, \"message_id\": 1365, \"text\": \"/start\"}}"

I’ve tried the following without any success:

  • Running curl with the --insecure flag to bypass SSL certificate verification.
  • Forcing curl to use a specific TLS version (e.g., --tlsv1.2 ).
  • Restarting my Replit server.

Has anyone faced a similar issue or have any suggestions on what I might try next to resolve this? Any insights would be greatly appreciated!

Thank you in advance for your time and help.



Thank you very much, this will teach me to read the internet documentation rather than that of Replit.
Indeed, with the form, it works.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.