blue_berry

joined 10 months ago
 

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 0 points 7 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 0 points 7 months ago* (last edited 7 months ago)

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

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

It’s fine if single instances do consent-based federation that prioritize safety over openess, but why should it become the default for all instances? It will result in instance protectionism and an overall decline in discussion quality. Making it opt-in means people will connect less likely with folks from other instances, meaning people will mainly stay on their instances, meaning it supports tribalism in the Fediverse. More safety usually comes at a cost, too. In this case: less interaction with other instances.

But if you federate with instances that you trust good enough in the first place, constent-based federation is not necessary imo.

 

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

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

TL;DR: The common view on Meta’s Threads is that it will be either all good or all bad, leading to oversimplified and at the end contra productive propositions like the Fedipact. But in reality, it’s behaviour will most likely change dynamically over time, and therefore, to prevent us getting in a position, in which Threads can actually perform EEE on us, we need to adapt a dynamic strategy as well.

 

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

TL;DR: The common view on Meta’s Threads is that it will be either all good or all bad, leading to oversimplified and at the end contra productive propositions like the Fedipact. But in reality, it’s behaviour will most likely change dynamically over time, and therefore, to prevent us getting in a position, in which Threads can actually perform EEE on us, we need to adapt a dynamic strategy as well.

 

TL;DR: The common view on Meta’s Threads is that it will be either all good or all bad, leading to oversimplified and at the end contra productive propositions like the Fedipact. But in reality, it’s behaviour will most likely change dynamically over time, and therefore, to prevent us getting in a position, in which Threads can actually perform EEE on us, we need to adapt a dynamic strategy as well.

 

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

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

New, extended version of my Castle in the Sky Sequel. This time it contains descriptions of a kind of Fediverse-nation called "The United Islands of Laputa", which also has influence on real-world politics.

 

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

New, extended version of my Castle in the Sky Sequel. This time it contains descriptions of a kind of Fediverse-nation called "The United Islands of Laputa", which also has influence on real-world politics.

 

New, extended version of my Castle in the Sky Sequel. This time it contains descriptions of a kind of Fediverse-nation called "The United Islands of Laputa", which also has influence on real-world politics.

 

In the following video, Yuval Noah Harari speaks about how with the ending of the global liberal order and the shift from a uni-polar to a multi-polar system, the world is losing its balance, and more conflicts are occurring.

https://youtu.be/-nn5pYczJM0?feature=shared

Could a global digital structure like the The United Collectives of the Fediverse (UCF) help to reverse this shift and bring us closer toward a uni-polar order again?

In this graphic, user join through scholaric institutions that introduces people to the UCF based on their digital talents. After a time, they leave these entry-groups and join a dezentralized collective, which consists of one or more fediverse instances.

All of this is overseen by some kind of democratic, governmental unit, which will possibly consist out of different organs that possibly also work independent from one another.

This could solve also some problems of the Fediverse, including finding a common ground on bad instances and other universal questions. Do you think it can be realized and that it will come in existence one day?

 

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

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

From the second section on the Fediverse is a major topic.

 

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

From the second section on the Fediverse is a major topic.

 

From the second section on the Fediverse is a major topic.

[–] blue_berry@feddit.de 0 points 9 months ago

You mean like for example with different animals?

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

But currently, people never go to the sub-menu where you can choose servers. They go to mastodon.social, never make the choice that was taken over for them ever again and what you got is a giant mastodon.social that effectively becomes Mastodon. And the fact that this thing cannot be bought by Elon is only made sure because we have the word of Mastodon's creator to never do so. Great. What's the difference to Threads then?

(obviously Eugen Rochko has done and still does a great job for the fediverse but you know what I mean)

[–] blue_berry@feddit.de 0 points 9 months ago

I'm suggesting a non-swimmers area consiting of more than one server. Currently, it consists of only one (mastodon.social) and its the biggest Mastodon server out there. Not ideal.

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

Sure no pressure!

[–] blue_berry@feddit.de 0 points 9 months ago* (last edited 9 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 0 points 9 months ago (2 children)

Thanks. So nice to hear some feedback <3

You are right about the story. I crafted the whole thing a bit more hasty than the last ones. It should be longer and have an actual story and maybe some new characters. I also need to improve my writing. I tried a more playful style for this one, because its adventerous and so on, but its too inconsistent.

I'm thinking about extending and re-writing it, but am not sure if I will find the time. Thanks anyways :)

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

Ok, I see. To be honest, I didn't put as much thought in this than in the last stories. Maybe it would have worked if it was longer ... I will think about it! Thanks anyway for the feedback.

And it isn’t very Solarpunkish 😉

the use of “open web” etc makes it too up front as well

That's true. But otherwise, I don't think the idea would have come across

Well yes, but Solarpunk also supported dezentrality 😇

the use of “open web” etc makes it too up front as well

[–] blue_berry@feddit.de 0 points 9 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"

view more: next ›