turck
turck
Explore posts from servers
RRailway
Created by turck on 9/10/2024 in #✋|help
Browserless v1 template with Typescript
No luck after switching from bun to npm and ensuring that client and server version match
7 replies
RRailway
Created by turck on 9/10/2024 in #✋|help
Browserless v1 template with Typescript
upstream repo: railwayapp-templates/browserless
7 replies
RRailway
Created by turck on 9/10/2024 in #✋|help
Browserless v1 template with Typescript
import { chromium } from "playwright";

...

const browser = await chromium.connect(
process.env.BROWSER_PLAYWRIGHT_ENDPOINT as string
);
import { chromium } from "playwright";

...

const browser = await chromium.connect(
process.env.BROWSER_PLAYWRIGHT_ENDPOINT as string
);
results in:
- <ws connecting> wss://browserless-52ol-production.up.railway.app/playwright
- <ws unexpected response> wss://browserless-52ol-production.up.railway.app/playwright 404 Not Found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /playwright</pre>
</body>
</html>

- <ws error> wss://browserless-52ol-production.up.railway.app/playwright error WebSocket was closed before the connection was established
- <ws connect error> wss://browserless-52ol-production.up.railway.app/playwright WebSocket was closed before the connection was established
- <ws disconnected> wss://browserless-52ol-production.up.railway.app/playwright code=1006 reason=
- <ws connecting> wss://browserless-52ol-production.up.railway.app/playwright
- <ws unexpected response> wss://browserless-52ol-production.up.railway.app/playwright 404 Not Found
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /playwright</pre>
</body>
</html>

- <ws error> wss://browserless-52ol-production.up.railway.app/playwright error WebSocket was closed before the connection was established
- <ws connect error> wss://browserless-52ol-production.up.railway.app/playwright WebSocket was closed before the connection was established
- <ws disconnected> wss://browserless-52ol-production.up.railway.app/playwright code=1006 reason=
7 replies
RRailway
Created by turck on 9/10/2024 in #✋|help
Browserless v1 template with Typescript
6b93338d-555d-4ee7-b530-6ea7e65afef1
7 replies
RRailway
Created by Hitarth on 8/6/2024 in #✋|help
Browserless v2 template not working with Python API using Playwright
tried to get playwright to run through nixpacks without browserless but that didn't work either
24 replies
RRailway
Created by Hitarth on 8/6/2024 in #✋|help
Browserless v2 template not working with Python API using Playwright
I am getting the 404 error now too, any idea how to fix? Just deployed the v1 template and v2 templates, no luck with either
24 replies
CDCloudflare Developers
Created by turck on 12/17/2023 in #pages-help
Do Service bindings and Queues work in Nextjs pages?
I can send a message to the queue manually and it works as expected
6 replies
CDCloudflare Developers
Created by turck on 12/17/2023 in #pages-help
Do Service bindings and Queues work in Nextjs pages?
yup testing on deployment. stack is nextjs with trpc and all binding calls are made within the trpc router. Like i said, R2 works. Queues and Service bindings do not. no errors either its as if its skipped over
6 replies
CDCloudflare Developers
Created by turck on 12/17/2023 in #pages-help
Do Service bindings and Queues work in Nextjs pages?
Do only bindings mentioned here work?
6 replies