Coder Social home page Coder Social logo

Comments (6)

xet7 avatar xet7 commented on June 3, 2024

@enricodetoma

Address already in use

Sandstorm requires ports 80 and 443. You need to stop and disable your already existing webserver like Nginx/Caddy/Apache etc so that Sandstorm can start.

from sandstorm.

ocdtrekkie avatar ocdtrekkie commented on June 3, 2024

Sandstorm can be set to run on other ports, but it's definitely failing to start because ports it is configured to use are already in use. Assuming nothing else went wrong, you might be able to set different ports in the config file and then "sudo sandstorm start".

https://docs.sandstorm.io/en/latest/administering/config-file/

from sandstorm.

enricodetoma avatar enricodetoma commented on June 3, 2024

After stopping Apache2 it went a bit further, but now the error is:

ERROR: remote exception: Error: [acme-v2] ********.sandcats.io status:400 Unable to update challenge :: authorization must be pending
    at transformError (/programs/server/npm/node_modules/@root/acme/acme.js:826:10)
    at /programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
There might be more information in: /opt/sandstorm/var/log/sandstorm.log
*** INSTALLATION FAILED ***

Failed to fetch certificate.

And this error is in the log:

sandstorm/gateway.c++:1029: error: refused HTTPS connection because no TLS keys are configured

from sandstorm.

ocdtrekkie avatar ocdtrekkie commented on June 3, 2024

Hmmm, so my guess is the installer failed out before setting up Let's Encrypt. Our documentation for this is... not ideal, only under sandstorm --help. But I think you can run sudo sandstorm create-acme-account <email> and then maybe sudo sandstorm restart?

I think you have Sandstorm installed at this point, but you have issues from the incomplete install on the first attempt maybe.

from sandstorm.

enricodetoma avatar enricodetoma commented on June 3, 2024

@ocdtrekkie thank you for your support. I tried the installation again today and this time it worked, so I didn't even need to do sudo sandstorm create-acme-account <email> manually.

from sandstorm.

ocdtrekkie avatar ocdtrekkie commented on June 3, 2024

Awesome to hear! Feel free to reach out if you have any other questions or issues!

from sandstorm.

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.