-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Redirect doesn't use SSL #429
Comments
This is likely because the application doesn't realize you're actually using SSL (even though you've set the URL prefix). This is currently a known issue that David Cramer twitter.com/zeeg On Monday, April 16, 2012 at 8:59 AM, Ben Maynard wrote:
|
My above issue seems to have resolved itself after I upgraded from 4.0.10 to 4.0.11! |
I'm still experiencing this issue |
I am seeing this as well. I am hosting sentry via nginx with SSL at the root of a domain. When viewing the dashboard, clicking a project link redirects to http to display the project's stream. I do have SENTRY_URL_PREFIX set to the appropriate https URL. |
same problem here w/Nginx + uWsgi + Sentry 5.4.5 |
You'll need to do some special configuration for SSL
Then send the X_FORWARDED_PROTO header in Nginx |
David, I must be doing something wrong, it does not work for me.
Using uwsgi in emperor mode and by accessing https://${virtual_host_address} ends up redirecting to https://${fqdn}/login/
Have you got any idea? |
And you've also set SENTRY_URL_PREFIX ? On Sunday, June 23, 2013 at 11:10 AM, Jordi Llonch wrote:
|
Yes,
It looks to me that internal redirections are not forwarded to the right url. |
And you've added everything per the documentation? http://sentry.readthedocs.org/en/latest/quickstart/index.html#setup-a-reverse-proxy Otherwise if you could put your Nginx config here, that would help |
I am using uwsgi. Does
I have found the recipe "Running the Sentry server via uWSGI" in http://projects.unbit.it/uwsgi/wiki/TipsAndTricks , works well under http but not in httpS |
You have to use the uwsgi proxy settings IIRC, but to be honest, it's not a documented method (for Sentry) so you're kind of on your own. On Sunday, June 23, 2013 at 11:25 AM, Jordi Llonch wrote:
|
Thanks @dcramer, I'll try and come back to you with the outcome if you're interested to document and support the feature in Sentry. |
That would be great. We try to fully support embedded WSGI applications (via sentry.wsgi), it's just not something we document, so there's that possibility as well. On Sunday, June 23, 2013 at 11:29 AM, Jordi Llonch wrote:
|
That's the solution: add UWSGI_SCHEME into nginx as documented in http://stackoverflow.com/questions/7339666/unwanted-https-http-redirects-with-nginx-uwsgi-flask-app
I will fork sentry and contribute on the docs. English is not my main language, feel free to change anything after the PR. Thanks for your help, @dcramer. |
After upgrading from 3.8.X to 4.0.2, any redirects from sentry doesn't include https. I have the following setting in sentry.conf.py:
SENTRY_URL_PREFIX = 'https://sentry.blah.com'
but after an action that redirects eg: saving, it redirects to http://sentry.blah.com
The text was updated successfully, but these errors were encountered: