merbin2012 / sharex

Automatically exported from code.google.com/p/sharex
0 stars 1 forks source link

Error on upload #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.uploading any image to any imagehost

What is the expected output? What do you see instead?
Message:
The remote server returned an error: (403) Forbidden.

Response:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta 
http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>ERROR: The 
requested URL could not be retrieved</title> <style type="text/css"><!--  /*
 Stylesheet for Squid Error pages
 Adapted from design by Free CSS Templates
 http://www.freecsstemplates.org
 Released for free under a Creative Commons Attribution 2.5 License
*/

/* Page basics */
* {
    font-family: verdana, sans-serif;
}

html body {
    margin: 0;
    padding: 0;
    background: #efefef;
    font-size: 12px;
    color: #1e1e1e;
}

/* Page displayed title area */
#titles {
    margin-left: 15px;
    padding: 10px;
    padding-left: 100px;
    background: url('http://www.squid-cache.org/Artwork/SN.png') no-repeat left;
}

/* initial title */
#titles h1 {
    color: #000000;
}
#titles h2 {
    color: #000000;
}

/* special event: FTP success page titles */
#titles ftpsuccess {
    background-color:#00ff00;
    width:100%;
}

/* Page displayed body content area */
#content {
    padding: 10px;
    background: #ffffff;
}

/* General text */
p {
}

/* error brief description */
#error p {
}

/* some data which may have caused the problem */
#data {
}

/* the error message received from the system or other software */
#sysmsg {
}

pre {
    font-family:sans-serif;
}

/* special event: FTP / Gopher directory listing */
#dirmsg {
    font-family: courier;
    color: black;
    font-size: 10pt;
}
#dirlisting {
    margin-left: 2%;
    margin-right: 2%;
}
#dirlisting tr.entry td.icon,td.filename,td.size,td.date {
    border-bottom: groove;
}
#dirlisting td.size {
    width: 50px;
    text-align: right;
    padding-right: 5px;
}

/* horizontal lines */
hr {
    margin: 0;
}

/* page displayed footer area */
#footer {
    font-size: 9px;
    padding-left: 10px;
}
  body :lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; } :lang(he) { direction: rtl; }  --></style> </head><body id=ERR_ACCESS_DENIED> <div id="titles"> <h1>ERROR</h1> <h2>The requested URL could not be retrieved</h2> </div> <hr>  <div id="content"> <p>The following error was encountered while trying to retrieve the URL: <a href="www.http_forbidden.net:403">www.http_forbidden.net:403</a></p>  <blockquote id="error"> <p><b>Access Denied.</b></p> </blockquote>  <p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p>  <p>Your cache administrator is <a href="mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20mide%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Sun,%2006%20Jan%202013%2003%3A01%3A45%20GMT%0D%0A%0D%0AClientIP%3A%2049.156.159.41%0D%0A%0D%0AHTTP%20Request%3A%0D%0ACONNECT%20%2F%20HTTP%2F1.1%0AHost%3A%20www.http_forbidden.net%3A403%0D%0A%0D%0A%0D%0A">webmaster</a>.</p> <br> </div>  <hr> <div id="footer"> <p>Generated Sun, 06 Jan 2013 03:01:45 GMT by mide (squid/3.2.0.19)</p> <!-- ERR_ACCESS_DENIED --> </div> </body></html> 

StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies)

What version of the product are you using? On what operating system?
6.5.0248

Please provide any additional information below.
uploading images directly from host website gives no error with same account. 

Original issue reported on code.google.com by velocity...@gmail.com on 6 Jan 2013 at 3:21

GoogleCodeExporter commented 9 years ago
which uploader host giving this error? I don't think this problem to do with 
ShareX.

Original comment by flexy...@gmail.com on 6 Jan 2013 at 3:31

GoogleCodeExporter commented 9 years ago
Figured out the problem is not related to ShareX, its absolutely perfect. 
Please close the issue. 
Its was basically a ISP proxy setting that gave errors when proxy server was 
down. 
Sorry once again for the wrongly opened ticket. 

Original comment by velocity...@gmail.com on 6 Jan 2013 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by flexy...@gmail.com on 6 Jan 2013 at 4:07