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

Django-Rest Swagger Broken on Test Site #1470

Closed
jkmarx opened this issue Oct 13, 2016 · 3 comments · Fixed by #3324
Closed

Django-Rest Swagger Broken on Test Site #1470

jkmarx opened this issue Oct 13, 2016 · 3 comments · Fixed by #3324
Assignees
Milestone

Comments

@jkmarx
Copy link
Member

jkmarx commented Oct 13, 2016

Specific code commit: 7969dc1
Version of the web browser and OS: 49.0.1, 10.11.6 El Capitan
Environment where the error occurred (Vagrant VM and site conf mode or AWS instance): https://test.stemcellcommons.org/#/

Steps to reproduce

Please list all the actions and the input data used:

  1. Go to https://test.stemcellcommons.org/docs/

Observed behavior

screen shot 2016-10-13 at 1 30 14 pm

Console Errors:
shred.bundle.js:2609 Mixed Content: The page at 'https://test.stemcellcommons.org/docs/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test.stemcellcommons.org/docs/api-docs/'. This request has been blocked; the content must be served over HTTPS.

Expected behavior

Swagger to work correctly and no errors.

@jkmarx jkmarx added this to the Next milestone Oct 13, 2016
@hackdna
Copy link
Member

hackdna commented Oct 17, 2016

Need to configure the /docs/api-docs/ URL access via HTTPS.

@jkmarx jkmarx modified the milestones: v1.6.0, Next Oct 18, 2016
@jkmarx jkmarx removed the important label Nov 10, 2016
@jkmarx jkmarx added this to the v1.5.4 milestone Dec 14, 2016
@jkmarx jkmarx self-assigned this Dec 14, 2016
@jkmarx jkmarx removed this from the v1.5.4 milestone Dec 19, 2016
@jkmarx jkmarx removed their assignment Dec 19, 2016
@jkmarx
Copy link
Member Author

jkmarx commented Jan 3, 2017

We can't upgrade django swagger to 2.0.5 until django rest is updated to 3.5.1. Django Rest can't be updated until we upgrade Django to 1.8.

@hackdna
Copy link
Member

hackdna commented Jan 3, 2017

What is the root cause for this problem? Why is it necessary to upgrade django-rest-swagger to v2.0.5 to fix it?

@jkmarx jkmarx added this to the Release 1.6.3 milestone Jan 16, 2018
@jkmarx jkmarx self-assigned this Feb 2, 2018
@jkmarx jkmarx modified the milestones: Release 1.6.3, Next Feb 2, 2018
@jkmarx jkmarx removed this from the Next milestone Mar 14, 2018
@jkmarx jkmarx added this to Planning/Not Started in JM Tasks 1.6.6 Mar 26, 2018
@jkmarx jkmarx removed this from Planning/Not Started in JM Tasks 1.6.6 Jul 31, 2018
@jkmarx jkmarx modified the milestones: Release 1.6.9, Next Mar 12, 2019
@jkmarx jkmarx removed this from the Next milestone Apr 11, 2019
@jkmarx jkmarx added this to the Release 1.6.9 milestone Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants