Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.
This repository was archived by the owner on May 7, 2024. It is now read-only.

Your session is invalid or has expired. Please reload this page to start a new session. #12

Closed

Description

@byszhao

登录不能成功,提示:
Your session is invalid or has expired. Please reload this page to start a new session.
发现cookie里面没有sessionid

貌似是quixote的问题,求指教。。

Activity

  1. xtao commented on Feb 15, 2014

    @xtao
    Contributor

    抱歉,这是个已知问题,下周我会解决~

  2. dongweiming commented on Feb 15, 2014

    @dongweiming
    Contributor

    恩我也遇到了

    gunicorn -w 2 -b 127.0.0.1:8000 app:app是有问题的

    gunicorn -b 0.0.0.0:8000 app:app没有问题

    目测是gunicorn多worker不支持quixote的session

  3. dongweiming commented on Feb 15, 2014

    @dongweiming
    Contributor

    btw, @xtao 豆瓣是怎么调试gunicorn下的quixote?昨天我研究了 没搞出来怎么给quixote添加调试代码输出显示出来

    gunicorn -w 2 -b 127.0.0.1:8000 app:app --log-level debug 也只是显示请求url的信息

  4. xtao commented on Feb 16, 2014

    @xtao
    Contributor

    @dongweiming 我没有深入的调试过quixote,我都是print的。
    session问题是因为我用的是quixote默认的session机制,这个session是不支持多进程的,我准备下周把这个session机制替换掉。

  5. added a commit that references this issue on Apr 2, 2014
  6. added 3 commits that reference this issue on Dec 22, 2015
    fc171ae
    52152ca
    ea3ded5
  7. added a commit that references this issue on Jan 7, 2016
    c1ab887
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions