blue_berry

joined 11 months ago
[–] blue_berry@feddit.de 2 points 8 months ago (1 children)
[–] blue_berry@feddit.de 3 points 8 months ago

Thanks. It was due to me using a wrong port. Its working now.

Sorry for the inconvinience

 

Hello again,

thanks to your great feedback last time, I set up SSL with letsencrypt and got HTTPS working.

However, federation is still not working.

When troubleshooting as described in the docs I get the following Bad-Gateway error:

"~# curl -H "Accept: application/activity+json" https:///u/blueberry

So apparently, its again the reverse-proxy, but this time, its not able to speak to the backend.

My nginx-error-file shows the following error: "2024/02/08 12:37:46 [error]: connect() failed (111: Connection refused) while connecting to upstream, client: , server: , request: "GET /u/blueberry HTTP/2.0", upstream: "http://0.0.0.0:8536/u/blueberry", host: "

But using "docker ps" I find port 8536 open, so it should work.

Do you have any idea whats the problem here?

[–] blue_berry@feddit.de 1 points 8 months ago

Yes, also occures without the header. But I think I know the problem now: I tried to use the certificate of my host provider, which seems not to work for federation

[–] blue_berry@feddit.de 2 points 8 months ago* (last edited 8 months ago) (2 children)

Ok, yeah, I'm using a certiciate of my domain provider. Maybe that's the problem ... thanks! I will try to do it with letsencrypt/acme

[–] blue_berry@feddit.de 1 points 8 months ago

Or do you know a similar post maybe?

 

I hope this is the right place for this.

So, here is the thing: my lemmy instance is accessible in the browser via its domain, everything is fine, but no other communities are shown. When I test federation with "curl -H "Accept: application/activity+json" https://my-instance.com/u/some-local-user" I get a SSL certificate error.

So I figured that it has something to do with my reverse proxy and modified the nginx.conf like described in the documentation.

But the error persists.

This is my nginx.config in /etc/nginx/sites-enables/:

" limit_req_zone $binary_remote_addr zone={{ my_domain }}_ratelimit:10m rate=1r/s;

server { listen 80; listen [::]:80; server_name {{ my_domain }}; # Hide nginx version server_tokens off; location / { return 301 https://$host$request_uri; } }

server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name {{ my_domain }};

# Replace these lines with your own certificate and key paths
ssl_certificate /etc/ssl/certs/{{ my_certs }};
ssl_certificate_key /etc/ssl/certs/{{ my_keys }};

ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers {{ cipher_encrypt }};
ssl_session_timeout  10m;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets on;
ssl_stapling on;
ssl_stapling_verify on;

# Hide nginx version
server_tokens off;

# Upload limit, relevant for pictrs
client_max_body_size 20M;

# Enable compression for JS/CSS/HTML bundle, for improved client load times.
gzip on;
gzip_types text/css application/javascript image/svg+xml;
gzip_vary on;

# Various content security headers
add_header Referrer-Policy "same-origin";
add_header X-Content-Type-Options "nosniff";
add_header X-Frame-Options "DENY";
add_header X-XSS-Protection "1; mode=block";

#location / {
#  proxy_pass http://0.0.0.0:1236;
#  proxy_http_version 1.1;
#  proxy_set_header Upgrade $http_upgrade;
#  proxy_set_header Connection "upgrade";
#  proxy_set_header X-Real-IP $remote_addr;
#  proxy_set_header Host $host;
#  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#}


location / {
  set $proxy_pass "http://0.0.0.0:1236";
  if ($http_accept = "application/activity+json") {
      set $proxy_pass "http://0.0.0.0:8536";
  }
  if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") {
      set $proxy_pass "http://0.0.0.0:8536";
  }
  proxy_pass $proxy_pass;
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "upgrade";
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header Host $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

}

access_log /var/log/nginx/access.log combined;

"(end of file)

Maybe, someone has an idea how to solve this. I'm really at the end of my wits here :(

 

cross-posted from: https://feddit.de/post/6792877

TL;DR: The current Mastodon-signup is only removing the confusion of users on first glance, because it either hides the server-choice altogether, or leaves them with a choice that is impossible to make at this point of their Mastodon-journey. Instead, it should introduce them to decentrality on a lower scale, with a handful of handpicked servers to choose from, such that the decision makes sense to them and shows them the merits and fun of the concept instead of scaring them away. Ideal would be to give them a sense of agency. Then, chances are higher that they consider migrating again in the future and eventually internalize it as a permanent option of the digital world.

 

TL;DR: The current Mastodon-signup is only removing the confusion of users on first glance, because it either hides the server-choice altogether, or leaves them with a choice that is impossible to make at this point of their Mastodon-journey. Instead, it should introduce them to decentrality on a lower scale, with a handful of handpicked servers to choose from, such that the decision makes sense to them and shows them the merits and fun of the concept instead of scaring them away. Ideal would be to give them a sense of agency. Then, chances are higher that they consider migrating again in the future and eventually internalize it as a permanent option of the digital world.

[–] blue_berry@feddit.de 1 points 10 months ago* (last edited 10 months ago)

You are right, it could be read that way from the title. But from the content it becomes pretty clear that the section of the universe called the "Open Web" was deserted in this world decades ago and no one is there.

[–] blue_berry@feddit.de 1 points 10 months ago (2 children)

Its meant in the sense: better build communities in the fediverse rather than on Mars. Its a pun on "Colonize Mars"

19
Colonize the Open Web (fungiverse.wordpress.com)
 

cross-posted from: https://feddit.de/post/6258115

New story, I hope you like it. Feedback always welcome.

[–] blue_berry@feddit.de 1 points 11 months ago

Yeah, probably. So you like the story in general its just too much going on?

[–] blue_berry@feddit.de 1 points 11 months ago

Ok, I wrote most of it myself, for parts 2-5 I used some generated stuff as well. I think its fine to use AI as help for inspiration and to get a start. But the first part (Spring) I wrote completely myself. Its actually a few years old by now.

[–] blue_berry@feddit.de 1 points 11 months ago* (last edited 11 months ago)

Its fine. Honest feedback is always good. Have to see what I can do about the format

[–] blue_berry@feddit.de 1 points 11 months ago (4 children)

I’ll be honest, I only made it halfway into the first paragraph. Such as they are, the thin paragraphs coupled with multiple-screens-no-formatting length makes it impossible to follow the text

That's unfortunate. I will try to fix it. The WriteFreely-Server I used keeps crashing so I switched to Wordpress ...

plus at least from the first paragraph it reads like generated AI nonsense.

I wrote it myself :D But its fine. I hoped it would be fun to read.

Is that the point, though? As in, is this my wooooosh-moment? Is this supposed to say that the Fediverse is too difficult to consume and makes no sense at first?

No, it shouldn't :( It should just be fantasy/magic realism

 

cross-posted from: https://feddit.de/post/5328368

The idea is to have a piece of fiction that you can give a person to experience the Fediverse while also being moderately entertained in the process. So: would you give this story to a person that doesn’t know anything about the Fediverse? I would love to hear your opinions. I will try to incorporate feedback into the story but no promises!

 

cross-posted from: https://feddit.de/post/5064944

Let's say a site like the New York Times supports ActivityPub, so you can comment e.g. from Mastodon on an article but also from the article's page on nytimes.com, where all comments are displayed.

Is this article/nytimes.com part of the Fediverse? Yes and no. It should be but if we speak about the Fediverse we mostly mean social networks like Mastodon and Lemmy.

I think the reality is and will be slightly more complicated. I think we should think of the Fediverse as being a part of the web, be it a traditional website or a social network. That's why I propose a new term: the fungal web, based on how mushrooms act as a dezentral connector over which plants communicate.

view more: next ›