10 months ago
Project id: 5fb3ff68-9934-45f5-9809-420c7458cc70
I've got the setup show in the screenshot where I've:
created a service using https://github.com/brody192/playwright-example-python
added another service that uses the Browserless v2 template (https://railway.app/template/0jqemX)
added the required env variable
BROWSER_PLAYWRIGHT_ENDPOINT=${{Browserless.BROWSER_PLAYWRIGHT_ENDPOINT}}
However, I keep getting an error saying: playwright._impl._errors.Error: WebSocket error: wss://[browserless-production-4d3a.up.railway.app/playwright](browserless-production-4d3a.up.railway.app/playwright) 404 Not Found
Any help would be much appreciated! Thanks!
0 Replies
10 months ago
my apologies, i had the BROWSER_PLAYWRIGHT_ENDPOINT
variable set wrong.
fixed, please hard refresh your browser and deploy the browserless v2 template again.
10 months ago
correct
10 months ago
okay ill deploy and see if i can repro
Heres the deployment logs for my service btw
10 months ago
wasnt able to test this just yet as the dashboard thinks im trying to deploy an image when it should be a repo
10 months ago
team is looking into it, will circle back to this when that issue is fixed
Thank you! Any sorta ETA on when there might be any updates? (in a few days vs in a few weeks etc)
10 months ago
its being looked into as we speak
10 months ago
hey @Hitarth - sorry for the delay here, the issue with the dashboard has been fixed, I have updated the template again, and updated the example code.
This time i have tested and can confirm its now working,
Awesome! Its all working for me now. A massive thanks to you and the team! 😄
10 months ago
no problem!
Hi Brody, just a question on browserless v2 on railway, i have deploy the service from your template and it work fine, the issue current playwright version is 1.47.0 but python only support update 1.46.0 for now. How can i control the version of playwright with the template?
9 months ago
You can't, you need to use the correct client version
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
tried to get playwright to run through nixpacks without browserless but that didn't work either
9 months ago
please open your own thread, we don't want to spam OP