System.Net.WebException: The remote server returned an error

Support and feedback for UniAdmin

System.Net.WebException: The remote server returned an error

Postby Helli » Sun Dec 30, 2007 11:44 pm

Hi!

I just installed UniAdmin 0.7.9 an configured it with 3 updates. These are the new Characterprofiler, Guildprofiler and PvPLog. (orig. zip files from wowroster.net).

Now when i synchronize, the debugger says:

Dateiname:PvPLog-2[1].4.8.zip
zipFileLocalLocation: D:\Games\wow\PvPLog-2[1].4.8.zip
Lade Herunter: http://www.mydomain.eu/edn/uniadmin/addon_zips/PvPLog-2[1].4.8.zip
System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at WindowsApplication3.Form1.download(String path_download, String path_local)
Entpacke
UpdateAddons: EOF in header
3 Addons aktualisiert.
Empfange XML Daten.

All .zip files are at the server in /addon_zips (standard directory) and are fully uploaded. But only one of the files are downloaded, and this one is only 0 bytes. Seems that there is any problem with download permissions.
But the directory on the server is in /public_html and i can download it without problems by entering the URL in the Webbrowser.

Someone any idea?
Helli
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Sep 26, 2006 4:23 pm

Re: System.Net.WebException: The remote server returned an e

Postby Helli » Mon Dec 31, 2007 12:58 am

I just found out that every Addon uploaded by UniAdmin ist not readable by group/user (600). When i manually change file permission to 644 then it is ok. What can i do?
Helli
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Sep 26, 2006 4:23 pm

System.Net.WebException: The remote server returned an error

Postby zanix » Mon Dec 31, 2007 2:54 am

First, giving your url as www.mydomain.eu isnt going to help us help you

UA should be setting them but it looks like the server isn't letting UA set chmod on the file

Are you uploading via ftp or the web form in UA?
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: System.Net.WebException: The remote server returned an e

Postby Helli » Mon Dec 31, 2007 8:08 am

Via web form.

Server is a Debian Sarge3 stable version.
Helli
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Sep 26, 2006 4:23 pm

System.Net.WebException: The remote server returned an error

Postby MattM » Tue Jan 01, 2008 5:44 am

You might want to see how your setup assigns permissions using php and the apache user
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: System.Net.WebException: The remote server returned an e

Postby Helli » Wed Jan 02, 2008 10:47 pm

download via wowace works pretty fine... uniadmin sets file to 644, only upload via web site just sets ist to 600....
Helli
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Tue Sep 26, 2006 4:23 pm


Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 0 guests