-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
Fail Permanently to fetch a community on another server with "server error" page #5520
Comments
That's an instance. You can't subscribe to an instance, only communities. You have a lemmy.world account and are trying to sub to one of its communities? Or you have a sub.community account and are trying to sub to https://lemmy.world/c/diablo ? If its the latter, you need to enter https://lemmy.world/c/diablo into the search bar of a logged-in account on sub.community. |
It's the first step to federated with https://lemmy.world/c/diablo All other communities on the https://lemmy.world/ can be "remote subscribe" successfully on https://sub.community/ |
The logs dont show anything relevant. Try it like this:
|
I got this by using your instructions:
|
That log is not enough, it doesnt show the actual error message. Try with |
Here it is: Btw, can I upgrade to the new version that just Hase been released, or I need to wait until this bug is fixed? |
Hmm it logs a lot of errors for "Failed to generate thumbnail", but those should be ignored and not prevent it from fetching the community. Anyway you can try if image mode proxy solves the problem. Upgrading to the new version is fine. |
https://gist.github.com/glamoroussky/0b9e23e67245c6d96f1dd14538af558d This is the logs after I used that image mode proxy. I still cannot remote fetch https://lemmy.world/c/diablo/, I still got the "server error" text page by this method. |
The logs still dont show any error that would be related to fetching the community, it seems that Lemmy doesnt log that information properly. You can try setting env var Anyway it looks like your server has some general network problems, as it fails to fetch various images which are loading just fine for me. There are also multiple |
@Nutomic server is in U.S.A. but I used Cloudflare R2 Storage for S3 storage, the bucket is in Oceania. Actually, I talked to them there in matrix room first and told me this is possible a bug... |
So you are probably getting a timeout somewhere because things are taking longer than expected. Try moving all parts of your server infrastructure nearby so that latency is as low as possible. |
Thank you, I just found out the default Postgresql config file still says it's version 15, while the container now is at version 16. |
No both versions should be fine. |
I have the same issue with a few different communities on a few different servers (and have no issues with other communities on the same servers). Running 0.19.10 in Docker. |
This could also be caused by #5441 which will be fixed in 0.19.11 (to be released later today). |
Requirements
Summary
I try to fetch the "Diablo" community on Lemmy.world one day, and it was so slow fetching the community when I was directed back to my server, so I clicked on refresh on browser, then I got a plain "server error" page.
I tried to restart server, use another account to do the same, and wait several days to repeat again, all back to that "server error" page permanently.
I can successfully fetch and subscribe to other communes on the same remote server.
Steps to Reproduce
Technical Details
New logs right after I try to fetch Diablo community on https://lemmy.world server:
lemmy-ui-1 | TypeError: Cannot read properties of undefined (reading 'community')
lemmy-ui-1 | at t.get (/app/dist/js/server.js:2:3078424)
lemmy-ui-1 | at a.render (/app/dist/js/server.js:2:3077612)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2338)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2444)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:3216)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2444)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2544)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2444)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:2444)
lemmy-ui-1 | at P (/app/node_modules/.pnpm/[email protected]/node_modules/inferno-server/dist/index.cjs.min.js:1:3216)
proxy-1 | 101.119.179.213 - - [16/Mar/2025:01:54:51 +0000] "GET /activitypub/externalInteraction?uri=https%3A%2F%2Flemmy.world%2Fc%2Fdiablo HTTP/1.1" 500 12 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0"
proxy-1 | 101.119.179.213 - - [16/Mar/2025:01:54:52 +0000] "GET /favicon.ico HTTP/1.1" 404 95361 "https://sub.community/activitypub/externalInteraction?uri=https%3A%2F%2Flemmy.world%2Fc%2Fdiablo" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0"
proxy-1 | 101.119.179.213 - - [16/Mar/2025:01:54:53 +0000] "GET /service-worker.js HTTP/1.1" 200 40613 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0"
proxy-1 | 103.91.85.107 - - [16/Mar/2025:01:55:01 +0000] "GET /remote/login?lang=en HTTP/1.1" 404 80979 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:20 +0000] "GET / HTTP/1.1" 200 377031 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:20 +0000] "GET /css/code-themes/atom-one-light.css HTTP/1.1" 200 856 "https://sub.community/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:20 +0000] "GET /css/themes/litely.css HTTP/1.1" 200 271346 "https://sub.community/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:20 +0000] "GET /static/c15a0eb1/assets/symbols.svg HTTP/1.1" 200 71295 "https://sub.community/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:20 +0000] "GET /static/c15a0eb1/js/client.js HTTP/1.1" 200 1845621 "https://sub.community/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:22 +0000] "GET /pictrs/image/0c9d5e3c-d624-4443-a462-c1b8f6b72c56.jpeg?format=webp&thumbnail=256 HTTP/1.1" 200 6595 "https://sub.community/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 88.152.213.159 - - [16/Mar/2025:01:56:22 +0000] "GET / HTTP/1.1" 200 377031 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 2a02:8071:78d0:b540:6818:52b:da6b:b7b - - [16/Mar/2025:01:56:25 +0000] "GET /service-worker.js HTTP/1.1" 200 40613 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:56:34 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:56:34 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:04 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:05 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:05 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:05 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 2a00:1098:84:1c8::157 - - [16/Mar/2025:01:57:19 +0000] "GET / HTTP/1.1" 200 377031 "-" "Synapse (bot; +https://github.com/matrix-org/synapse)"
proxy-1 | 2a00:1098:84:1c8::157 - - [16/Mar/2025:01:57:19 +0000] "GET /pictrs/image/feb3eef4-48d6-49d5-b4db-ba22fee033cb.png HTTP/1.1" 200 51380 "-" "Synapse (bot; +https://github.com/matrix-org/synapse)"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:35 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:57:35 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:06 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:06 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:06 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:06 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:07 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:07 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 46.4.254.144 - - [16/Mar/2025:01:58:15 +0000] "GET /activitypub/externalInteraction?uri=https%3A%2F%2Flemmy.world%2Fc%2Fdiablo HTTP/1.1" 302 127 "-" "Synapse (bot; +https://github.com/matrix-org/synapse)"
proxy-1 | 46.4.254.144 - - [16/Mar/2025:01:58:15 +0000] "GET /login?prev=%2Factivitypub%2FexternalInteraction%3Furi%3Dhttps%253A%252F%252Flemmy.world%252Fc%252Fdiablo HTTP/1.1" 200 84062 "-" "Synapse (bot; +https://github.com/matrix-org/synapse)"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:38 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:38 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:01:58:39 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 2a03:2880:13ff:4:: - - [16/Mar/2025:01:59:05 +0000] "GET /robots.txt HTTP/1.1" 200 300 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
proxy-1 | 2a03:2880:f803:e:: - - [16/Mar/2025:01:59:06 +0000] "GET /post/346 HTTP/1.1" 200 109613 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:00:10 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:01:10 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:01:41 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:02:11 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:02:11 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 185.242.226.157 - - [16/Mar/2025:02:03:11 +0000] "GET /pictrs/image/feb3eef4-48d6-49d5-b4db-ba22fee033cb.png HTTP/1.1" 200 51374 "-" "Python/3.7 aiohttp/3.8.1"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:03:44 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 2a02:c204:2249:892::1 - - [16/Mar/2025:02:04:19 +0000] "GET /post/647/5 HTTP/1.1" 200 118346 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0 Safari/537.36"
proxy-1 | 144.91.100.51 - - [16/Mar/2025:02:04:21 +0000] "GET /post/647/4 HTTP/1.1" 200 123309 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0 Safari/537.36"
proxy-1 | 2a03:2880:f803:19:: - - [16/Mar/2025:02:05:21 +0000] "GET /post/346?scrollToComments=true HTTP/1.1" 200 109613 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"
lemmy-1 | 2025-03-16T02:05:42.575510Z WARN lemmy_server::root_span_builder: InboxTimeout: InboxTimeout
proxy-1 | 88.99.12.217 - - [16/Mar/2025:02:05:42 +0000] "POST /inbox HTTP/1.1" 400 56 "-" "Mastodon/4.4.0-nightly.2025-03-14-security (http.rb/5.2.0; +https://mastodon.social/)"
lemmy-1 | 0: lemmy_server::root_span_builder::HTTP request
lemmy-1 | with http.method=POST http.scheme="http" http.host=sub.community http.target=/inbox otel.kind="server" request_id=d6876bcb-bd43-4655-b46a-e8a27d7f2633
lemmy-1 | at src/root_span_builder.rs:16
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:05:44 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:15 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:15 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:15 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:16 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:46 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:06:46 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 2a03:2880:f803:19:: - - [16/Mar/2025:02:08:42 +0000] "GET /c/[email protected] HTTP/1.1" 200 367563 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:08:47 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 159.203.88.72 - - [16/Mar/2025:02:09:11 +0000] "GET /.env HTTP/1.1" 404 80966 "-" "Mozilla/5.0 Keydrop"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:09:18 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:09:18 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 135.181.143.221 - - [16/Mar/2025:02:10:18 +0000] "POST /inbox HTTP/1.1" 200 0 "-" "Lemmy/0.19.3-4-gc98049af6; +https://lemmy.world"
proxy-1 | 24.49.171.247 - - [16/Mar/2025:02:10:26 +0000] "GET /pictrs/image/ce884da5-e43d-4ddc-8faf-f259ebe1ad46.png?thumbnail=66&format=webp HTTP/1.1" 200 558 "-" "Sync"
proxy-1 | 24.49.171.247 - - [16/Mar/2025:02:10:26 +0000] "GET /pictrs/image/ce884da5-e43d-4ddc-8faf-f259ebe1ad46.png?thumbnail=66&format=webp HTTP/1.1" 200 558 "-" "Sync"
lemmy-1 | 2025-03-16T02:11:02.506979Z WARN lemmy_server::root_span_builder: InboxTimeout: InboxTimeout
lemmy-1 | 0: lemmy_server::root_span_builder::HTTP request
lemmy-1 | with http.method=POST http.scheme="http" http.host=sub.community http.target=/inbox otel.kind="server" request_id=53379835-6eea-45c4-a201-75ba738529e5
lemmy-1 | at src/root_span_builder.rs:16
Lemmy Instance Version
0.19.9
Lemmy Instance URL
https://sub.community
The text was updated successfully, but these errors were encountered: