Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
FF3 fails to follow redirect when checking for extension updates
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sergei Zhirikov  
View profile  
 More options May 8 2008, 6:03 pm
Newsgroups: mozilla.dev.extensions
From: "Sergei Zhirikov" <sf...@yahoo.com>
Date: Fri, 9 May 2008 00:03:24 +0200
Local: Thurs, May 8 2008 6:03 pm
Subject: FF3 fails to follow redirect when checking for extension updates
Hi all,

I have moved automatic updates hosting of my extension to a new server. I
have also configured the old server to return permanent redirect (301) to
the new location for both rdf and xpi. Now if I tell Firefox 3.0b5 to check
for updates I get "An error occurred while trying to find updates for
...".From the log files on both servers I can see that FF contacts the old
server, receives redirect response, and then it does not even attempt to
follow the redirect. Both locations (the old and the new) are plain HTTP, no
SSL. The update manifest is properly signed, but that doesn't seem to be
relevant as FF doesn't even attempt to retrieve it. I'm also sure I didn't
make a mistake in the server configuration, because FF2 finds and installs
the update without any problems. Am I dealing with a bug or is it another
security restriction introduced in Firefox 3?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Didier Ernotte  
View profile  
 More options May 8 2008, 6:58 pm
Newsgroups: mozilla.dev.extensions
From: Didier Ernotte <did...@ernotte.com>
Date: Thu, 8 May 2008 15:58:24 -0700 (PDT)
Local: Thurs, May 8 2008 6:58 pm
Subject: Re: FF3 fails to follow redirect when checking for extension updates
I have the same issue with my RSS extension. I have subscribed to feeds a long time ago, and never realized that these feeds has been moved to another URL because FF was able to follow the redirect. Now, FF fails at reading these feeds because it received a redirect reponse and stop there. I had to manually add code to follow the redirect.
It was working fine in FF3b4 and was broken in FF3b5.

Didier

--- On Thu, 5/8/08, Sergei Zhirikov <sfzhi@yahoo.com> wrote:
From: Sergei Zhirikov <sfzhi@yahoo.com>
Subject: FF3 fails to follow redirect when checking for extension updates
To: dev-extensions@lists.mozilla.org
Date: Thursday, May 8, 2008, 6:03 PM

Hi all,

I have moved automatic updates hosting of my extension to a new server. I
have also configured the old server to return permanent redirect (301) to
the new location for both rdf and xpi. Now if I tell Firefox 3.0b5 to check
for updates I get "An error occurred while trying to find updates for
...".From the log files on both servers I can see that FF contacts the old
server, receives redirect response, and then it does not even attempt to
follow the redirect. Both locations (the old and the new) are plain HTTP, no
SSL. The update manifest is properly signed, but that doesn't seem to be
relevant as FF doesn't even attempt to retrieve it. I'm also sure I
didn't
make a mistake in the server configuration, because FF2 finds and installs
the update without any problems. Am I dealing with a bug or is it another
security restriction introduced in Firefox 3?


_______________________________________________
dev-extensions mailing list
dev-extensions@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-extensions

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Townsend  
View profile  
 More options May 9 2008, 10:21 am
Newsgroups: mozilla.dev.extensions
From: Dave Townsend <dtowns...@mozilla.com>
Date: Fri, 09 May 2008 15:21:01 +0100
Local: Fri, May 9 2008 10:21 am
Subject: Re: FF3 fails to follow redirect when checking for extension updates

Sergei Zhirikov wrote:
> Hi all,

> I have moved automatic updates hosting of my extension to a new server. I
> have also configured the old server to return permanent redirect (301) to
> the new location for both rdf and xpi. Now if I tell Firefox 3.0b5 to check
> for updates I get "An error occurred while trying to find updates for
> ...".From the log files on both servers I can see that FF contacts the old
> server, receives redirect response, and then it does not even attempt to
> follow the redirect. Both locations (the old and the new) are plain HTTP, no
> SSL. The update manifest is properly signed, but that doesn't seem to be
> relevant as FF doesn't even attempt to retrieve it. I'm also sure I didn't
> make a mistake in the server configuration, because FF2 finds and installs
> the update without any problems. Am I dealing with a bug or is it another
> security restriction introduced in Firefox 3?

