Title: Stack LEMP ubuntu: error 500 http_request_failed &#8211; cURL error
Last modified: November 29, 2019

---

# Stack LEMP ubuntu: error 500 http_request_failed – cURL error

 *  Resolved [Branko](https://wordpress.org/support/users/lookiz/)
 * (@lookiz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/)
 * Hello,
 * I installed a lemp stack (nginx) on ubuntu 18.04. installed wordpress but the
   plugin returns the error test:
 * Test Result: Errore: 500 – http_request_failed – cURL error 28: Operation timed
   out after 20001 milliseconds with 0 bytes received
 * how can I solve this problem?
 * thanks

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * (@manzoorwanijk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12189294)
 * A few questions:
    1. When does it happen? During testing or when sending the posts?
    2. Is the message sent to Telegram?
    3. Is your host in Russia or Iran which blocks Telegram?
 *  Thread Starter [Branko](https://wordpress.org/support/users/lookiz/)
 * (@lookiz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12189702)
 * during the token bot test
    no the message is not sent my datacenter is in Moldova
 *  [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * (@manzoorwanijk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12189758)
 * It seems to be some issue with PHP set up. Do you use a VPS or shared hosting?
 *  Thread Starter [Branko](https://wordpress.org/support/users/lookiz/)
 * (@lookiz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12189804)
 * I use a dedicated server, my configuration looks good everything works, Site 
   Health WP is ok no error
 *  [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * (@manzoorwanijk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12190394)
 * If you have command line access to the server, can you please try `ping telegram.
   org` and `ping api.telegram.org`?
    You can send the results to our support on
   Telegram ([@WPTelegramSupport](https://t.me/WPTelegramSupport)) to have a look.
 *  Thread Starter [Branko](https://wordpress.org/support/users/lookiz/)
 * (@lookiz)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12191644)
 * here are the ping results
 * $ ping telegram.org
    PING telegram.org (149.154.167.99) 56(84) bytes of data.
   From 87.245.213.247 (87.245.213.247) icmp_seq=9 Packet filtered From 87.245.213.247(
   87.245.213.247) icmp_seq=12 Packet filtered ^C — telegram.org ping statistics—
   105 packets transmitted, 0 received, +2 errors, 100% packet loss, time 106430ms
 * $ ping api.telegram.org
    PING api.telegram.org (149.154.167.220) 56(84) bytes
   of data. 64 bytes from 149.154.167.220 (149.154.167.220): icmp_seq=1 ttl=56 time
   =40.6 ms 64 bytes from 149.154.167.220 (149.154.167.220): icmp_seq=2 ttl=56 time
   =40.6 ms — api.telegram.org ping statistics — 37 packets transmitted, 37 received,
   0% packet loss, time 36026ms rtt min/avg/max/mdev = 40.675/40.834/43.463/0.462
   ms
 *  [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * (@manzoorwanijk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12191708)
 * It seems like there is some host in your network route that blocks Telegram. 
   It may be a Russian host, because they block Telegram. You can contact your server
   provider and ask about requests to api.telegram.org being timed out.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Stack LEMP ubuntu: error 500 http_request_failed – cURL error’ is closed
to new replies.

 * ![](https://ps.w.org/wptelegram/assets/icon-256x256.png?rev=2500018)
 * [WP Telegram (Auto Post and Notifications)](https://wordpress.org/plugins/wptelegram/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptelegram/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptelegram/)
 * [Active Topics](https://wordpress.org/support/plugin/wptelegram/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptelegram/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptelegram/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Manzoor Wani](https://wordpress.org/support/users/manzoorwanijk/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/stack-lemp-ubuntu-error-500-http_request_failed-curl-error/#post-12191708)
 * Status: resolved