I retry from scratch and save the logs so we can maybe find out what's going on:
sudo docker system prune -a
sudo rm -rf data/*
docker network create federation
docker-compose -f dev.yml build
I launch every instance as described in my original post.
I try 3 times in a row to subscribe from node2 to node1 channel:
api_1 | 2022-04-15 17:18:47,358 funkwhale_api.federation.authentication INFO Discarding HTTP request from actor/domain https://node2.funkwhale.test/federation/actors/marcos, HTTPSConnectionPool(host='node2.funkwhale.test', port=443): Read timed out. (read timeout=10)
create public library in node1, try to connect (x3) from node2:
api_1 | 2022-04-15 17:27:19,845 django.request WARNING Bad Request: /api/v1/federation/libraries/fetch/
api_1 | INFO: 172.21.0.7:51560 - "POST /api/v1/federation/libraries/fetch/ HTTP/1.1" 400 Bad Request
tried once again:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0" "172.18.0.1"
nginx_1 | 172.18.0.2 - - [15/Apr/2022:17:32:11 +0000] "GET /federation/actors/marcos HTTP/1.1" 499 0 "-" "python-requests (funkwhale/1.2.3; +https://node1.funkwhale.test)" "172.18.0.1"
Since there's a 499 http error, I stop both instances and added include /etc/nginx/funkwhale_proxy.conf; to docker/nginx/conf.dev. I did that yesterday too. butI didn't mentioned in my original post because I modified at the beginning of my debug journey and thought it had no impact.
I try to connect to library again. No errors in the server logs but GUI returns error. I reload the page and try again. Success!
[upl-image-preview url=https://forum.funkwhale.audio/assets/files/2022-04-15/1650044737-229972-image.png]
I try with the channel, success!
[upl-image-preview url=https://forum.funkwhale.audio/assets/files/2022-04-15/1650044841-451832-image.png]