question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Slow Connecting...

See original GitHub issue

I have the server running on a dual core and 4 GO RAM, but the problem is the time that it takes to connect to the proxy is too much, sometimes the ping is 3xxx ms. but after connecting, the speed is charming. I have even tried to set FAST_MODE = True
But no luck, the server is super fast at ping running other MTproto server implementations. Anyone with the same problem or a tip?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexberscommented, Aug 4, 2018

Could you try to ping several telegram servers from your host and post the ping times. The list of telegram servers can be found on https://core.telegram.org/getProxyConfig

1reaction
devbreathcommented, Aug 4, 2018

Small workaround, you can set CLIENT_KEEPALIVE = 60*60 in config.py. It will increase memory use and not help with initial connect, but should increase speed of connection after.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my Internet connection so slow? - Microsoft Support
Two of the most frequent causes of poor Internet performance are spyware and viruses. Spyware can slow your system by interfering with your...
Read more >
Why is my internet so slow? 11 ways to speed up your ... - ZDNet
Why is my internet so slow? 11 ways to speed up your connection · 1. Assess your bandwidth · 2. Check your speed...
Read more >
Slow Wi-Fi? This Might Be the Problem - CNET
1. So your Wi-Fi is slow and you think your service provider is throttling your connection. Before you jump to those conclusions, it's...
Read more >
The Top 10 Ways to Deal With a Slow Internet Connection
What's more annoying than having a great wifi or Ethernet connection, but slow internet speeds? Nothing. Nothing is more annoying than that.
Read more >
Why Is My Internet So Slow? - How-To Geek
There are many reasons your Internet connection might appear slow. It could be a problem with your modem or router, Wi-Fi signal, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found