ShareX / ShareX

ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
https://getsharex.com
GNU General Public License v3.0
27.98k stars 3.09k forks source link

Upload errors #7380

Open Cooper1lols opened 1 month ago

Cooper1lols commented 1 month ago

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError) at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName) at ShareX.WorkerTask.DoUpload(Stream data, String fileName, Int32 retry)

Error message: The remote server returned an error: (503) Server Unavailable.

Request URL: https://api.imgur.com/3/upload

Status code: (503) first byte timeout

Headers: Connection: close Retry-After: 0 X-Served-By: cache-ewr18181-EWR X-Cache: MISS X-Cache-Hits: 0 X-Timer: S1712003425.606512,VS0,VE15456 access-control-allow-methods: GET, PUT, POST, PATCH, DELETE, OPTIONS Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true X-Frame-Options: DENY Access-Control-Allow-Headers: Authorization, Content-Type, Accept, X-Mashape-Authorization, IMGURPLATFORM, IMGURUIDJAFO, sessionCount, IMGURMWBETA, IMGURMWBETAOPTIN, X-expSNKPK127, X-Imgur-Defender-Bypass Accept-Ranges: bytes Content-Length: 444 Content-Type: text/html; charset=utf-8 Date: Mon, 01 Apr 2024 20:30:40 GMT Server: cat factory 1.0

Response text:

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

503 first byte timeout

Error 503 first byte timeout

first byte timeout

Error 54113

Details: cache-ewr18181-EWR 1712003440 839413541


Varnish cache server

Stack trace: at System.Net.HttpWebRequest.GetResponse() at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, HttpMethod method, String contentType, String relatedData)

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at ShareX.UploadersLib.ImageUploaders.Imgur.InternalUpload(Stream stream, String fileName, Boolean refreshTokenOnError) at ShareX.WorkerTask.UploadData(IGenericUploaderService service, Stream stream, String fileName) at ShareX.WorkerTask.DoUpload(Stream data, String fileName, Int32 retry)

Error message: The remote server returned an error: (503) Server Unavailable.

Request URL: https://api.imgur.com/3/upload

Status code: (503) first byte timeout

Headers: Connection: close Retry-After: 0 X-Served-By: cache-ewr18121-EWR X-Cache: MISS X-Cache-Hits: 0 X-Timer: S1712003441.082626,VS0,VE15248 access-control-allow-methods: GET, PUT, POST, PATCH, DELETE, OPTIONS Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true X-Frame-Options: DENY Access-Control-Allow-Headers: Authorization, Content-Type, Accept, X-Mashape-Authorization, IMGURPLATFORM, IMGURUIDJAFO, sessionCount, IMGURMWBETA, IMGURMWBETAOPTIN, X-expSNKPK127, X-Imgur-Defender-Bypass Accept-Ranges: bytes Content-Length: 444 Content-Type: text/html; charset=utf-8 Date: Mon, 01 Apr 2024 20:30:56 GMT Server: cat factory 1.0

Response text:

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

503 first byte timeout

Error 503 first byte timeout

first byte timeout

Error 54113

Details: cache-ewr18121-EWR 1712003456 845911720


Varnish cache server

Stack trace: at System.Net.HttpWebRequest.GetResponse() at ShareX.UploadersLib.Uploader.SendRequestFile(String url, Stream data, String fileName, String fileFormName, Dictionary`2 args, NameValueCollection headers, CookieCollection cookies, HttpMethod method, String contentType, String relatedData)

Combinacijus commented 1 month ago

Duplicate of #7376