Skip to content
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

Randomly closes down without any exception #21

Open
Ajes1337 opened this issue Aug 7, 2018 · 2 comments
Open

Randomly closes down without any exception #21

Ajes1337 opened this issue Aug 7, 2018 · 2 comments

Comments

@Ajes1337
Copy link

Ajes1337 commented Aug 7, 2018

The example program randomly closes down twice for me, each time within 15 hours..

There is no error message or log..

I have another program feeding it small not-often tcp-packets to when it should make an order..

any idea what is causing this..?

@semashkinvg
Copy link
Owner

@Ajes1337 no idea, unfortunately, I will make some additional logging in the example to check what's going on (such a global error handling).
I will be able to add it only within next week so that if you could do it by yourself it would be much appreciated.

thanks,

@devbar
Copy link

devbar commented Feb 1, 2019

It feels like I am humbling with the same problem. For me it worked to "syncronize" the SendAsync call in proxy class.

From:

var response = await _httpClient.SendAsync(request);
var responseString = await response.Content.ReadAsStringAsync();

To:

var response = _httpClient.SendAsync(request).Result; // will give me a exception I can work on
var responseString = await response.Content.ReadAsStringAsync();

It's a workaround, not a fix. Something is happening to the exception while passing it to the calling point. I cannot see the bug, yet. Methods are returning Task not void.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants