I just ran into it after a push, right after everything reset and with the css mime-type workaround in place.
jon On Mon, Jan 9, 2012 at 6:19 PM, Matthew Johnson <[email protected]>wrote: > Ikai, > > I'm using GAP SDK 1.6.1, and so far, I'm the only dev on my team who's > experienced this. > > Sorry I wasn't clear in my earlier reply to Jon. I did NOT need to use > Jon's fix; my mime-mapping entry (seemed to) work fine without the period, > but only AFTER I incremented the version number. I pushed twice to the same > version number after adding the mime-mapping entry with no results. > > I just removed the xml entry and deployed to the working version number. > The mime-type problem resurfaces without the entry, so I don't think it's a > red herring. > > > Here's a point of interest: we use a CSS build process, and the symptom > first occurred after a fresh build and a deploy to a new version number. > Thinking it was a syntax related error, I pulled the content from the > default version of my app and pasted it into the css file in question. This > *fixed the problem*. I just confirmed that with my freshly incremented > build I can fix the css mime-type issue by copying in css content from the > default version, without the mime-mapping entry. Once I use the newer css, > the problem resurfaces. > > Summary: > -Mime-mapping entry didn't work until I updated the version number. > -After fixing with the new version and Mime-mapping entry, removing the > mime-mapping entry reintroduced the problem. > -I can also fix the content-type by copying content from my default > app's version of the file into this version, and pushing that to the same > version (without the mime-mapping entry) > > Hope these (strange) details help out a bit. > > Cheers, > Matt > > On Jan 9, 2012, at 5:20 PM, Ikai Lan (Google) wrote: > > It sounds like the data about this XML snippet is still inconclusive. > > - Jon Stevens reports that if you change the extension to .css, it works > - Matt, in addition to using Jon's fix to the fix, you needed to increment > the version to fix the broken mime-type > > So it's possible the XML snippet might be a red herring and it's something > in the deployment/version incrementing mechanism that fixes something about > the file being in a bad state. > > Does anyone else have anything to report? > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > plus.ikailan.com | twitter.com/ikai > > > > On Mon, Jan 9, 2012 at 5:01 PM, Matthew Johnson <[email protected] > > wrote: > >> Jon, FYI, this fix didn't work for me until I incremented the version >> number. Then it worked great. >> >> Cheers, >> Matt >> >> >> On Jan 9, 2012, at 4:39 PM, Jon Stevens wrote: >> >> Just did that, redeployed and it didn't fix anything. >> >> Edited the part below to have <extension>.css</extension> (adding a >> period) and now the workaround to the workaround works. >> >> jon >> >> >> On Mon, Jan 9, 2012 at 3:16 PM, Amy Unruh <[email protected]> wrote: >> >>> For those affected, it looks like a workaround is to add the following >>> to your web.xml: >>> >>> <mime-mapping> >>> <extension>css</extension> >>> <mime-type>text/css</mime-type> >>> </mime-mapping> >>> >>> On Mon, Jan 2, 2012 at 3:19 PM, Jon Stevens <[email protected]> wrote: >>> >>>> Well, it seems it isn't just me, so I just filed a ticket: >>>> >>>> http://code.google.com/p/googleappengine/issues/detail?id=6655 >>>> >>>> Please star it. >>>> >>>> jon >>>> >>>> >>>> On Sun, Jan 1, 2012 at 8:13 PM, Carter Maslan <[email protected]> >>>> wrote: >>>> > we had the same problem and it was solved by updating the css file >>>> (with a space) and pushing again (without an app version change). >>>> Appreciate any info you find on preventing this problem. It behaved as >>>> though it was a problem in GAE's caching of static files. >>>> > >>>> > >>>> > >>>> > >>>> > On Dec 30, 2011, at 8:34 PM, jnamnath <[email protected]> wrote: >>>> > >>>> >> I got it working again by updating the version number in my >>>> appengine- >>>> >> web.xml and pushing the new version. Still have no idea what happened >>>> >> here. >>>> >> >>>> >> -J >>>> >> >>>> >> On Dec 24, 4:48 pm, jon stevens <[email protected]> wrote: >>>> >>> Hey there, >>>> >>> >>>> >>> I've got an app up on GAE-J that when I request a .css file, I get >>>> back a >>>> >>> Content-Type: null, which is causing Chrome/Safari to not render >>>> the page >>>> >>> correctly. Any ideas why this would happen? Here is an example of >>>> what I >>>> >>> see in the Chrome Developer Tools -> Network -> Headers. I tried >>>> adding the >>>> >>> mime-extension to the web.xml and that didn't do anything. >>>> >>> >>>> >>> Request URL:http://appid.appspot.com/css/gen/main.css >>>> >>> Request Method:GET >>>> >>> Status Code:200 OK >>>> >>> >>>> >>> Request Headers >>>> >>> Accept:text/css,*/*;q=0.1 >>>> >>> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 >>>> >>> Accept-Encoding:gzip,deflate,sdch >>>> >>> Accept-Language:en-US,en;q=0.8 >>>> >>> Authorization:Basic sldkjf >>>> >>> Cache-Control:max-age=0 >>>> >>> Connection:keep-alive >>>> >>> Host:appid.appspot.com >>>> >>> If-None-Match:"Cf2J0A" >>>> >>> Referer:http://appid.appspot.com/ >>>> >>> User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) >>>> AppleWebKit/535.7 >>>> >>> (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7 >>>> >>> >>>> >>> Response Headers >>>> >>> Cache-Control:public, max-age=600 >>>> >>> Content-Length:112490 >>>> >>> Content-Type:null >>>> >>> Date:Sun, 25 Dec 2011 00:23:00 GMT >>>> >>> ETag:"NfQmpA" >>>> >>> Expires:Sun, 25 Dec 2011 00:33:00 GMT >>>> >>> Server:Google Frontend >>>> >> >>>> >> -- >>>> >> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine for Java" group. >>>> >> To post to this group, send email to >>>> [email protected]. >>>> >> To unsubscribe from this group, send email to >>>> [email protected]. >>>> >> For more options, visit this group at >>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>> >> >>>> > >>>> > -- >>>> > You received this message because you are subscribed to the Google >>>> Groups "Google App Engine for Java" group. >>>> > To post to this group, send email to >>>> [email protected]. >>>> > To unsubscribe from this group, send email to >>>> [email protected]. >>>> > For more options, visit this group at >>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>> > >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google App Engine for Java" group. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-appengine-java?hl=en. >>>> >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine for Java" group. >>> To post to this group, send email to >>> [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine-java?hl=en. >>> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
