Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Ian Svoboda
Ian Svoboda
16,639 Points

500 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

Ian Svoboda
Ian Svoboda
16,639 Points

No, just this one. My website is www.iansvoboda.com

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

Are 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
Ian Svoboda
16,639 Points

I did a permissions reset as my first step, but still no dice.