Open Cannaxuan opened 1 year ago
jarr-server
is the http backend serving the client with data. WORKER TIMEOUT
seems to indicate the http worker is taking too long, which, in turns seems to indicate a database issue. But since you seem to be able to connect to JARR, it may also be another kind of error.
The feeds themself are refreshed by both jarr-worker and jarr-clusterizer docker process. Are they running ? Could you paste their logs ?
I tried to check the log injarr-worker
, but it's empty
and seems there is no jarr-clusterizer
docker process
Btw, I used the prod-example.yml
for the setup. Do I need to change any configs there? I saw your pipeline jobs in CI/CD also failed.
Hey, sorry for bumping old issue, i have a similar issue as previous poster. basically after creating a base image and bringing up env they would start correctly
onestep87@DESKTOP-FF5RBPR:~/JARR$ make start-env COMPOSE_FILE=Dockerfiles/prod-example.yml [+] Running 7/7 ✔ Network jarr_jarr Created 0.0s ✔ Container redis Started 0.1s ✔ Container rabbitmq Started 0.1s ✔ Container postgres Started 0.1s ✔ Container jarr-jarr-worker-1 Started 0.0s ✔ Container jarr-jarr-server-1 Started 0.0s ✔ Container jarr-jarr-front-1 Started
i would see docker containers running in docker desktop, but if i try to see docker containers that are managed by Docker Compose using the config prod_example.yml it would be empty
onestep87@DESKTOP-FF5RBPR:~/JARR$ docker-compose --file Dockerfiles/prod-example.yml ps
WARN[0000] /home/onestep87/JARR/Dockerfiles/prod-example.yml: version
is obsolete
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
i would have error logs worker timeout in jarr servers logs
docker logs jarr-jarr-server-1 {"timestamp": "2024-05-14T21:05:44.750055Z", "message": "WORKER TIMEOUT (pid:14)", "host": "3fd128663ae9", "path": "/jarr/.local/share/virtualenvs/jarr-08iWm22F/lib/python3.11/site-packages/gunicorn/glogging.py", "tags": [], "level": "CRITICAL", "logger": "gunicorn.error", "msg": "WORKER TIMEOUT (pid:%s)", "stack_info": null}
and the logs for the worker are empty
And then i won't be able to run a scheduler on jarr-worker, because it's not running
onestep87@DESKTOP-FF5RBPR:~/JARR$ docker-compose --file Dockerfiles/prod-example.yml exec jarr-worker pipenv run python3
WARN[0000] /home/onestep87/JARR/Dockerfiles/prod-example.yml: version
is obsolete
service "jarr-worker" is not running
Maybe i am understanding something wrong with installation guide?
Many thanks, Daniil
Dear François Schmidts,
Thanks for your work on JaRR. I used the instance of JARR run on
app.jarr.info
and it works well.However, after I git clone the project code from the master branch and run it on my local machine, I cannot get my feed news refreshed (see below).
Message from
jarr-jarr-server-1
Could you help me to solve this issue? The feed url is: https://rss.nytimes.com/services/xml/rss/nyt/World.xml
Many thanks! Canna