Not seeing federation from my pyfed instance.

submitted by abff08f4813c edited

I set up an instance of pyfed at https://eventhorizondataflow.pagekite.me/ but as far as I can tell it doesn't seem to be federating. Subscribing to communities works initially, but no new content comes through. However, I can manually add new remote posts (and added a quick hack to rebackfill a community to keep up to date).

I also tried posting from my instance to c/playground here but they don't seem to be coming through.

I'm not seeing too much in the logs or in the activity page (under Admins). For posting to c/playground for example, I can see the CREATE activity to piefed.social - that is simply marked as a green success.

Looking for ideas on how to debug this further.

Log in to comment

1 Comments

Rimu , edited

Sounds like you don't have celery running. In production celery is intended to be run as a background service but for debugging you can run it in the foreground from the command line like this

change to the piefed directory, then:

source venv/bin/activate
export FLASK_APP=pyfedi.py
celery -A celery_worker.celery worker --loglevel=INFO

Then whenever federation occurs you'll see things happen in the console.

For further help please try the Matrix channel at #piefed-general:matrix.org