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

Login does not work anymore - White page

Scheduled Pinned Locked Moved Unsolved Surfer
16 Posts 6 Posters 107 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.
  • P Offline
    P Offline
    Patmo.de
    wrote on last edited by
    #1

    Hi,

    with the latest update, I cannot login into surfer anymore. There is no longer a web-login page available and when I try to login from the cloudron-backend, I will be logged in, but I cannot do anything there, since the backend is shown for second and then the loading-animation takes over and does never stop.

    Surfer was running quite well over the last month until there was the latest update.

    When I try the web-login, the page tries to load something but the page itself stays blank. There is no login form anymore.

    The Cloudron Version is 7.4.3 and there were some security updates that needed a reboot yesterday, but the problem came directly after updating surfer.

    I have two cloudron instances and this happens on both of them (tried it with the second one just a few minutes ago).

    In the javascript console I can see that /api/oidc/login throws an error 500.

    Any hints on what might be going wrong or how I can fix this are much appreciated.

    Thanks in advance
    Patrick

    1 Reply Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #2

    https://forum.cloudron.io/topic/9515/surfer-version-6

    Life of sky tech

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #3

    @Patmo-de the auth logic changed from ldap to openID in the backend with surfer 6. Could you check the app logs for that 500 error to get more info from the server side?

    Have you tried different browsers or maybe a incognito session to ensure caching does not interfere here?

    Also if you want us to take a direct look, send us a mail to support@cloudron.io with remote support enabled https://docs.cloudron.io/support/#remote-support

    humptydumptyH 1 Reply Last reply
    0
  • nebulonN nebulon marked this topic as a question on
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    replied to nebulon on last edited by
    #4

    @nebulon said in Login does not work anymore - White page:

    @Patmo-de the auth logic changed from ldap to openID in the backend with surfer 6.

    Does that mean we can’t log in with our Cloudron users anymore? If so, how do we log in? Sorry for the noob questions but I never used oidc before.

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #5

    Only the login method is changed. Since Cloudron is now also an OpenID provider, we are moving apps one-by-one from LDAP to OpenID connect where possible. This allows for a real single sign on experience.

    1 Reply Last reply
    1
  • P Offline
    P Offline
    Patmo.de
    wrote on last edited by
    #6

    Thanks @robi and @nebulon for your quick replies. I read about the switch to oID (maybe not focused enough), and I was unsure about how this affected my installation.

    I tried firefox (normal + private), chrome and edge and the results were all the same - a white page instead of a login form. I will retry it in the middle of the upcoming week and see, if there are any add-ons or browser plug-ins that keep the form from showing up/loading.

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #7

    @Patmo-de I just installed Surfer 6.0 on the demo Cloudron and was able to log into the admin page.

    I did notice that the page had to redirect to the new oidc URL, but still brought up the username/pw form.

    You can try it there yourself.

    Life of sky tech

    1 Reply Last reply
    0
  • P Offline
    P Offline
    Patmo.de
    wrote on last edited by
    #8

    Thanks, @robi. I tried it in the demo Cloudron, too. Everything was in place. The only difference I could spot is, that I am on v7.4.3 (Ubuntu 22.04.1 LTS) on my server, while the demo is on v7.5.0 (Ubuntu 20.04.4 LTS). I will dig deeper into this in the middle of the next week, when there is more time (an no more deadline approaching).

    1 Reply Last reply
    1
  • N Offline
    N Offline
    natzilla
    wrote on last edited by
    #9

    I get the white page while it attempts something, and then I get hit with the page
    status "Internal Server Error"
    message "Issuer.discover() failed.\n RequestError: connect ECONNREFUSED x.x.x.x:443\n RequestError: connect ECONNREFUSED x.x.x.x:443"

    girishG nebulonN 2 Replies Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to natzilla on last edited by
    #10

    @natzilla Are you on Cloudron 7.5.0 and are you able to login to Cloudron dashboard itself?

    N 1 Reply Last reply
    0
  • N Offline
    N Offline
    natzilla
    replied to girish on last edited by
    #11

    @girish ahh, I'm on 7.4.3, is 7.5 required? And yes I can access the cloudron management.

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

    @natzilla It's not required, but I was wondering if this was related to oidc in general. In 7.5.0, the cloudron dashboard has also moved to oidc. Best to stick to 7.4.3 till we figure this out because you may not be login altogether with 7.5.0.

    Next question is if you are on a private network. OIDC requires apps to be able to access the dashboard which is of course on the very same server . Is there some custom DNS setup or something you can think of?

    N 1 Reply Last reply
    0
  • N Offline
    N Offline
    natzilla
    replied to girish on last edited by
    #13

    @girish thanks for the heads up. I disabled auto updates for now. As far as my dns goes, no I don't have anything special just normal a records.
    This particular setup has two domains on it, but I would think that wouldn't be a factor.
    As far as my Ubuntu version it's on 22.04.2.

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

    @natzilla 7.5.0 won't auto update , so it's not a problem. But if you can write to support@cloudron.io we can debug this further.

    N 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to natzilla on last edited by
    #15

    @natzilla hm this may be related to the app trying to fetch a resource from the dashboard from whithin the app. I have seen some network setups where this wasn't working.

    1 Reply Last reply
    0
  • N Offline
    N Offline
    natzilla
    replied to girish on last edited by
    #16

    @girish I'll send in a ticket through the cloudron dashboard.

    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.