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

Crash the webserver and restart the main application #597

Open
gangwar1 opened this issue Aug 1, 2024 · 0 comments
Open

Crash the webserver and restart the main application #597

gangwar1 opened this issue Aug 1, 2024 · 0 comments

Comments

@gangwar1
Copy link

gangwar1 commented Aug 1, 2024

Describe the bug
I have an maui application with target framework .net 8 android.
In this application I am using a this embedio webserver in a separate thread with one controller as per document.
Now in that api's we doing some operations in thiose operations some are log running so we agin doing those operations in new thread meanwhile we returned the 200 response for that api. If we have some exceptions in long running task it raise crash the server even we have try catch handling in that thread .
Due to this my main maui application is restart by automatically and when we try to access the server it will not access. Even we try to run again it give socket exceptions permission denied.

Smartphone (please complete the following information):

  • Device: phone and tablet both
  • OS: android
  • Version 10+
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

1 participant