question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 Not Found after upgrade to 2.3

See original GitHub issue

Just upgraded to 2.3. Then cannot open graphql site anymore. It shows graphiql.js file not found.

Screen Shot 2019-06-19 at 11 10 41 PM Screen Shot 2019-06-19 at 11 14 18 PM

#683 looks similar to my issue, but I can’t pull up the site with what @brandonmbanks did.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

8reactions
jkimbocommented, Jan 30, 2020

@evanheckert @Ouradze @dacevedo12 when running Django with DEBUG=False it will not host static files for you (ref). You will need to run a server to host the static assets or use something like whitenoise to get the python process to host them. Once you have that setup it should work fine.

The reason this changed in v2.3 is that we moved the graphiql javascript bundle into a separate file: https://github.com/graphql-python/graphene-django/pull/508

6reactions
jkimbocommented, Jun 24, 2019

@danielcwj16 have you added graphene_django to your INSTALLED_APPS list in settings.py? django.contrib.staticfiles also needs to be in that list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

404 error after upgrade to Struts 2.3.32 - Stack Overflow
the pom.xml was upgraded too. There was no Exception when the tomcat started. but my project always showed "404",the console showed no messages....
Read more >
Magento 2.4.2 404 not found
2 on my local server(WAMP64) but it gives 404 when try to access frontned or backend. Can someone please help me to fix...
Read more >
Admin Page gives 404 error after Magento 2.3.3 installation
I am working on Ubuntu 19.04/MySQL 8/PHP 7.3 platform. I used Magento-CE-2.3.3_sample_data-2019-09-26-04-44-35.tar.gz for installation.
Read more >
How to Fix Magento Admin 404 Error After Install - SimiCart
There are 3 possible solutions to fix the Magento Admin 404 Error after installing or upgrading extensions.
Read more >
404 after updating ver. 2.3.6 - WordPress.org
After update this plugin from 2.3.5 to 2.3.6 all product pages show 404 error. Replacing previous version files resolved. This topic was modified...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found