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.

Client hangs indefinitely on connection, ignores `requestTimeout` setting

See original GitHub issue

For what it’s worth, both curl and sttp client cancel the same connection after the provided timeout.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
RafalSumislawskicommented, Aug 26, 2019

Hi Yes, I expect they’ve solved it, although I can’t be sure, as I wasn’t able to reproduce it.

0reactions
rossabakercommented, Aug 26, 2019

I think it did. Please reopen if it’s still a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BlazeClient: requestTimeout is not enforced #2386 - GitHub
Expected behavior: A timeout exception is thrown after 1 second. Actual behavior: The request seems to be stuck indefinitely.
Read more >
http connection timeout issues - java - Stack Overflow
So after the phone is idling, the first time i try to connect, the http connection ignores the setconnectiontimeout and runs forever, after...
Read more >
A Complete Guide to Timeouts in Node.js - Better Stack
Assigning timeout values prevents network operations in Node.js from blocking indefinitely. This article provides extensive instruction on ...
Read more >
Don't use Go's default HTTP client (in production) - Medium
A malfunctioning or malicious service can hang on to your connection forever, potentially starving your application. Golang · API.
Read more >
Does curl have a timeout? - Unix & Linux Stack Exchange
Yes. Timeout parameters. curl has two options: --connect-timeout and --max-time . Quoting from the manpage: --connect-timeout <seconds> ...
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