There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

[Solved]Cloudflare 502 on Self-Hosted Owncast Server

Okay, so I followed some guides starting with this one that uses CLI but then ended up roughly-following this Docker guide. I’m running Ubuntu so I had to figure some things myself.

My SSL settings are set to encryption mode full, my tunnel settings are as follows
https://lemmy.ca/pictrs/image/3c53b946-57f3-44bb-a2be-76871a886be0.pnghttps://lemmy.ca/pictrs/image/bce74f01-431c-4e73-a5b2-e71d0c457dc1.png

My Owncast server is set up to 30050 and I can even connect fine through external IP, but Cloudflare’s not cooperating. When I connect via my hostname, I get a 502 error, and on the server side I get the following errors:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:30050: connect: connection refused" cfRay=7d6fe3954bcd5419-YYZ event=1 ingressRule=0 originService=http://127.0.0.1:30050/
</span><span style="color:#323232;">ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:30050: connect: connection refused" connIndex=1 dest=https://live.ramram.ink/favicon.ico event=0 ip=198.41.192.7 type=http
</span>

I also confirmed that on the local machine, running curl 127.0.0.1:30050 works fine.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines