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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • 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
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Comentario
  3. Failure signing up

Failure signing up

Scheduled Pinned Locked Moved Comentario
9 Posts 2 Posters 2.0k Views 2 Watching
  • 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.
  • L Offline
    L Offline
    Locutus
    wrote on last edited by
    #1

    Whenever I try to sign up, I keep getting the error below.

    I tried setting it up with and without OAuth support without success. When I do use the OAuth login option, I get another error complaining that the OAuth login failed (right when I press the button). Any ideas?

    Invalid or missing XSRF token. Please reload the page and try again.
    (CSRF token invalid)

    {
      "headers": {
        "normalizedNames": {},
        "lazyUpdate": null
      },
      "status": 403,
      "statusText": "OK",
      "url": "https://comments.somesite.com/api/auth/profile",
      "ok": false,
      "name": "HttpErrorResponse",
      "message": "Http failure response for https://comments.somesite.com/api/auth/profile: 403 OK",
      "error": {
        "id": "xsrf-token-invalid",
        "message": "XSRF token is missing or invalid",
        "details": "CSRF token invalid"
      }
    }
    
    1 Reply Last reply
    1
    • J Online
      J Online
      joseph
      Staff
      wrote on last edited by
      #2

      @Locutus I just tried this now with and without oauth and both work fine. Can you check if you can reproduce this on our demo instance ? https://my.demo.cloudron.io (username & password is 'cloudron')

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Locutus
        wrote on last edited by
        #3

        I just realized what the problem was. I'm not sure if it can be fixed here or upstream.

        I had PIxelfed installed on my root domain (While Comentario was installed on a subdomain in the same domain). Once I removed the cookies for Pixelfed, it started working again.

        J 1 Reply Last reply
        1
        • L Locutus

          I just realized what the problem was. I'm not sure if it can be fixed here or upstream.

          I had PIxelfed installed on my root domain (While Comentario was installed on a subdomain in the same domain). Once I removed the cookies for Pixelfed, it started working again.

          J Online
          J Online
          joseph
          Staff
          wrote on last edited by
          #4

          @Locutus I am pretty sure it's not related to Pixelfed being in root domain. It's more likely the cookies being cleared. Can you try putting your pixelfed back and trying again?

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Locutus
            wrote on last edited by
            #5

            Same problem. When I try to login to Pixelfed first, Comentario gives the same error.

            J 1 Reply Last reply
            0
            • L Locutus

              Same problem. When I try to login to Pixelfed first, Comentario gives the same error.

              J Online
              J Online
              joseph
              Staff
              wrote on last edited by
              #6

              @Locutus there goes my "pretty sure" .... 😄

              I can't quite make out what is the relation between pixelfed on root domain and comentario on subdomain. Do you think this is because of some issue in localstorage/browser side? What happens when you try another browser?

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Locutus
                wrote on last edited by Locutus
                #7

                Same problem with FIrefox.

                This might be related to this issue.

                1 Reply Last reply
                1
                • J Online
                  J Online
                  joseph
                  Staff
                  wrote on last edited by
                  #8

                  @Locutus good find! looks like that is the issue indeed.

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Locutus
                    wrote on last edited by
                    #9

                    I'll wait for them to merge the fix then. Thanks.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

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