• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Andrey Pospelov
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Andrey Pospelov

    @Andrey Pospelov

    0
    Reputation
    306
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Andrey Pospelov Unfollow Follow

    Latest posts made by Andrey Pospelov

    • RE: Invalid CSRF Token (docker kubernetes, no Nginx)

      @baris Also for the POST request during login I don't see any tokens:

      *Request URL:http://kubernetes-hack-dev.acomcloud.int:31955/login
      Request Method:POST
      Status Code:403 Forbidden
      Remote Address:10.15.1.190:31955

      Response Headers:
      Access-Control-Allow-Origin:null
      Connection:keep-alive
      Content-Length:9
      Content-Type:text/plain; charset=utf-8
      Date:Thu, 05 Jan 2017 15:43:23 GMT
      ETag:W/"9-cilpV3qWyjlT6E49lJ3ugQ"
      Vary:Accept-Encoding
      X-Frame-Options:SAMEORIGIN
      X-Powered-By:NodeBB

      Request Headers:
      Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
      Accept-Encoding:gzip, deflate
      Accept-Language:en-US,en;q=0.8,ru;q=0.6
      Cache-Control:no-cache
      Connection:keep-alive
      Content-Length:46
      Content-Type:application/x-www-form-urlencoded
      Cookie:express.sid=s%3AD9OO1t1_OEyIlkt6A0K4wdo9b1TCTJZ-.ZTzcwSu686tHghVwWUqJOaIwZ3zxVbg4VX5PF8YCPFA
      Host:kubernetes-hack-dev.acomcloud.int:31955
      Origin:http://kubernetes-hack-dev.acomcloud.int:31955
      Pragma:no-cache
      Referer:http://kubernetes-hack-dev.acomcloud.int:31955/login
      Upgrade-Insecure-Requests:1
      User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

      Form Data
      username:admin
      password:[email protected]
      remember:on*

      posted in Technical Support
      A
      Andrey Pospelov
    • RE: Invalid CSRF Token (docker kubernetes, no Nginx)

      @phit @baris it's
      "url" : "http://kubernetes-hack-qwe.zasdfg.int:31955"

      still have the same issue.

      posted in Technical Support
      A
      Andrey Pospelov
    • Invalid CSRF Token (docker kubernetes, no Nginx)

      I'm running nodebb 1.0.0 forum on docker/kubernetes stack and it works until I try to login. When I try to login I'm getting "invalid csrf token" in logs and forbidden in the browser. On the nodebb's forum it's written https://community.nodebb.org/topic/9222/invalid-csrf-token/6 to add "proxy_set_header X-Forwarded-Proto $scheme; to your Nginx configuration" but I have no Nginx. I'd like to know is there a place in configuration of nodebb to add this to?

      Locally when I was running this through docker on ubuntu with all the same ports exposed on localhost like localhost:4567 it worked fine. But now inside docker it's still localhost:4567 but the external dns for it is like http://kubernetes-hack-qwe.zasdfg.int:31955/ requests for this dns and port goes to my kubernetes service with port 31955, and this port then sends this to docker with port 4567. I have no nginx involved anywhere. How can I make login work in my case?

      posted in Technical Support
      A
      Andrey Pospelov

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact