Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialIan Svoboda
16,639 Points500 server error (connection reset), JS file won't load
Originally posted on Stack Overflow(http://stackoverflow.com/questions/24749310/500-server-error-connection-reset-js-file-wont-load)
This JS file I am loading doesn't load properly for some reason. This randomly cropped up at some point in the last week or so and I haven't actually made any changes between now and then.
www.iansvoboda.com/js/app.min.js
My console indicates that this is due to a 500 internal server error: ERR_CONNECTION RESET
I did some research and according to my server logs I saw an entry that stood out:
[Mon Jul 14 11:09:43 2014][debug] core.c(3118): [client 85.247.10.199] redirected from r->uri = /js/app.min.js, referer: http://iansvoboda.com/
[Mon Jul 14 11:11:11 2014][error] [client 180.76.6.58] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
I have Apache shared webhosting and I have no idea how to "use LogLevel" whatsoever. I would imagine this would involve configuring the server itself, which I should be able to do assuming I have access to do so.
What I also don't understand is why this took place to begin with? I haven't made any changes to this site for at least a week or more and the file was working previously and after those changes. Very odd.
Any guidance/assistance would be appreciated! Thanks.
3 Answers
Andrew Chalkley
Treehouse Guest TeacherDoes it happen with all .js files?
Ian Svoboda
16,639 PointsNo, just this one. My website is www.iansvoboda.com
Andrew Chalkley
Treehouse Guest TeacherAre there any permissions on it that are off? In your FTP/File Upload Client compare it with the other scripts that do work.
Ian Svoboda
16,639 PointsI did a permissions reset as my first step, but still no dice.