mcp-playwright icon indicating copy to clipboard operation
mcp-playwright copied to clipboard

Server fails to respond, leaving client hanging during Playwright navigation request

Open Sayuksh opened this issue 7 months ago • 0 comments

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 [email protected] --port 8931 --stdio "npx -y @executeautomation/playwright-mcp-server" --debug true Device - MAC

Image Image Image

Sayuksh avatar Apr 10 '25 09:04 Sayuksh