Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring user sessions in production continuation of ticket # 14 #21

Open
PhilippeTrounev opened this issue Oct 9, 2015 · 1 comment

Comments

@PhilippeTrounev
Copy link

Hi,
I am having trouble getting this to work in production.
In localhost it works fine because I can set

DRAGON_URL = '152.25.32.123:9000'
SWAMP_DRAGON_HOST = ''152.25.32.123'
SWAMP_DRAGON_PORT = '9000'

However in production I set

DRAGON_URL = 'sd.mydomain.com'
SWAMP_DRAGON_HOST = '127.0.0.1' or SWAMP_DRAGON_HOST = 'myinternalP'
SWAMP_DRAGON_PORT = '9000'
SESSION_COOKIE_DOMAIN = ".mydomain.com

SD works with either configuration. The domains resolve and swampdragon.js config is available,

but sessionid and csrf token are not passed with the session therefore user keeps returning None.

Any suggestions are appreciated...

@salazarfelipe
Copy link

Any solution for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants