User Feedback submission goes back to http


#1

Hello all,

I’m using sentry on premise with https.
I configured it according to documentation and everything worked fine.

Now i discovered the User Feedback functionnality and implemented it on the 500 page on a website.

The 500 page is loading and the User feedback form is displayed, but when i’m submiting the form the url called is in http and not in https.
I can see in the firefox console the message ‘Blocked loading mixed active content “http://sentry.mywebsite.com/api/embed/error-page/?eventId=dee4aea4123f4d44b4af7f2b3a94bafd&dsn=https%3A%2F%2F52ca9bbf1c444a758f24cb889076924c%40sentry.mywebsite.com%2F2”

So the form is never submitted to the sentry server, just need to find the setting to change the setting url from http to https.

My https config :
in sentry.conf.py :
SECURE_PROXY_SSL_HEADER = (‘HTTP_X_FORWARDED_PROTO’, ‘https’)
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True

in config.yml :
system.url-prefix:·‘https://sentry.mywebsite.com

Regards,

Thomas


#2

Hi Thomas, just wondering if you found a solution to this problem as I have recently encountered it myself. Thanks


#3

See my answer here.