Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Getting 502 Bad Gateway after proxyAuth when trying to access custom app

Scheduled Pinned Locked Moved Solved Support
proxyauth
4 Posts 2 Posters 296 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    esawtooth
    wrote on last edited by girish
    #1

    I was trying to package up SABnzbd as a custom app for my use. This is behind the proxyAuth addon, and that certainly works. However, upon clearing the challenge, I get a 502 Bad Gateway error. I am able to access the server's index.html at port 8080 from inside the app container, however, not from outside it. The app's health check does not pass either. Would love some help to figure out what I might be doing incorrectly in the packaging process that is resulting in this error and how I might go about debugging this? I have specified httpPort in the Cloudron Manifest file correctly as 8080. Am I missing any other configuration?

    The source code for my "package" is available here.

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    esawtooth
    replied to esawtooth on last edited by
    #2

    I was able to resolve this issue. It was a case of my HTTP server refusing access to itself outside localhost.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to esawtooth on last edited by
    #3

    @esawtooth Ah, I guess you had to listen to 0.0.0.0 ?

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    esawtooth
    replied to girish on last edited by
    #4

    @girish Yep! That fixed it!

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.