[-] blue_berry@feddit.de 3 points 4 months ago

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

Sorry for the inconvinience

8

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?

10

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 :(

42
submitted 6 months ago by blue_berry@feddit.de to c/mastodon@lemmy.ml

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.

261
submitted 6 months ago by blue_berry@feddit.de to c/fediverse@lemmy.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.

19
Colonize the Open Web (fungiverse.wordpress.com)
submitted 7 months ago by blue_berry@feddit.de to c/fediverse@lemmy.world

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

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

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.

8
Colonize the Open Web (fungiverse.wordpress.com)
submitted 7 months ago by blue_berry@feddit.de to c/solarpunk@slrpnk.net

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

-11
submitted 7 months ago by blue_berry@feddit.de to c/fediverse@lemmy.world
-3
Das Schloss im Himmel - Neue Ufer (fungiverse.wordpress.com)
submitted 7 months ago by blue_berry@feddit.de to c/dach@feddit.de
10
submitted 7 months ago* (last edited 7 months ago) by blue_berry@feddit.de to c/sciencefiction@lemmy.world
12
submitted 7 months ago* (last edited 7 months ago) by blue_berry@feddit.de to c/solarpunk@slrpnk.net
9
submitted 7 months ago by blue_berry@feddit.de to c/dach@feddit.de
[-] blue_berry@feddit.de 3 points 7 months ago

Ja stimmt, Novelle trifft es eher. Die einzelnen Teile sind aber einigermaßen abgeschlossen. Man kann es also in Häppchen lesen.

Hab noch nicht für mehr als den Anfang Zeit gehabt, der klingt interessant.

Danke :)

[-] blue_berry@feddit.de 2 points 8 months ago

Ok, looks complicated :D But it sounds good. I will add it to my reading list. Thanks

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

I was thinking the wise person wasnt necessary to join the fungiverse, more so that they explained some things. Like they arent necessary, just helpful. Just like how often people new to the fediverse need some help from existing members to get tips and information about it that they might not quite grasp at first.

Yeah ok, I get that. As long as it optional and not too pushy, I would be okay with that. Just a fan of self-exploration. But asking people can of course be a part of that.

Good luck on the edits! Im excited to read the next draft when its ready :)

Thanks, so far making good progress. Hope it will be ready soon :)

[-] blue_berry@feddit.de 2 points 8 months ago

Sounds cool, maybe I will check it out sometime

[-] blue_berry@feddit.de 2 points 8 months ago

Right, this is well thought-through, but I will probably stick to my idea of the fungi-metaphor. I think it could be easier to understand for people.

[-] blue_berry@feddit.de 2 points 8 months ago

I like druids from an asthetic point of view, although I don't want the Fungiverse to become something that you have to reach some kind of higher state of mind to join. It should be simple. You eat a mushroom and that's it, you're in. Druids could of course just be parts of myzels in the Fungiverse.

Also: if you want specific feedback, id be happy to annotate a copy of the story or something for you.

Thanks for the offer, though right now I'm reworking the story and there is much text flying around. Feedback is in general great, currently most helpful would be which parts are fun to read and which are boring.

Edited to add: i would leave the metaphore to the fediverse as unspoken-- i think the allegory works well and directly stating that it is like this real world thing would break some of the magic & lessen the potential for the allegory to work on multiple levels.

Fully agree, for the new version of the story I'm also going to make a new title without Fungiverse in it. The story should speak for itself.

[-] blue_berry@feddit.de 2 points 8 months ago

Really like the town example; thinking of fediverse server as towns is cool. Although one shouldn't overdo it, because that's exactly the point of the Fungiverse/Fediverse: to connect people that are not locally at the same place.

I think adding an additional action is needed for defederation. It could of course be solved by many people concentrating on defederation, but then: what if a myzel has a leader. The members could just defederation without telling them.

I think it would be cool if leaders could be declared by them eating a certain mushroom, which grants them certain abilities like defederation. Of course, there might be myzels in which everyone can defederate. So basically the mushroom-eating-idea would allow more diverse forms of server-governance, which I think would be cool.

[-] blue_berry@feddit.de 3 points 8 months ago

Ok I see. You mean this: Glass and Gardens: Solarpunk Summers (English Edition)

I think I need to read more solarpunk in general to get inspiration.

[-] blue_berry@feddit.de 2 points 8 months ago

I don’t really understand the question. Normally, I think of a story as emerging out of an idea, and a genre emerging out of a group of related stories.

That's why I'm basing it on Solarpunk and the stories of solar punk. I'm trying to build onto that tradition.

[-] blue_berry@feddit.de 2 points 8 months ago

Ok, didn't know that. Can you give me some examples? I know that for example Half Build Garden has social media in it.

[-] blue_berry@feddit.de 4 points 8 months ago

Ok, interesting idea to actually think where to put the servers in a world like this.

In the story they’re used by the [netrunners/darkmovers/insert-underground-anticorpo-group] to communicate and post jobs and trade information without using the centralized corpo networks. Then, idk, a Cat6 hypercane in a +4C world takes out all of the established infrastructure and they’re quickly deployed across the ruins to get everyone back online.

This sounds very punky, anti-authorative. I was more thinking about the different communities that would develop if social networks work for building them instead of destroying them.

view more: next ›

blue_berry

joined 8 months ago