Closed JayasreeR closed 10 years ago
I think you should check with your local admins / firewall experts and figure out the proper way to route your traffic. Take a look at these results for suggestions: https://www.google.com/search?q=The+remote+server+returned+an+error%3A+(407)+Proxy+Authentication+Required.
I'm going to close this issue. If you discover that changes to the toolkit could help make this easier, please let me know.
Hi, I am getting another error from Newtonsoft something like below:
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectT
ype)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, Jso
nSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSeriali
zerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at Salesforce.Common.AuthenticationClient.
Can you please help me in solving this....
Hi, when I try to execute the code "Force.com-Toolkit-for-NET / samples / SimpleConsole / Program.cs " I got an error at this line and my solution get exits from this line:
await auth.UsernamePasswordAsync(ConsumerKey, ConsumerSecret, Username, Password, ".net-api-client", url);
Following is the error msg I got:
An error occurred while sending the request. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Salesforce.Common.AuthenticationClient.d7.MoveNex
t()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at SimpleConsole.Program.d 23.MoveNext() in c:\Users\JA270478\Des
ktop\ConsoleApplication1\ConsoleApplication1\Program.cs:line 71
The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, Tr
ansportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar
)