Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting application error on java spring-boot after putting playwright as buildpack on heroku #22

Open
ItArPrishtine opened this issue Sep 4, 2022 · 1 comment

Comments

@ItArPrishtine
Copy link

Example on api-call:

2022-09-04T20:15:09.689079+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/api/p1/run" host=ar-prishtine.herokuapp.com request_id=8a2f002b-4ac3-4ea5-b1d6-734e69a2a838 fwd="37.35.67.17" dyno= connect= service= status=503 bytes= protocol=https

@cdsimmons
Copy link

cdsimmons commented Sep 10, 2022

I had the same error.

I ended up doing the following...

  • Adding nodejs as a buildpack
  • Adding a file named "Procfile" to my project root with this inside it "web: npm install && npm run start"
  • Setting the playwright-chromium version to 1.15.0 (there was another thread about future versions causing issues)
  • Pushing Procfile and other changes to Heroku
  • Running this heroku command "heroku ps:scale web=1"

Finally, my app would start and use Playwright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants