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.

WebUI: Investigate and fix issue of streaming endpoints not terminating properly

See original GitHub issue

Currently we are using HTTP standard AbortController to terminate gRPC streaming endpoints. It doesn’t seem like it is working. It is noticeable when viewing hp visualizations. When clicking around the various graphs in hp-viz, multiple streaming endpoints are called, but after about 4th click, the page will show a spinner. If we look at the Network tab on the browser, we’ll observe that the latest streaming endpoint call ends up in a Pending state because there were about 8~12 gRPC streaming endpoints that are still open and have not terminated yet.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
hkang1commented, Jul 13, 2021

https://github.com/hamidzr/determined/tree/stream-abort

I see, thanks, this was REALLY helpful. Looking again at the hp-viz section, it’s possible the cleanup portion in the useEffects are not calling the cleanup callback properly. I’ll take a look.

1reaction
hamidzrcommented, Jul 13, 2021

a separate issue but we can probably get these two streaming request to be closed by the server in terminal states

curl 'http://xyz/api/v1/trials/2692/logs/fields?follow=true' \
  --compressed \
  --insecure

curl 'http://MYSERVER/api/v1/experiments/1828/hyperparameter-importance' \
  --compressed \
  --insecure
Read more comments on GitHub >

github_iconTop Results From Across the Web

Jobs with long running tasks and Inventory sync terminating ...
Seems if there is no output to AWX from the playbook/pod for 5 minutes, there is a somekind of timeout mechanism and the...
Read more >
Troubleshoot External HTTP(S) Load Balancing - Google Cloud
This guide describes how to troubleshoot configuration issues for a Google Cloud external HTTP(S) load balancer. Before investigating issues, familiarize ...
Read more >
Troubleshooting Git - GitLab Docs
Here are some tips on troubleshooting and resolving issues with Git. Broken pipe errors on git push. 'Broken pipe' errors can occur when...
Read more >
Troubleshoot pipeline runs - Azure DevOps - Microsoft Learn
This topic provides general troubleshooting guidance. For specific troubleshooting ... Pull request triggers not supported with Azure Repos.
Read more >
Fix packs for DataPower Gateway version 2018.4.1 - IBM
Download Description ; IT36680, ENDPOINT REWRITE POLICY IS NOT SHOWN CORRECTLY IN WEBGUI AFTER WSP IMPORT ; IT38064, DATAPOWER WEBSPHERE JMS SOMETIMES GIVES...
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