This seems strange as one of my own extensions has its update on a
redirect and that seemed to work fine. Can you enable
extensions.logging.enabled, then clear your error console, do an update
check for just your extension and see what appears in the console.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergei Zhirikov  
View profile  
 More options May 9 2008, 1:44 pm
Newsgroups: mozilla.dev.extensions
From: "Sergei Zhirikov" <sf...@yahoo.com>
Date: Fri, 9 May 2008 19:44:06 +0200
Local: Fri, May 9 2008 1:44 pm
Subject: Re: FF3 fails to follow redirect when checking for extension updates

"Dave Townsend" <dtowns...@mozilla.com> wrote in message

news:GqadnZhVL-lQwLnVnZ2dnUVZ_tfinZ2d@mozilla.org...

I did as you suggested (thanks). The console shows (among other non-error
messages):

Security Error: Content at http://www.old-server.net/xpi/extension.rdf may
not load data from http://www.new-server.net/files/xpi/extension.rdf.

Error: syntax error
Source file: http://www.old-server.net/xpi/extension.rdf
Line: 1, Column: 50
Source code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

The first message explains why it doesn't try to follow redirect. The second
one shows that it try to parse the body of the redirect response as RDF.
Looks like a bug to me...
--
Sergei.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Townsend  
View profile  
 More options May 9 2008, 6:08 pm
Newsgroups: mozilla.dev.extensions
From: Dave Townsend <dtowns...@mozilla.com>
Date: Fri, 09 May 2008 23:08:07 +0100
Local: Fri, May 9 2008 6:08 pm
Subject: Re: FF3 fails to follow redirect when checking for extension updates

Ok I believe that this is due to an XMLHttpRequest redirect bug that has
since been fixed. If you are feeling daring then you could test this in
a current Firefox 3 nightly (should be pretty stable, we are close to
RC1 now). Otherwise if you could let me know where to find your specific
extension so I can test (by email is fine or post here) then I can
verify that myself or make sure the problem is fixed.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Shaver  
View profile  
 More options May 9 2008, 6:17 pm
Newsgroups: mozilla.dev.extensions
From: "Mike Shaver" <mike.sha...@gmail.com>
Date: Fri, 9 May 2008 15:17:32 -0700
Local: Fri, May 9 2008 6:17 pm
Subject: Re: FF3 fails to follow redirect when checking for extension updates

On Fri, May 9, 2008 at 3:08 PM, Dave Townsend <dtowns...@mozilla.com> wrote:
> If you are feeling daring then you could test this in
> a current Firefox 3 nightly (should be pretty stable, we are close to
> RC1 now).

It is significantly less daring to use FF3 nightlies right now than to
use FF3b5. :)

Mike


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sergei Zhirikov  
View profile  
 More options May 10 2008, 12:19 pm
Newsgroups: mozilla.dev.extensions
From: "Sergei Zhirikov" <sf...@yahoo.com>
Date: Sat, 10 May 2008 18:19:00 +0200
Subject: Re: FF3 fails to follow redirect when checking for extension updates

"Dave Townsend" <dtowns...@mozilla.com> wrote in message

news:a72dnX7Xv8HUVrnVnZ2dnUVZ_gGdnZ2d@mozilla.org...

> Ok I believe that this is due to an XMLHttpRequest redirect bug that has
> since been fixed. If you are feeling daring then you could test this in
> a current Firefox 3 nightly (should be pretty stable, we are close to
> RC1 now). Otherwise if you could let me know where to find your specific
> extension so I can test (by email is fine or post here) then I can
> verify that myself or make sure the problem is fixed.

> Dave

I've tried the latest nightly build. Indeed, the problem has been fixed. The
update works fine. Thanks.

Sergei.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Townsend  
View profile  
 More options May 10 2008, 3:49 pm
Newsgroups: mozilla.dev.extensions
From: Dave Townsend <dtowns...@mozilla.com>
Date: Sat, 10 May 2008 20:49:58 +0100
Local: Sat, May 10 2008 3:49 pm
Subject: Re: FF3 fails to follow redirect when checking for extension updates

Excellent news, thanks for letting us know.

Dave


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google