PPM4 won't sync - failed 400 Bad Request

Posted by ramsdell on 2007-10-06 07:42
Forums: PPM | OS: Windows XP Pro

Since upgrading from 5.6 to 5.8.8.822, I am unable to sync to the Active State Repository. I am getting the error "failed 400 Bad Request". I have another system on my network that is running 5.8.8.820 which can properly sync.

What I have tried:
1) Uninstalled 5.8.8.822, removed C:\Perl directory, reinstalled 5.8.8.822
2) Uninstalled 5.8.8.822, removed C:\Perl directory, reinstalled 5.8.8.820
3) Uninstalled Norton Internet Security
4) Succesfully added Winnipeg repository and sync'd ok.
5) Using IE, succesfully downloaded the ActiveState repository using the URL defined in the ActiveState repository
6) Disabled HTTP 1.1 in IE.

Any ideas what may be breaking this?

Cheers!

- Bob

Attached is a packet capture of the sync attempt. Below is some info from the tests:

C:\>ver

Microsoft Windows XP [Version 5.1.2600]

C:\>ppm repo sync
Downloading ActiveState Package Repository packlist...failed 400 Bad Request

C:\>ppm repo describe 1
Id: 1
Name: ActiveState Package Repository
URL: http://ppm4.activestate.com/MSWin32-x86/5.8/820/package.xml
Enabled: yes
Last-Status: 400 Bad Request
Last-Access: 4 minutes and 45 seconds ago

From HTTP GET Packet:
GET /MSWin32-x86/5.8/820/package.xml HTTP/1.1
TE: deflate,gzip;q=0.3
Keep-Alive: 300
Connection: Keep-Alive, TE
Accept-Encoding: gzip, deflate
Host: ppm4.activestate.com
User-Agent: PPM/4.01 ActivePerl/5.8.8.820 (MSWin32) libwww-perl/5.805

Reply Packet:
HTTP/1.0 400 Bad Request
Server: squid/2.5.STABLE14
Mime-Version: 1.0
Date: Sat, 06 Oct 2007 15:17:57 GMT
Content-Type: text/html
Content-Length: 1317
Expires: Sat, 06 Oct 2007 15:17:57 GMT
X-Squid-Error: ERR_INVALID_REQ 0
Proxy-Connection: close

ERROR: The requested URL could not be retrieved

ERROR


The requested URL could not be retrieved


While trying to process the request:

GET /MSWin32-x86/5.8/820/package.xml HTTP/1.1
TE: deflate,gzip;q=0.3
Keep-Alive: 300
Connection: Close     


The following error was encountered:




  • Invalid Request


Some aspect of the HTTP Request is invalid. Possible problems:


  • Missing or unknown request method
  • Missing URL
  • Missing HTTP Identifier (HTTP/1.0)
  • Request is too large
  • Content-Length missing for POST or PUT requests
  • Illegal character in hostname; underscores are not allowed

Your cache administrator is support@activestate.com.

Generated Sat, 06 Oct 2007 15:17:57 GMT by box14.activestate.com (squid/2.5.STABLE14)

AttachmentSize
sync.txt17.66 KB