Server fails to respond, leaving client hanging during Playwright navigation request
Closed this issue · 1 comments
Sayuksh commented
Description
When the client sends a request to the FastAPI endpoint for Playwright navigation, the server encounters internal errors but does not return a response. As a result, the client hangs indefinitely waiting for a reply.
This appears to be caused by unhandled exceptions during the navigation flow, which are not caught and not translated into an HTTP response.
Expected Behavior
Server should catch internal exceptions and return a proper error response (e.g. HTTP 500) to avoid hanging clients.
Client Code - https://github.com/Sayuksh/MCP-ISSUE
Server Code - npx -y supergateway@2.1.0 --port 8931 --stdio "npx -y @executeautomation/playwright-mcp-server" --debug true
Device - MAC

Sayuksh commented
i fixed this