你好,
我运行 Discourse 已经很长时间了,一直没有遇到任何问题,但昨天在尝试更新时,我遇到了 Discourse 缓慢和一些问题,尝试更新时,没有更新输出。我心想,好吧,没关系,让我停止容器并重新启动,并决定以防万一也重建一下。
构建已完成,容器已成功启动,但我没有看到任何数据输出。顺便说一句,我正在使用 Nginx Socket File。
我有一些日志可以提供给大家,但据我所知,容器运行良好,Nginx 也已启动并正在运行。
我的磁盘空间和可用内存也很充足。我使用的是 Raspberry Pi 4 (8GB),但没有使用 SD 卡,所以不用担心,它使用的是 SATA (M2) SSD。
我还能如何进一步调试这个问题?
套接字文件在某种程度上限制了我,因为我想 curl http://localhost,但我不能,因为它只是一个套接字。
Falco
(Falco)
2
尝试
cd /var/discourse
./launcher enter app
curl -v localhost
我尝试了这样做,但连接被拒绝,因为它正在尝试端口 80。由于这是一个套接字文件,端口 80 上将没有任何内容。
Falco
(Falco)
4
所以 curl -v localhost:3000
上游?
看起来是运行的。
* Trying 127.0.0.1:3000...
* Connected to localhost (127.0.0.1) port 3000 (#0)
> GET / HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/7.74.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Wed, 09 Nov 2022 19:34:50 GMT
< Connection: close
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 0
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: strict-origin-when-cross-origin
< X-Discourse-Route: categories/index
< Content-Type: text/html; charset=utf-8
< Vary: Accept
< Cache-Control: no-cache, no-store
< Content-Security-Policy: upgrade-insecure-requests; base-uri 'self'; object-src 'none'; script-src https://community.brohosting.eu/logs/ https://community.brohosting.eu/sidekiq/ https://community.brohosting.eu/mini-profiler-resources/ https://community.brohosting.eu/assets/ https://community.brohosting.eu/brotli_asset/ https://community.brohosting.eu/extra-locales/ https://community.brohosting.eu/highlight-js/ https://community.brohosting.eu/javascripts/ https://community.brohosting.eu/plugins/ https://community.brohosting.eu/theme-javascripts/ https://community.brohosting.eu/svg-sprite/ https://www.google-analytics.com/analytics.js https://www.googletagmanager.com/gtag/js 'sha256-HZxBMVZe6P3MvHDZlFai9cUmLH+qwX6BNT3qTwNPATg='; worker-src 'self' https://community.brohosting.eu/assets/ https://community.brohosting.eu/brotli_asset/ https://community.brohosting.eu/javascripts/ https://community.brohosting.eu/plugins/; frame-ancestors 'self'; manifest-src 'self'
< X-Discourse-Cached: skip
< X-Request-Id: 002fc13f-21af-4cca-afc9-49abf7c90916
< X-Runtime: 1.617914
< X-Discourse-TrackView: 1
<
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>BroHosting 社区 - 分享、讨论、结识朋友</title>
<meta name="description" content="我们的社区主要用于讨论托管主题、网站、获取技术问题帮助或交流 IT 相关内容。">
<meta name="generator" content="Discourse 2.9.0.beta11 - https://github.com/discourse/discourse version 8b8c1291e78b38f3a724faad82b03d0fd51452db">
<link rel="icon" type="image/png" href="https://community.brohosting.eu/uploads/default/optimized/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82_2_32x32.png">
<link rel="apple-touch-icon" type="image/png" href="https://community.brohosting.eu/uploads/default/optimized/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82_2_180x180.png">
<meta name="theme-color" media="all" content="#0a0e12">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">
<link rel="canonical" href="https://community.brohosting.eu/" />
<script type="application/ld+json">{"@context":"http://schema.org","@type":"WebSite","url":"https://community.brohosting.eu","potentialAction":{"@type":"SearchAction","target":"https://community.brohosting.eu/search?q={search_term_string}","query-input":"required name=search_term_string"}}</script>
<link rel="search" type="application/opensearchdescription+xml" href="https://community.brohosting.eu/opensearch.xml" title="BroHosting 社区搜索">
<link href="/stylesheets/color_definitions_brohosting-dark_1_1_5363f1ab554489831bcd57194284900d906176ea.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" class="light-scheme"/>
<link href="/stylesheets/desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop" />
<link href="/stylesheets/chat_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="chat" />
<link href="/stylesheets/discourse-chat-integration_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-chat-integration" />
<link href="/stylesheets/discourse-details_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-details" />
<link href="/stylesheets/discourse-local-dates_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-local-dates" />
<link href="/stylesheets/discourse-narrative-bot_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-narrative-bot" />
<link href="/stylesheets/discourse-presence_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-presence" />
<link href="/stylesheets/discourse-reactions_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-reactions" />
<link href="/stylesheets/discourse-solved_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-solved" />
<link href="/stylesheets/discourse-tickets_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-tickets" />
<link href="/stylesheets/discourse-voting_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-voting" />
<link href="/stylesheets/lazy-yt_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="lazy-yt" />
<link href="/stylesheets/poll_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="poll" />
<link href="/stylesheets/chat_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="chat_desktop" />
<link href="/stylesheets/discourse-reactions_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-reactions_desktop" />
<link href="/stylesheets/discourse-voting_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-voting_desktop" />
<link href="/stylesheets/poll_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="poll_desktop" />
<link href="/stylesheets/desktop_theme_2_11754829f558c0d3807cdfe6e30e0935f2ded81c.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="2" data-theme-name="discorse social links"/>
<link href="/stylesheets/desktop_theme_1_bc0efde0ba1dbb01acdd436e8cd6547941d8d470.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="1" data-theme-name="default"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap">
<script defer="" src="/theme-javascripts/127de10b1fc2f9f49a8ee8e02b9b419432275982.js?__ws=community.brohosting.eu" data-theme-id="2"></script>
<meta id="data-ga-universal-analytics" data-tracking-code="G-2RQZ9N18L5" data-json="{\"cookieDomain\":\"auto\"}" data-auto-link-domains="">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2RQZ9N18L5"></script>
<link rel="preload" href="/assets/google-universal-analytics-v4-2bb8adb2b3d4e54eb20ba9da5e8d181e5703e17472fea680c822deedbf8d7675.js" as="script">
<script defer src="/assets/google-universal-analytics-v4-2bb8adb2b3d4e54eb20ba9da5e8d181e5703e17472fea680c822deedbf8d7675.js"></script>
<meta property="og:site_name" content="BroHosting 社区" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content="https://community.brohosting.eu/uploads/default/original/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82.png" />
<meta property="og:image" content="https://community.brohosting.eu/uploads/default/original/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82.png" />
<meta property="og:url" content="https://community.brohosting.eu/" />
<meta name="twitter:url" content="https://community.brohosting.eu/" />
<meta property="og:title" content="BroHosting 社区" />
<meta name="twitter:title" content="BroHosting 社区" />
<meta property="og:description" content="我们的社区主要用于讨论托管主题、网站、获取技术问题帮助或交流 IT 相关内容。" />
<meta name="twitter:description" content="我们的社区主要用于讨论托管主题、网站、获取技术问题帮助或交流 IT 相关内容。" />
</head>
<body class="crawler">
<header>
<a href="/">
BroHosting 社区
</a>
</header>
<div id="main-outlet" class="wrap" role="main">
<div itemscope itemtype='http://schema.org/ItemList'>
<meta itemprop='itemListOrder' content='http://schema.org/ItemListOrderDescending'>
<table class='category-list'>
<thead>
<tr>
<th class='category'>分类</th>
<th class='topics'>主题</th>
</tr>
</thead>
<tbody>
<tr>
<td class='category' style='border-color: #B3B5B4;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='0'>
<meta itemprop='url' content='/c/announcements-and-news/23'>
<h3>
<a href='/c/announcements-and-news/23'>
<span itemprop='name'>公告与新闻</span>
</a>
</h3>
<div itemprop='description'>BroHosting 社区工作人员可在此发布公告或新闻。</div>
</div>
</td>
<td class='topics'>
<div title='1 Topics'>1</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #BF1E2E;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='1'>
<meta itemprop='url' content='/c/general/1'>
<h3>
<a href='/c/general/1'>
<span itemprop='name'>综合</span>
</a>
</h3>
<div itemprop='description'></div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #F1592A;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='2'>
<meta itemprop='url' content='/c/site-feedback/2'>
<h3>
<a href='/c/site-feedback/2'>
<span itemprop='name'>网站反馈</span>
</a>
</h3>
<div itemprop='description'><p>关于本网站的讨论,包括其组织结构、运作方式以及如何改进。</p></div>
</div>
</td>
<td class='topics'>
<div title='1 Topics'>1</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #F7941D;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='3'>
<meta itemprop='url' content='/c/tutorials-howto/8'>
<h3>
<a href='/c/tutorials-howto/8'>
<span itemprop='name'>教程/操作指南</span>
</a>
</h3>
<div itemprop='description'>您可以在这里找到针对网站或 IT 领域的实用教程和操作指南。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #9EB83B;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='4'>
<meta itemprop='url' content='/c/support/5'>
<h3>
<a href='/c/support/5'>
<span itemprop='name'>支持</span>
</a>
</h3>
<div itemprop='description'></div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #3AB54A;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='5'>
<meta itemprop='url' content='/c/shared-web-hosting/9'>
<h3>
<a href='/c/shared-web-hosting/9'>
<span itemprop='name'>共享 Web 托管</span>
</a>
</h3>
<div itemprop='description'>讨论共享 Web 托管的各个方面,包括过往经验(正面和负面)、选择托管商、问答以及其他相关主题。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #12A89D;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='6'>
<meta itemprop='url' content='/c/dedicated-server/10'>
<h3>
<a href='/c/dedicated-server/10'>
<span itemprop='name'>独立服务器</span>
</a>
</h3>
<div itemprop='description'>关于独立服务器提供商、带宽和服务器性能的当前及过往经验。评测托管型和非托管型独立 Web 服务器,讨论 Windows 和 Unix 独立服务器解决方案,并交流独立托管服务提供商。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #25AAE2;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='7'>
<meta itemprop='url' content='/c/vps-hosting/11'>
<h3>
<a href='/c/vps-hosting/11'>
<span itemprop='name'>VPS 托管</span>
</a>
</h3>
<div itemprop='description'>与虚拟专用服务器(VPS,非 VPN)相关的一切内容,例如 KVM、OpenVZ、HyperV 甚至容器(如 Docker)。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #0E76BD;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='8'>
<meta itemprop='url' content='/c/wordpress/13'>
<h3>
<a href='/c/wordpress/13'>
<span itemprop='name'>WordPress</span>
</a>
</h3>
<div itemprop='description'>WordPress 问题、技巧、讨论、插件,任何对社区有用并能引发用户交流的内容。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #652D90;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='9'>
<meta itemprop='url' content='/c/cyber-security/12'>
<h3>
<a href='/c/cyber-security/12'>
<span itemprop='name'>网络安全</span>
</a>
</h3>
<div itemprop='description'>讨论数据泄露、漏洞、安全技巧和软件。如何保护您的服务器和网站免受各种攻击。</div>
</div>
</td>
<td class='topics'>
<div title='1 Topics'>1</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #ED207B;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='10'>
<meta itemprop='url' content='/c/seo-marketing/14'>
<h3>
<a href='/c/seo-marketing/14'>
<span itemprop='name'>SEO 与营销</span>
</a>
</h3>
<div itemprop='description'>营销技巧和问答。不知道使用什么工具?需要建议去哪里寻找资源或联系谁以发展您的业务?这里是您的最佳选择。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #8C6238;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='11'>
<meta itemprop='url' content='/c/web-design/15'>
<h3>
<a href='/c/web-design/15'>
<span itemprop='name'>网页设计</span>
</a>
</h3>
<div itemprop='description'>热爱设计网站、制作主题和酷炫图形吗?喜欢使用 TailwindCSS、Bootstrap 或其他 CSS 框架?让我们一起打造一些美好的东西吧。</div>
</div>
</td>
<td class='topics'>
<div title='1 Topics'>1</div>
</td>
</tr>
<tr>
<td class='category' style='border-color: #808281;'>
<div itemprop='itemListElement' itemscope itemtype='http://schema.org/ListItem'>
<meta itemprop='position' content='12'>
<meta itemprop='url' content='/c/off-topic/17'>
<h3>
<a href='/c/off-topic/17'>
<span itemprop='name'>闲聊</span>
</a>
</h3>
<div itemprop='description'>闲聊板块用于讨论<strong>与托管行业无关</strong>的任何其他话题。结识朋友,享受乐趣,一起玩游戏。规则依然适用。</div>
</div>
</td>
<td class='topics'>
<div title='0 Topics'>0</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<footer class="container wrap">
<nav class='crawler-nav'>
<ul>
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
<span itemprop='name'>
<a href='/' itemprop="url">首页 </a>
</span>
</li>
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
<span itemprop='name'>
<a href='/categories' itemprop="url">分类 </a>
</span>
</li>
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
<span itemprop='name'>
<a href='/guidelines' itemprop="url">常见问题/指南 </a>
</span>
</li>
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
<span itemprop='name'>
<a href='/tos' itemprop="url">服务条款 </a>
</span>
</li>
<li itemscope itemtype='http://schema.org/SiteNavigationElement'>
<span itemprop='name'>
<a href='/privacy' itemprop="url">隐私政策 </a>
</span>
</li>
</ul>
</nav>
<p class='powered-by-link'>由 <a href="https://www.discourse.org">Discourse</a> 提供支持,建议启用 JavaScript 以获得最佳体验</p>
</footer>
</body>
</html>
* Closing connection 0
Falco
(Falco)
6
关于
curl --unix-socket /shared/nginx.http.sock
?
如您所见,它似乎甚至可以从非 Docker 系统的 Raspberry Pi 上访问。
谢谢 Falco,我想在这种情况下,我的主 Web 服务器有点失控了……
marcell@raspberry:/var/discourse/shared/standalone$ sudo curl -GET --unix-socket ./nginx.http.sock http://localhost/io
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>页面未找到 - BroHosting 社区</title>
<meta name="description" content="">
<meta name="generator" content="Discourse 2.9.0.beta11 - https://github.com/discourse/discourse version 8b8c1291e78b38f3a724faad82b03d0fd51452db">
<link rel="icon" type="image/png" href="https://community.brohosting.eu/uploads/default/optimized/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82_2_32x32.png">
<link rel="apple-touch-icon" type="image/png" href="https://community.brohosting.eu/uploads/default/optimized/1X/29e7b08a34da961c2daa0fa9bb7f2651bb6dee82_2_180x180.png">
<meta name="theme-color" media="all" content="#0a0e12">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover">
<link rel="canonical" href="https://community.brohosting.eu/404" />
<link rel="search" type="application/opensearchdescription+xml" href="https://community.brohosting.eu/opensearch.xml" title="BroHosting 社区搜索">
<link href="/stylesheets/color_definitions_brohosting-dark_1_1_5363f1ab554489831bcd57194284900d906176ea.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" class="light-scheme"/>
<link href="/stylesheets/desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop" />
<link href="/stylesheets/chat_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="chat" />
<link href="/stylesheets/discourse-chat-integration_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-chat-integration" />
<link href="/stylesheets/discourse-details_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-details" />
<link href="/stylesheets/discourse-local-dates_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-local-dates" />
<link href="/stylesheets/discourse-narrative-bot_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-narrative-bot" />
<link href="/stylesheets/discourse-presence_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-presence" />
<link href="/stylesheets/discourse-reactions_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-reactions" />
<link href="/stylesheets/discourse-solved_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-solved" />
<link href="/stylesheets/discourse-tickets_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-tickets" />
<link href="/stylesheets/discourse-voting_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-voting" />
<link href="/stylesheets/lazy-yt_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="lazy-yt" />
<link href="/stylesheets/poll_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="poll" />
<link href="/stylesheets/chat_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="chat_desktop" />
<link href="/stylesheets/discourse-reactions_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-reactions_desktop" />
<link href="/stylesheets/discourse-voting_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="discourse-voting_desktop" />
<link href="/stylesheets/poll_desktop_f0041626e83b7de560ccdc3f8f87eeeee9d00a92.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="poll_desktop" />
<link href="/stylesheets/desktop_theme_2_11754829f558c0d3807cdfe6e30e0935f2ded81c.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="2" data-theme-name="discorse social links"/>
<link href="/stylesheets/desktop_theme_1_bc0efde0ba1dbb01acdd436e8cd6547941d8d470.css?__ws=community.brohosting.eu" media="all" rel="stylesheet" data-target="desktop_theme" data-theme-id="1" data-theme-name="default"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap">
<script defer="" src="/theme-javascripts/127de10b1fc2f9f49a8ee8e02b9b419432275982.js?__ws=community.brohosting.eu" data-theme-id="2"></script>
</head>
<body class="no-ember ">
<section id='main'>
<header class="d-header">
<div class="wrap">
<div class="contents clearfix">
<div class="title">
<a href="/">
<picture>
<img src="https://community.brohosting.eu/uploads/default/original/1X/352338a744a206a2960fb025baff7884ab627865.webp" alt="BroHosting 社区" id="site-logo" />
</picture>
</a>
</div>
<div class="panel clearfix">
<span class='header-buttons'>
<a href="/signup" class='btn btn-primary btn-small sign-up-button'>注册</a>
<a href="/login" class='btn btn-primary btn-small login-button btn-icon-text'><svg class="fa d-icon svg-icon svg-node" aria-hidden="true"><svg id="user" viewBox="0 0 448 512">
<path d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"/>
</svg></svg>
登录</a>
</span>
</div>
</div>
</div>
</header>
<div id="main-outlet" class="wrap not-found-container">
<div class="page-not-found">
<h1 class="title">哎呀!该页面不存在或是私有的。</h1>
<a href="/login" class='btn btn-primary'><svg class="fa d-icon svg-icon svg-node" aria-hidden="true"><svg id="user" viewBox="0 0 448 512">
<path d="M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"/>
</svg></svg>
登录</a>
</div>
<div class="row page-not-found-topics">
<div class="recent-topics">
<h2 class="recent-topics-title">最近</h2>
<div class='not-found-topic'>
<a href="/t/html5-tailwindcss-windows-live-messenger/63">HTML5/TailwindCSS - Windows Live Messenger</a><a class='badge-wrapper box' href='/c/web-design/15'><span class='badge-category-bg' style='background-color: #8C6238;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
title='喜欢设计网站、制作主题和酷炫图形吗?想用 TailwindCSS、Bootstrap 或其他 CSS 框架吗?让我们一起构建些有趣的东西吧。'>网页设计</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/making-linux-servers-more-secure/62">让 Linux 服务器更安全</a><a class='badge-wrapper box' href='/c/cyber-security/12'><span class='badge-category-bg' style='background-color: #652D90;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
title='讨论数据泄露、漏洞、安全提示和软件。如何保护您的服务器和网站免受各种攻击。'>网络安全</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/miami2d-comments/60">Miami2D 评论</a><a class='badge-wrapper box' href='/c/off-topic/gaming/19'><span class='badge-category-parent-bg' style='background-color: #808281;'></span><span class='badge-category-bg' style='background-color: #BF1E2E;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
>游戏</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/miami2d-development/59">Miami2D 开发</a><a class='badge-wrapper box' href='/c/off-topic/gaming/19'><span class='badge-category-parent-bg' style='background-color: #808281;'></span><span class='badge-category-bg' style='background-color: #BF1E2E;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
>游戏</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/collection-grand-theft-auto-vice-city/56">[合集] 侠盗猎车手:罪恶都市</a><a class='badge-wrapper box' href='/c/off-topic/gaming/19'><span class='badge-category-parent-bg' style='background-color: #808281;'></span><span class='badge-category-bg' style='background-color: #BF1E2E;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
>游戏</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/welcome-to-brohosting/44">欢迎来到 BroHosting</a><a class='badge-wrapper box' href='/c/announcements-and-news/23'><span class='badge-category-bg' style='background-color: #B3B5B4;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
title='BroHosting 社区工作人员可在此发布公告或新闻。'>公告与新闻</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/adding-chat-on-forum/22">在论坛中添加聊天功能</a><a class='badge-wrapper box' href='/c/site-feedback/2'><span class='badge-category-bg' style='background-color: #F1592A;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
title='讨论本网站的组织结构、运作方式以及如何改进。'>站点反馈</span></a>
</div>
<div class='not-found-topic'>
<a href="/t/public-ticket-c202205060001-500-error-after-wordpress-update/21">[公开工单 #C202205060001] WordPress 更新后出现 500 错误</a><a class='badge-wrapper box' href='/c/support/public-support/7'><span class='badge-category-parent-bg' style='background-color: #9EB83B;'></span><span class='badge-category-bg' style='background-color: #12A89D;'></span><span style='color: #FFFFFF' data-drop-close='true' class='badge-category clear-badge'
title='任何人都可以在此请求支持,无论是否使用 BroHosting。请注意,我们在此提供的选项有限,不保证提供支持。'>公开支持</span></a>
</div>
<a href="/latest" class="btn btn-default">更多…</a>
</div>
</div>
<div class="row">
<div class="page-not-found-search">
<h2>搜索本站</h2>
<p>
<form action='/search' id='discourse-search'>
<input type="text" name="q" value="">
<button class="btn btn-primary">搜索</button>
</form>
</p>
</div>
</div>
<link rel="preload" href="/assets/onpopstate-handler-ece5c756a2e952d484f91ce9faefcf87d7660f2102e26047221987c335ff8c11.js" as="script">
<script defer src="/assets/onpopstate-handler-ece5c756a2e952d484f91ce9faefcf87d7660f2102e26047221987c335ff8c11.js"></script>
</div>
</section>
</body>
</html>
我知道这不是你的领域,但你知道为什么我的 Discourse 在修改了 Windows 的 hosts 文件后可以加载,而没有修改它就无法加载吗?
这听起来像是我的域名或 DNS 没有响应,但我对此表示怀疑,因为我可以在外部进行 traceroute 和 ping。
Falco
(Falco)
10
如果更改 hosts 文件后可以正常工作,那很可能是 DNS 问题。也许是错误的 AAAA 记录和有效的 A 记录会导致难以重现?
其他域也指向它,并且它们运行正常。
甚至根域 brohosting.eu 也能正常运行。这就是我感到奇怪的原因。