6 messages in com.googlegroups.google-base-data-apiRe: Trouble Authenticating (Insert/Up...| From | Sent On | Attachments |
|---|---|---|
| Mich...@gmail.com | 09 Feb 2007 06:07 | |
| Frank Mantek | 09 Feb 2007 06:33 | |
| Mich...@gmail.com | 09 Feb 2007 09:20 | |
| RafalG | 10 Mar 2007 15:25 | |
| Frank Mantek | 11 Mar 2007 07:13 | |
| RafalG | 13 Mar 2007 05:40 |
| Subject: | Re: Trouble Authenticating (Insert/Update/Delete) with C# client Library![]() |
|---|---|
| From: | Frank Mantek (fman...@gmail.com) |
| Date: | 03/11/2007 07:13:32 AM |
| List: | com.googlegroups.google-base-data-api |
There is in general no issue with the .NET libraries, at least none we are able to reproduce.
If you are running under Linux/Mono you need to populate your certificate/trusted site etc store yourself, by default Mono trust no one (good policy). Without doing that, your HTTPS connections will fail. See the mono faq on how to do that.
Frank Mantek Google
On 3/11/07, RafalG <rafa...@gmail.com> wrote:
On 9 Lut, 15:07, "Mich...@gmail.com" <Mich...@gmail.com> wrote:
An unhandled exception of type 'Google.GData.Client.GDataRequestException' occurred in google.gdata.client.dll Additional information: Execution of authentication request failed
I've got same problem here, even for code simple like this:
FeedQuery query = new FeedQuery(); Service service = new Service("cl", "exampleCo-exampleApp-1"); NetworkCredential nc = new NetworkCredential(userName, passWord); service.Credentials = nc; query.Uri = new Uri("http://www.google.com/calendar/feeds/default/ private/full"); AtomFeed calFeed = service.Query(query);
Google.GData.Client.GDataRequestException: Execution of authentication request failed ---> System.Net.WebException: Error writing request. at System.Net.WebConnectionStream.WriteRequest () [0x00000] at System.Net.WebConnectionStream.Close () [0x00000] at Google.GData.Client.GDataGAuthRequest.QueryAuthToken (System.Net.NetworkCredential nc)
I am running Ubuntu 6.10, Mono 1.2.3.1 and C# gdata.net.1094 client library. And of course, I am using correct username and password, so it's not an issue. Is it an issue with C# library?
Rafal




