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.

Backend timeout looks like a request timeout

See original GitHub issue

The timeout defined in the backend section seems to be a timeout for the entire request. If I configure it lower than the time required to get the full response, but fast enough to get the template from the backend I get errors like:

Timeout exceeded, failed to respond in 100ms. Failed Fragment: http://XXX/account/

The fragment timeout however is set much higher in the template:

<div cx-url="{{server:status}}/account/" cx-timeout="4s">
</div>

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cliftonccommented, Jun 20, 2016

Thanks, merged and published today.

1reaction
cliftonccommented, Jun 14, 2016

From memory it was a safety net, a way to ensure it never got stuck or took too long (which under load would stack requests up and take the whole thing down).

It may be better to have the backend timeout be for the request to the backend, and perhaps add an optional parserTimeout that could be added if you wanted the larger timeout to be enabled?

Read more comments on GitHub >

github_iconTop Results From Across the Web

408 Request Timeout - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 408 Request Timeout response status code means that the server would like to shut down this unused ...
Read more >
How to implement a request timeout using the Promise.race ...
When fetching, the frontend is decoupled from the backend, and the frontend fetches the data from the backend (usually in JSON format). Many...
Read more >
Backend server timeout
The default timeout value for the timeout value is 60000 ms (60 seconds) as shown below: [execute][Sending request to backend ...
Read more >
Setting a Request Timeout for a Spring REST API - Baeldung
Configuring different request timeouts for different backend services may be necessary, and is possible with this solution. Also, the Mono or ...
Read more >
504 Gateway Timeout from Backend Server | Apigee Edge
Apigee Edge expects a response for every API request within a time period based on the timeout values. If the response is not...
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