GithubHelp home page GithubHelp logo

Comments (19)

anaisbetts avatar anaisbetts commented on May 29, 2024

I'll look into this, thanks for the bug report

Paul Betts [email protected]

On Jun 9, 2011, at 4:37 AM, [email protected] wrote:

To repeat the problem in chrome, get an existing JS file, say unminified jQuery multiple times.

In Chrome, about on alternating requests I get the following:

This webpage is not available
The webpage at https://localhost:44300/Scripts/jquery-1.5.2.js might be temporarily down or it may have moved permanently to a new web address.
Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

In FF 3.6 I get

Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

and IE 10 is

Internet Explorer cannot display the webpage 

I've tried to find the source of the error, so far no luck.

Reply to this email directly or view it on GitHub:
#7

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

Oops, this slipped off my radar, will try to take a look at it soon

from sassandcoffee.

ScottWeinstein avatar ScottWeinstein commented on May 29, 2024

Would be great. FYI - I've only tested w/ IIS express. Not sure about IIS or cassini.

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

It looks like if you have a really long file (I was trying with 10MB worth of jQuery UI), you can blow the stack (i.e. StackOverflowException). I'll try to give you more headroom by increasing the thread stack size, but in the meantime, I recommend splitting things into smaller files. Why are you making users download all that crap anyways?? ;)

from sassandcoffee.

ScottWeinstein avatar ScottWeinstein commented on May 29, 2024

I'm afraid I didn't describe the problem accurately. Sorry about that.

The problem isn't only limited to huge files but occurs intermittently on small files (5K), and more frequently when downloading larger (200k) JS files.

I discovered the problem when I tried to use SassAndCoffee and it worked on every other browser request. I had existing compiled coffee files, and when SassAndCoffee tried to server up the existing .js file it failed on alternating requests.

When I tried to duplicate the problem in a virgin project, it was only on the larger js files that the problem would show.

from sassandcoffee.

jakcharlton avatar jakcharlton commented on May 29, 2024

I get exactly this problem - hitting the Refresh button on the page reliably causes it on every other request.

First is fine, all JS returned, next returns no JS, and so on alternating between JS/No JS

And these are just .js files - no coffee ones at all

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

Interesting, I don't repro this at all. Can you tell me more about your environment and browser?

from sassandcoffee.

jakcharlton avatar jakcharlton commented on May 29, 2024

Nothing much unusual, Chrome was browser, HTML was out of ASP.NET MVC, with HTML5 Boilerplate template mostly intact.

Seemed to be some kind of caching going on, random initial requests caused it to fail, repeat Refresh clicks alternated, clicking in page links didn't.

Had to remove SassAndCoffee as JS was more important to me than trying to get Sass working :)

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

OS? Architecture? VS version? VS SP level?

Paul Betts

SENT FROM MY COMMODORE 64: RESPONSES MAY BE IN ALL CAPS

On Jul 8, 2011, at 0:13, [email protected] wrote:

Nothing much unusual, Chrome was browser, HTML was out of ASP.NET MVC, with HTML5 Boilerplate template mostly intact.

Seemed to be some kind of caching going on, random initial requests caused it to fail, repeat Refresh clicks alternated, clicking in page links didn't.

Had to remove SassAndCoffee as JS was more important to me than trying to get Sass working :)

Reply to this email directly or view it on GitHub:
#7 (comment)

from sassandcoffee.

jakcharlton avatar jakcharlton commented on May 29, 2024

Win7, MVC, VS2010 SP1

from sassandcoffee.

ScottWeinstein avatar ScottWeinstein commented on May 29, 2024

Win7 x64, MVC, VS2010 SP1, IIS Express

from sassandcoffee.

gavacho avatar gavacho commented on May 29, 2024

Also encountering this on win server 2008 64, fx4 framework, running in 32 app pool. It's like every other request to a .js file chokes with Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.

from sassandcoffee.

jakcharlton avatar jakcharlton commented on May 29, 2024

Yrah forgot to mention mine was Win7 x64 if that makes a difference

from sassandcoffee.

gavacho avatar gavacho commented on May 29, 2024

My issue seems to have been resolved by installing windows updates after installing fx4 on the server.

EDIT: Nevermind, issue persists. The issue only presents itself when requesting the .js from a remote computer (not localhost)

from sassandcoffee.

jimmy2saints avatar jimmy2saints commented on May 29, 2024

I'll add to this same issue. Win7 64, MVC project, vs2010 sp1, iis express.
Every second requests gives (net::ERR_CONTENT_DECODING_FAILED).
(The requested JS file in this case is modernizr-2.0.6-development-only.js)

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

I believe I've fixed this - can someone who hit this before try again and reopen if it's still borked?

from sassandcoffee.

grumpydev avatar grumpydev commented on May 29, 2024

@xpaulbettsx is this something I need to look at it Nancy.SassAndCoffee, or is it an ASP.Net peculiarity ?

from sassandcoffee.

anaisbetts avatar anaisbetts commented on May 29, 2024

The fix is in AspNet, you're probably good

Paul Betts [email protected]

On Thursday, August 4, 2011 at 12:09 AM, grumpydev wrote:

@xpaulbettsx is this something I need to look at it Nancy.SassAndCoffee, or is it an ASP.Net peculiarity ?

Reply to this email directly or view it on GitHub:
#7 (comment)

from sassandcoffee.

ScottWeinstein avatar ScottWeinstein commented on May 29, 2024

looks good

from sassandcoffee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.