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.

Unable to connect: "Failed to clear webhook"|"Connection reset by peer"

See original GitHub issue

Hello, my bot is failing to start with error

Failed to clear webhook
akka.stream.StreamTcpException: The connection closed with error: Connection reset by peer

My guess is my connection to Telegram servers gets blocked.

Among your resent issues I saw your answer about proxy support. Is it still possible to access your refactored version (3.1.0-RC1)?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mukelcommented, Jun 30, 2018

You can pull the proxy logic yourself. Just need to copy ScalajHttpClient.scala and ScalajHttpMarshalling and use it as you client. Here’s an example https://github.com/mukel/telegrambot4s/blob/refactor/examples/src/ProxyBot.scala

1reaction
mukelcommented, Jun 30, 2018

I’m on vacation ATM (no laptop) but I could publish an RC2 with the recent patches and proxy support next week. I’ve been working on a large refactor (ScalaJs support, circe-based serialization, proxy support via ScalajHttpClient, modular design…) You can try building from source the js branch (it uses mill instead of SBT). Sorry for the inconvenience, feel free to open an issue or continue the discussion here, I’ll galdly help you sort it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

failed calling webhook - connection reset by peer #106509
Now K8S fails to call the webhook with the following error. The nginx admission conroller is not invoked, I don't see any handling...
Read more >
Connection Reset by Peer - Google Groups
Hi. Usually error means that client (browser) terminated connection before request was completely handled and returned to client.
Read more >
Webhook server: readv() failed (104: Connection reset by peer)
"Connection Refused" is a pretty specific error - usually means nothing is listening on port 9001. Have you confirmed that the webhooks server ......
Read more >
Stripe Webhook Error Unable to Connect - Stack Overflow
I am facing a weird issue with my website built in Rails 4. While developing it I was testing the Stripe webhook using...
Read more >
The Definitive Debugging Guide for the cert-manager ...
The message "connection refused" happens when the API server tries to establish a TCP connection with the cert-manager-webhook. In TCP terms, ...
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