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.

Webressources get 404ed when not in debug mode

See original GitHub issue

Hi,

first of all thanks a lot for that great tool 👍

I am experiencing strange behaviour when running not in debug mode: When I set DEBUG = True in sh00t/config.py everything runs fine, however when I set that flag to false all of the design supporting files get 404ed:

DEBUG = True

[04/Oct/2018 18:37:03] "GET /static/css/plugins/morris.css HTTP/1.1" 200 433
[04/Oct/2018 18:37:03] "GET / HTTP/1.1" 200 62593
[04/Oct/2018 18:37:03] "GET /static/font-awesome/css/font-awesome.min.css HTTP/1.1" 200 21984
[04/Oct/2018 18:37:03] "GET /static/css/bootstrap.min.css HTTP/1.1" 200 121200
[04/Oct/2018 18:37:03] "GET /static/js/jquery.cookie.js HTTP/1.1" 200 3121
[04/Oct/2018 18:37:03] "GET /static/images/sh00t-logo.png HTTP/1.1" 200 72623
[04/Oct/2018 18:37:03] "GET /static/js/bootstrap.min.js HTTP/1.1" 200 37045
[04/Oct/2018 18:37:03] "GET /static/js/side-menu.js HTTP/1.1" 200 790
[04/Oct/2018 18:37:03] "GET /static/js/jquery.js HTTP/1.1" 200 95785
[04/Oct/2018 18:37:03] "GET /static/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0 HTTP/1.1" 200 65452
[04/Oct/2018 18:41:59] "GET /app/sh0ts/new/ HTTP/1.1" 200 9231

DEBUG = False

[04/Oct/2018 18:36:36] "GET /static/css/plugins/morris.css HTTP/1.1" 404 103
[04/Oct/2018 18:36:36] "GET /static/font-awesome/css/font-awesome.min.css HTTP/1.1" 404 118
[04/Oct/2018 18:36:36] "GET /static/images/sh00t-logo.png HTTP/1.1" 404 102
[04/Oct/2018 18:36:36] "GET /static/js/jquery.js HTTP/1.1" 404 93
[04/Oct/2018 18:36:36] "GET /static/js/jquery.cookie.js HTTP/1.1" 404 100
[04/Oct/2018 18:36:36] "GET /static/js/bootstrap.min.js HTTP/1.1" 404 100
[04/Oct/2018 18:36:36] "GET /static/js/side-menu.js HTTP/1.1" 404 96

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
lam0rcommented, Oct 7, 2018

@praveenskumar @pavanw3b works like a charm. Thanks a lot for the effort and the fast responses

0reactions
pavanw3bcommented, Oct 7, 2018

Hey @lam0r, @praveenskumar helped us to fix that. I tested and looks perfect. Please pull a latest codebase. Let me know if you hit up any bug.

Also, please share how do you find Sh00t so far.

Read more comments on GitHub >

github_iconTop Results From Across the Web

assemblies - ASP.NET: WebResource.axd call 404 error
One of the reasons for this issue is that the registered embedded resource path is incorrect or the resource is not there. Make...
Read more >
Telerik.Web.UI.WebResource.axd 404 error not found
Hi All, I'm getting the following not found. Are there any tips on how to solve this? I'm using .NET 4.0 framework in...
Read more >
404 error on webresources.axd and Reserved ... - Plesk Forum
We have a asp.net 2005 web application that uses the Crystal Report server. We get several 404 errors on websources.axd on menu controls...
Read more >
Getting a 404 error after upgrading to ASP.NET 4.5
After pushing the code to our testing environment, I get a "404 - File or directory not found." error. The code runs fine...
Read more >
404 error when using friendly URLs - Optimizely World
I get the same error if I click on the page in Edit Mode. ... to View Mode and then get a 404:...
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