Skip to content

Crash the webserver and restart the main application  #597

@gangwar1

Description

@gangwar1

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+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions