Coder Social home page Coder Social logo

Comments (7)

samuelli avatar samuelli commented on June 16, 2024 1

See also #2 which they required --disable-sandbox

from rendertron.

samuelli avatar samuelli commented on June 16, 2024

Did you build with the --no-cache flag?

from rendertron.

LasaleFamine avatar LasaleFamine commented on June 16, 2024

I confirm the same problem on MacOS. I solved the problem adding the --disable-sandbox flag within the chromium.js file.

Maybe this should be written on the README 👍

from rendertron.

samuelli avatar samuelli commented on June 16, 2024

Yup, will do. Interestingly the original issue here was on Ubuntu, so I'm curious as to whether its the same problem. @Raxxor: does this fix it for you?

from rendertron.

Raxxor avatar Raxxor commented on June 16, 2024

Thanks for @samuelli & @LasaleFamine 's comments.
Docker was built by dockerhub, so it is buit with "no cache" mode. Now I am pulling images from dockerhub with adding "--disable-sandbox' in chromium.js.
BTW, i tried to run original files , and some pages was not rendered successfully.

Listening on port 3002
(node:14407) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: not opened
(node:14407) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from rendertron.

samuelli avatar samuelli commented on June 16, 2024

@justinribeiro has landed added some great recommendations to the readme which address this, so I'm closing this issue. Please file issues for more errors that you might be experiencing.

@Raxxor: can you file separate issues for anything else you might be seeing?

from rendertron.

nhducseuit avatar nhducseuit commented on June 16, 2024

I'm on MacOS sierra and get { message: 'net::ERR_CONNECTION_REFUSED' } whenever I try to render or screenshot the tour of heroes project launching with ng serve
I checked and tried the suggestions at https://github.com/GoogleChrome/rendertron#connection-error-econnrefused but none of them works.
Could you please suggest where should I add the --disable-sandbox flag to?

I have done following commands:

git clone https://github.com/GoogleChrome/rendertron.git server
cd server

docker build -t rendertron . --no-cache=true

docker run -it -p 8080:8080 --name rendertron-container rendertron

from rendertron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.