Fiz mais alguns testes, nenhum deles resolveu esse bug.
Teste 1 . Restaurar o backup* feito antes do bug ocorrer. Reiniciar o sistema e então obter um erro 502.
PS: Imagem de disco do VPS com backup em 27/04, não um arquivo zip de backup do Discourse.
O novo arquivo de backup pode ser restaurado e o sistema reiniciado sem problemas; apenas o backup antigo falhou. É estranho. Teoricamente, o backup antigo deveria funcionar tão bem quanto o outro.
Teste 2 . Clonar a imagem de disco do backup do VPS para um novo VPS e seguir os passos abaixo para configurar um novo domínio. O novo site funciona normalmente, mas esse bug ainda persiste. Isso deve ser devido ao rebuild, que carrega uma nova imagem do Discourse, que é a mesma.
This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name.
This guide is for self-hosted Discourse instances that were installed using our installation guide on GitHub . If you are hosted by Discourse , please see Configure your domain name for hosted Discourse for specific …
Teste 3 . Seguir os passos da página web abaixo para verificar o motivo do erro 403.
Just tried a couple things:
From the DO box itself I can curl this URL fine:
http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803
If I curl from within the docker container, though, I get a 503:
* Connection #0 to host www.google.com left intact
root@host:/# curl http://www.amazon.com/The-Advantage-Organizational-Everything-Business/dp/1491510803 -v -o deleteme
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time …
A imagem aqui mostra a diferença do onebox entre o meta (acima) e meu site (abaixo).
Testando URLs para Udemy e Amazon. Parece que uma retorna 403 e a outra 503.
https://www.udemy.com/course/power-bi-2021-proyectos-reales-para-volverte-un-master/
< HTTP/2 403
< date: Fri, 07 May 2021 10:18:28 GMT
< content-type: text/plain; charset=UTF-8
< content-length: 16
< x-frame-options: SAMEORIGIN
< cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< expires: Thu, 01 Jan 1970 00:00:01 GMT
< set-cookie: __cfduid=dbbbf721820c12aac03e8116c362147d51620382708; expires=Sun, 06-Jun-21 10:18:28 GMT; path=/; domain=.udemy.com; HttpOnly; SameSite=Lax
< cf-request-id: 09e7ef0b3c00000b939211d000000001
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< set-cookie: __cf_bm=f83cbaa075085ed2ae624e9bcfa5badf394f7ddd-1620382708-1800-Af1qbDD41LzYLWJX0XR39JAeFnjBdEmvhZO/0YloMwnBR8urb60m7+bcte18X+L59RfHKhzWeGPELN02cuiV9RA=; path=/; expires=Fri, 07-May-21 10:48:28 GMT; domain=.udemy.com; HttpOnly; Secure; SameSite=None
< x-content-type-options: nosniff
< server: cloudflare
< cf-ray: 64b9b4585d9b0b93-NRT
<
{ [16 bytes data]
100 16 100 16 0 0 290 0 --:--:-- --:--:-- --:--:-- 296
* Connection #0 to host www.udemy.com left intact
< HTTP/2 503
< server: Server
< date: Fri, 07 May 2021 10:25:04 GMT
< content-type: text/html
< strict-transport-security: max-age=47474747; includeSubDomains; preload
< x-amz-rid: P43ZS4CBG7V92Z7W4VSC
< vary: Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
< last-modified: Wed, 30 Sep 2020 23:54:00 GMT
< etag: "a6f-5b0909d09d600"
< accept-ranges: bytes
< content-length: 2671
<
{ [1139 bytes data]
100 2671 100 2671 0 0 11871 0 --:--:-- --:--:-- --:--:-- 11871
* Connection #0 to host www.amazon.com left intact