-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${URL}/.well-known/host-meta is not reachable #79
Comments
Same here. Docker, Traefik, and reverse proxy with Caddy. But https://derpy.email/.well-known/host-meta is reachable. |
I found a solution for this issue with using app:
image: friendica/server:rc-fpm-alpine
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
depends_on:
- db
- redis
volumes:
- friendica-vol-1:/var/www/html
environment:
- MYSQL_USERNAME=${DBUSER}
- MYSQL_PASSWORD=${DBPASS}
- MYSQL_DATABASE=${DBDATA}
- MYSQL_HOST=${DBHOST}
- MYSQL_PORT=${DBPORT}
- FRIENDICA_ADMIN_MAIL=${MAILNAME}
- FRIENDICA_TZ=${TZ}
- FRIENDICA_LANG=${LANGUAGE}
- FRIENDICA_UPGRADE=true
- REDIS_HOST=redis
- FRIENDICA_DATA=true
- FRIENDICA_DEBUGGING=true
- SMTP=mail
- SITENAME=${SITENAME}
restart: always
extra_hosts:
- "friendica.philipp.info:172.18.0.2"
- "opensocial.at:172.18.0.2"
@commagray can you check it, if this will solve your message too? And if #99 is now working? I've the fear that #99 is not caused by this issue |
Uhh. I tried these options (separatly and together):
All of IPs I've seen in Nope, I still have the message. And I still affected by #99. |
Some logs?
Yup, I can't |
Okay, so my solution was absolutely vice versa, lol. environment:
- MYSQL_HOST=db
- MYSQL_USER=[REDACTED]
- MYSQL_PASSWORD=[REDACTED]
- MYSQL_DATABASE=[REDACTED]
- FRIENDICA_ADMIN_MAIL=[REDACTED]
+ - FRIENDICA_UPGRADE=false
+ - FRIENDICA_SITENAME=derpy.email
+ - SITENAME=derpy.email
- hostname: derpy.email
+ #hostname: derpy.email
depends_on:
- db
networks:
- internal
- proxy
labels:
- traefik.enable=true
- traefik.backend=derpapp
- traefik.docker.network=proxy
- traefik.port=80
- traefik.frontend.rule=Host:derpy.email
- com.centurylinklabs.watchtower.enable=true
- extra_hosts:
- - "derpy.email:192.168.96.3"
- - "derpy.email:172.18.0.3"
- - "derpy.email:172.18.0.2"
- - "derpy.email:172.18.0.13"
+ #extra_hosts:
+ # - "derpy.email:192.168.96.3"
+ # - "derpy.email:172.18.0.3"
+ # - "derpy.email:172.18.0.2"
+ # - "derpy.email:172.18.0.13" Seems fixed the message. Still, I need to test my federation with #99. |
Hmm... Are mails still working with this setup? I guess not.. But maybe that's a valid solution.. Maybe I "just" have to use another env for the mail host.. Thx for the tests!! |
I use the “PHP Mailer SMTP” addon, so no issues in my setup. But, yeah, with turned off addon emails seem not working. |
Hmkay.. I think I'll remove the hostname usage, this should fix this issue |
"Service unavailable" means that your server load average has reached the limit Friendica uses to cut any call short. This limit can be configured in the admin panel or via command line. |
This didn't work as well .. I still have Timeouts when pinging my own node .. 2020-03-04T22:31:52Z index [WARNING]: error: https://friendica.philipp.info/.well-known/host-meta: 0 - Connection timed out after 20000 milliseconds [] - {"file":"CurlResult.php","line":169,"function":"checkSuccess","uid":"3d09f3","process_id":225} |
I was having the same issue, and it was solved by adding the extra_hosts section, mind that the gateway IP may change depending on your docker setup (in my case is 172.17.0.1) |
This is really not a good solution :-/ Maybe I can have a look for the root cause and fix it .. |
I think that this issue isn't "solvable" within the docker image code. It's a general problem with curl/fetching inside the docker network environment .. But I don't have any good idea for a better solution than mapping the gateway IP to the local node hostnames ... So if somebody has a better idea, I will add it to the ".examples" directory as best practice .. meanwhile this issue will stay open until found :-) |
Not a better idea, but a little extra information nugget: As the internal gateway IP can change, I've instead mapped the sites hostname to the external static IP of the gateway service. This adds a little latency, but won't change without my intervention. I've got to be honest - I had noticed this message ever since I switched my former installation to this container image. Had ignored it, assuming it was just an internal check. Since the upgrade to 2021.07 I didn't get any ActivityPub updates any more - I suspect this setting is now necessary due to friendica/friendica#10257 |
Well, I just hit this problem today. The only thing I changed was updating Nginx Proxy Manager to v2.10.3. It appears that my node still seems to see other nodes and I'm able to follow contacts. I'm also seeing the Message queues going up and down like normal. I'm not sure if people can follow me or see me on their nodes. I'm kinda at a loss for what to do since on the one hand it looks like it's working as normal and on the other hand I have this error that says it's not. Update: I think I fixed the problem on my end. It seems it did not like the SSL I set up in Nginx Proxy Manager so I redid it. When I did that the error went away. So maybe check your SSL and make sure it's set right. |
With my current docker-setup, I get an error at the admin overview page because /.well-known/host-meta isn't reachable.
My current docker-compose is:
The text was updated successfully, but these errors were encountered: