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

server stop responding after some time #595

Open
RagibNoor opened this issue May 1, 2024 · 1 comment
Open

server stop responding after some time #595

RagibNoor opened this issue May 1, 2024 · 1 comment

Comments

@RagibNoor
Copy link

Describe the bug
After upgrading from Xamarin to MAUI, I encountered an issue with EmbedIO. Within my application, I run two EmbedIO servers: one serves the frontend static files and the other handles backend APIs. However, after a certain number of calls from the frontend application, the backend server stops responding. This issue only seems to occur in device builds.

To Reproduce
Steps to reproduce the behavior:
1 Upgrade from Xamarin to MAUI.
2 Set up two EmbedIO servers within the application.
3 Make several calls from the frontend application to the backend server.
4 Observe that after a certain number of calls, the backend server stops responding.
Expected behavior

The backend server should continue to respond to requests from the frontend application without interruption, regardless of the number of calls made.

@Blue101black
Copy link

I get the same issue randomly in our production app.

I've added logging around the StateChanged event on the WebServer that should help identify if we are actually getting the "Stopped" event and then probably look at restarting the server if we get that.

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

2 participants