Difficulty running invoke update due to (corsheaders.E014) error. #9552
siegfriedclarke
started this conversation in
General
Replies: 2 comments 4 replies
-
Looks like the trailing slash is the issue - https://stackoverflow.com/questions/56404930/when-trying-set-corsheaders-in-settings-py-file Where is the URL coming from, your config file ( |
Beta Was this translation helpful? Give feedback.
3 replies
-
@siegfriedclarke I can reproduce the bug in any case - fix is incoming in #9559 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
I seem to have hit some difficulty running
invoke update
on my bare metal install.The first tests against requirements.txt seem to pass but then I get the following error.
The part that I'm getting especially confused by is that the origin https://inventree.serverurl.co.uk/ is not set at all in the relevant config file, which currently has base_url commented out and the CORS settings as follows:
The issue seems to be the trailing '/' in the origin, which from what I can tell is a pretty common django issue but I cannot figure out how to resolve this. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions