heroku-buildpack-C | C buildpack for Heroku | Platform As A Service library
kandi X-RAY | heroku-buildpack-C Summary
kandi X-RAY | heroku-buildpack-C Summary
C buildpack for Heroku
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of heroku-buildpack-C
heroku-buildpack-C Key Features
heroku-buildpack-C Examples and Code Snippets
Community Discussions
Trending Discussions on heroku-buildpack-C
QUESTION
I wrote a web scraper using python.
To deploy it on heroku, I took this article as reference. https://www.andressevilla.com/running-chromedriver-with-python-selenium-on-heroku/
And added these buildpacks. https://github.com/heroku/heroku-buildpack-google-chrome https://github.com/heroku/heroku-buildpack-chromedriver
But when I run the code on heroku, this error occurs.
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 90 Current browser version is 89.0.4389.114 with binary path /app/.apt/opt/google/chrome/chrome
It looks like the chromedriver buildpack doesn't support chrome buildpack.
Does any other buildpack work? Or I can try any other way to deal with it?
Thanks!
...ANSWER
Answered 2021-Apr-14 at 06:55Heroku Chrome Driver Buildpack allows you to choose version of chrome driver but by default it should have installed latest version of it available. You can set config var(Environment variable) CHROMEDRIVER_VERSION
=89.0.4389.23
to download a chromedriver version compatible for chrome 89. After adding the variable, you'd want to redeploy for the changes to take effect.
QUESTION
I built an app using as core node, express and sulla (import puppeteer).
Basically I scrapp some data and use sulla to send them via whatsapp. It works fine on local but when I deploy it on heroku I'm faced with this issue :
Failed to launch the browser process!\n[0601/222716.792459:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md
for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox ...... Core file will not be generated.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
I've already added the following buildpacks to my heroku app :
...ANSWER
Answered 2020-Jun-05 at 20:28Until you are using the current npm package of sulla unfortunately it won't work for you on Heroku. As the linked question says, you need to launch puppeteer with --no-sandbox
(the --disable-setuid-sandbox arg is not mandatory for Heroku):
QUESTION
Obviously selecting the right buildpack is critical in order to make secure, performant, and resilient applications. Heroku seems to work with the dev community to create and share buildpacks. A side effect is that there may not be a single, 'obvious' choice for a given tech stack.
Random example (R)
If we wish to use an R buildpack, a quick google show this popular buildpack is out of date and no longer supported, but we can easily find these three (just examples) here, here, and here
Another random example (cairo)
The cairo buildpack - googling shows numerous in the top results, it's not clear which to use out of, say, the top four on google here, here, here (this one clearly states deprecated, so we can rule that out), and here
QuestionWhat are the main criteria against which we should assess heroku buildpack when faced with >1 that look like they will do the job?
...ANSWER
Answered 2020-Jun-02 at 16:06I think the answer here depends on how much you're willing to trust someone else's code.
None of the buildpacks you mentioned are officially supported by Heroku. They are community buildpacks, maintained by the community, and they implement the Heroku Buildpack API.
The Buildpack API is open for anyone to implement. So the most discerning users will write their own buildpacks. Otherwise, you'll have to decide which community you trust the most.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install heroku-buildpack-C
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page