Comments (19)
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.
Oops, this slipped off my radar, will try to take a look at it soon
from sassandcoffee.
Would be great. FYI - I've only tested w/ IIS express. Not sure about IIS or cassini.
from sassandcoffee.
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.
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.
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.
Interesting, I don't repro this at all. Can you tell me more about your environment and browser?
from sassandcoffee.
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.
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.
Win7, MVC, VS2010 SP1
from sassandcoffee.
Win7 x64, MVC, VS2010 SP1, IIS Express
from sassandcoffee.
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.
Yrah forgot to mention mine was Win7 x64 if that makes a difference
from sassandcoffee.
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.
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.
I believe I've fixed this - can someone who hit this before try again and reopen if it's still borked?
from sassandcoffee.
@xpaulbettsx is this something I need to look at it Nancy.SassAndCoffee, or is it an ASP.Net peculiarity ?
from sassandcoffee.
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.
looks good
from sassandcoffee.
Related Issues (20)
- Support minifying plain CSS files with .min.css
- Create a SASS compiler into a standalone executable HOT 4
- Add support for $warn and $debug HOT 2
- Error in [Microsoft JScript runtime error]: Out of stack space HOT 3
- Caching broken under certain configurations in v2.1(pre) HOT 5
- Very slow compilation of SCSS scripts HOT 5
- Intermittent NullReference and Sass::SyntaxError exceptions
- Intermittent IndexOutOfRangeException causing 100% cpu HOT 3
- IndexOutOfRangeException HOT 3
- System.NullReferenceException on Mono (Jurassic removed) HOT 3
- ASP.NET runtime error: A section using 'configSorsce' may contain no other attributes or elements. HOT 1
- Need a way to enable Sass' debug information HOT 2
- How to handle debug vs. release? HOT 1
- Throwing 404.x errors HOT 6
- PipelineHandler should NOT send out 404's HOT 3
- Update to Sass 3.2 HOT 8
- API for compilation HOT 1
- Ruby Sass compiler chokes on Unicode characters in ASP.NET MVC 4 default stylesheet
- Add support for :load_paths HOT 1
- Could not load type 'SassAndCoffee.AspNet.SassInterceptorModule'. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sassandcoffee.