Browserless v1 template with Typescript
mrturck
PROOP

2 years ago

I am getting /playwright 404 Not Found when connecting to the deployment

6 Replies

mrturck
PROOP

2 years ago

6b93338d-555d-4ee7-b530-6ea7e65afef1


mrturck
PROOP

2 years ago

Browserless v1 template with Typescript


mrturck
PROOP

2 years ago


...

  const browser = await chromium.connect(
    process.env.BROWSER_PLAYWRIGHT_ENDPOINT as string
  );```

results in:
  • wss://browserless-52ol-production.up.railway.app/playwright
  • wss://browserless-52ol-production.up.railway.app/playwright 404 Not Found
  • wss://browserless-52ol-production.up.railway.app/playwright error WebSocket was closed before the connection was established
  • wss://browserless-52ol-production.up.railway.app/playwright WebSocket was closed before the connection was established
  • wss://browserless-52ol-production.up.railway.app/playwright code=1006 reason=


mrturck
PROOP

2 years ago

upstream repo:

railwayapp-templates/browserless


mrturck
PROOP

2 years ago

No luck after switching from bun to npm and ensuring that client and server version match


2 years ago

I was unabe to reproduce this with the browserless v1 template and the example code here -


Welcome!

Sign in to your Railway account to join the conversation.

Loading...