Coder Social home page Coder Social logo

Comments (5)

lowercasename avatar lowercasename commented on August 20, 2024

Hm, it's really odd that everything starts up successfully but the server just mysteriously fails. I'll see if I can replicate this!

from gathio.

HybridSarcasm avatar HybridSarcasm commented on August 20, 2024

I can replicate. My setup is pretty vanilla, too. I'm using nodemailer, instead of SendGrid, though.

services:
    gathio:
        build: .
        links:
            - mongo
        ports:
            - 3000:3000

    mongo:
        image: mongo:latest
        volumes:
            - /docker/data/gathio/mongodb_data_db:/data/db
> [email protected] start /app
> node dist/start.js

Welcome to gathio! The app is now running on http://localhost:3000
Mongoose connection open!

from gathio.

lowercasename avatar lowercasename commented on August 20, 2024

I still can't replicate, although at the moment the only machine I have access to is an M1 MacBook, which I don't think is necessarily the best testing machine for this. I have however just made some commits which have pushed the Node version to 20 and removed that COPY line for the config file in the Dockerfile. Instead I've set up a volume mount in the default docker-compose.yml file, which makes a lot more sense. I've also now made the default mail service 'none', which means no emails will be sent. None of these are changes that I think will fix this, but I'm still investigating!

from gathio.

eprouty-chwy avatar eprouty-chwy commented on August 20, 2024

Setting is_federated=false in the config is how you replicate this. The server works if that's set to true but otherwise fails with 404 responses to /event calls.

@lowercasename for vis 👀

from gathio.

lowercasename avatar lowercasename commented on August 20, 2024

Oh well done - I've fixed this! It was a pretty egregious bug in the ActivityPub router which made all routes listed after that router to return 404 when ActivityPub was disabled.

from gathio.

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.