-
Notifications
You must be signed in to change notification settings - Fork 837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling/Catching a socket hang up error #4254
Comments
@sanvipy Thanks for reporting this. We will look into this issue. |
I am experiencing this a lot now on Ubuntu 18.04. I have a local API I am working on and it works fine everywhere but on Postman. Currently testing with a browser for now as this happens a lot and the app is now unusable. |
+1 |
I'm also having random |
I am also encountering this issue, more so when working from home through a VPN and sending requests to our test environment (which is to be expected). The problem is not the socket hangups themselves but the fact that, when running a set of test cases in the Runner it completely stops the run instead of flagging the test case as Failed and continuing with the following test case. |
Just adding to the numbers here. I am also encountering this issue and it is very disruptive. We need either a workaround so we can implement a retry mechanic (which is a shoddy process already) or have it fixed. Or ideally both so we can save ourselves in the future if something similar to this occurs. |
Hey @ed-mak , @Mahonnant, @thepeej-pwhite6 Is this still an issue for you in the latest version of the platform? If so, is it possible to provide some reproducible steps in a newer version - I understand it's been a while and the platform has moved on since then but I wanted to revisit the issue. |
Saw this error in mac , but even if we are getting this error can we catch it programatically and not fail the runner altogether ? |
I am using the latest version (updated it yesterday while trying to solve this issue). I don't know how to provide reproducible steps, but I can provide a screenshot :p |
App Details:
Issue Report:
So Im running into Socket hang up errors very randomly.
While Im ok with the error itself, what bothers me is that the whole test pack stops without marking an error.
Is there any possible way to catch this socket error gracefully? ( So that I can flag that step as a Fail and continue with next steps). I do use try catch blocks in Tests part, but obviously that doesnt help in case of socket hang up error.
The text was updated successfully, but these errors were encountered: