D
D
Daniel2019-07-07 23:11:24
PHP
Daniel, 2019-07-07 23:11:24

What is the problem when working with the Telegram API error - SSL: Connection reset by peer?

Good afternoon, when executing a request:

file_get_contents(" https://api.telegram.org/bot$token/editMessageText? " . http_build_query("some text of 100+ characters") );

Throws this error:

Warning: file_get_contents(): SSL: Connection reset by peer in filepath/file.php on line n
Warning: file_get_contents(): Failed to enable crypto in filepath/file.php on line n
Warning: file_get_contents(url in filepath/file. php on line

Thank you in advance)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question