I will spend more time with .NET 2.0 in the near future, and therefore might be able to repro it then, but every bit of data helps.
Regards
Frank Mantek
On 7/4/06, Cab0
<[EMAIL PROTECTED]> wrote:
Sometimes, when I try to delete an item, I get this error. It also
happens during update operations occasionally.
"An established connection was aborted by the software in your host
machine"
I am using .Net Runtime v2.0 and gdata 1.0.2. I don't understand why it
happens occasionally , but once the error occurs, it seems to continue
till I reboot. Even after that, it seems to persist on occasion. I have
been able to delete in the past.
A fiddler trace reveals the normal query, but the delete request never
gets to the web server - there is no fiddler data.
I have tried recompiling the Gdata libraries in both .Net 1.1 and 2.0
(I know it still runs on 2.0)
I'm not sure where to go next. I am going to try to re-do that bit of
code using vs2003 and .Net 1.1 exclusivley, but I thought I'd see if I
was perhaps missing something.
- - - - - - -
trace partial
- - - - - - -
Parsing stream -> Done
Deleting entry:
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/c2bomu8ld504pslda4825eoihk/63287724476
TraceCall: GoogleAuth: Execution called
Using auth token: DQAAAGsAAAAfU5dUyoKUSWLwjpvo65N29r6EA...
TraceCall: calling the real execution over the webresponse
A first chance exception of type 'System.Net.Sockets.SocketException'
occurred in System.dll
A first chance exception of type 'System.IO.IOException' occurred in
System.dll
A first chance exception of type ' System.Net.WebException' occurred in
System.dll
TraceCall: GDataRequest::Execute failed:
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/c2bomu8ld504pslda4825eoihk/63287724476
A first chance exception of type
'Google.GData.Client.GDataRequestException' occurred in GData.dll
Got into exception handling for base.execute
Got no response object
A first chance exception of type
'Google.GData.Client.GDataRequestException' occurred in GData.dll
- - - - - - - - - -
Here is the code that generated the error:
- - - - - - - - - -
Dim ggQry As Google.GData.Client.FeedQuery
Dim ggA As ggExt.EventFeed
Try
ggSvc = New
ggCal.CalendarService("RocketWare-RSGGQryTool-0.10")
ggQry = New Google.GData.Client.FeedQuery
ggSvc.Credentials = New
Net.NetworkCredential(GoogleAccount, GooglePassword)
ggQry.Uri = New
Uri("http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full ")
ggQry.ExtraParameters = "start-min=" +
Date.Parse(fromDate.ToShortDateString).ToString("s") + "&" +
"start-max=" +
Date.Parse(ToDate.ToShortDateString ).AddDays(1).ToString("s")
ggA = ggSvc.Query(ggQry)
System.Threading.Thread.Sleep(1000)
For Each ggE As ggExt.EventEntry In ggA.Entries
If Not ggE.EditUri Is Nothing Then
If ggE.Status.Value <>
Google.GData.Extensions.EventEntry.EventStatus.CANCELED_VALUE Then
WriteLog("Found Updateable Google Item: " +
ggE.Title.Text + " : " + ggE.EditUri.Content, LogType.Verbose)
ggSvc.Delete(ggE)
End If
Else
WriteLog("Found Readonly Google Item: " +
ggE.Title.Text + " : " + ggE.SelfUri.Content, LogType.Verbose)
End If
Next
Catch ex As Exception
WriteLog(ex)
End Try
- - - - - - - - -
exception log
- - - - - - - - - -
Found Updateable Google Item: my dtest 3 :
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/c2bomu8ld504pslda4825eoihk/63287724476
Execution of request failed:
http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/c2bomu8ld504pslda4825eoihk/63287724476
at Google.GData.Client.GDataGAuthRequest.Execute()
at Google.GData.Client.Service.Delete(AtomEntry entry)
at
Rocketware.Sync.RSGoogleCalendarCollection.QueryCalendarItemsTESTONLY(DateTime
fromDate, DateTime ToDate) in C:\Documents and Settings\jlucas\My
Documents\Visual Studio
2005\Projects\google\RSGoogleCalendarSync\RSGoogleCalendarCollection.vb:line
367
The underlying connection was closed: A connection that was expected to
be kept alive was closed by the server.
at System.Net.HttpWebRequest.GetResponse()
at Google.GData.Client.GDataRequest.Execute ()
Unable to read data from the transport connection: An established
connection was aborted by the software in your host machine.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32
offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32
size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean
userRetrievedStream, Boolean probeRead)
An established connection was aborted by the software in your host
machine
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32
offset, Int32 size)
- - - - - -
fiddler ( the LAST entry logged)
- - - - - -
HTTP/1.1 200 OK
Last-Modified: Tue, 04 Jul 2006 19:27:56 GMT
Content-Type: application/atom+xml; charset=UTF-8
Cache-control: private
Content-Length: 5056
Date: Tue, 04 Jul 2006 20:02:32 GMT
Server: GFE/1.3
<?xml version='1.0' encoding='UTF-8'?><feed
xmlns='http://www.w3.org/2005/Atom'
xmlns:openSearch=' http://a9.com/-/spec/opensearchrss/1.0/'
xmlns:gd='http://schemas.google.com/g/2005'><id> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full</id><updated>2006-07-04T19:27:56.000Z</updated><title
type='text'>John Lucas</title><subtitle type='text'>John
Lucas</subtitle><link rel='http://schemas.google.com/g/2005#feed'
type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full'></link><link
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml'
href=''">http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full'></link><link
rel='self' type='application/atom+xml'
href=''">http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full?max-results=25&start-min=2006-07-03T00%3A00%3A00&start-max=2006-07-06T00%3A00%3A00' ></link><link
rel='next' type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full?start-index=26&max-results=25&start-min=2006-07-03T00%3A00%3A00&start-max=2006-07-06T00%3A00%3A00'></link><author><name>John
Lucas</name><email>[EMAIL PROTECTED]</email></author><generator
version='1.0' uri='http://www.google.com/calendar' >Google
Calendar</generator><openSearch:itemsPerPage>25</openSearch:itemsPerPage><gCal:timezone
xmlns:gCal='http://schemas.google.com/gCal/2005 '
value='America/Chicago'></gCal:timezone><entry><id>http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/c2bomu8ld504pslda4825eoihk </id><published>2006-07-04T19:27:56.000Z</published><updated>2006-07-04T19:27:56.000Z</updated><category
scheme='http://schemas.google.com/g/2005#kind '
term='http://schemas.google.com/g/2005#event'></category><category
scheme='http://schemas.google.com/g/2005 '
term='http://schemas.google.com/g/2005#event'></category><title
type='text'>my dtest 3</title><content type='text'>hello</content><link
rel='alternate' type='text/html'
href=''
title='alternate'></link><link rel='related' type='text/html'
href=''></link><link rel='self'
type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/c2bomu8ld504pslda4825eoihk'></link><link
rel='edit' type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/c2bomu8ld504pslda4825eoihk/63287724476'></link><author><name>John
Lucas</name><email> [EMAIL PROTECTED]</email></author><gd:eventStatus
value='http://schemas.google.com/g/2005#event.confirmed'></gd:eventStatus><gd:transparency
value='http://schemas.google.com/g/2005#event.opaque'></gd:transparency><gd:visibility
value=' http://schemas.google.com/g/2005#event.default'></gd:visibility><gd:comments><gd:feedLink
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/c2bomu8ld504pslda4825eoihk/comments/'></gd:feedLink></gd:comments><gd:where></gd:where><gd:when
startTime='2006-07-04T14:26: 24.000-05:00'
endTime='2006-07-04T15:26:24.000-05:00'><gd:reminder
minutes='-1'></gd:reminder></gd:when></entry><entry><id> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/hkc553blo6e44le34nkueljemc_20060630</id><published>2006-07-01T01:37:02.000Z</published><updated>2006-07-03T22:30:25.000Z</updated><category
scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'></category><title
type='text'>bday</title><content type='text'>blah blah</content><link
rel='alternate' type='text/html'
href=''
title='alternate'></link><link rel='self' type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/hkc553blo6e44le34nkueljemc_20060630'></link><link
rel='edit' type='application/atom+xml'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/hkc553blo6e44le34nkueljemc_20060630/63287649025'></link><author><name>John
Lucas</name><email> [EMAIL PROTECTED]</email></author><gd:eventStatus
value='http://schemas.google.com/g/2005#event.canceled'></gd:eventStatus><gd:transparency
value='http://schemas.google.com/g/2005#event.opaque'></gd:transparency><gd:originalEvent
id='hkc553blo6e44le34nkueljemc'
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/hkc553blo6e44le34nkueljemc'><gd:when
startTime='2006-06-30'></gd:when></gd:originalEvent><gd:visibility
value=' http://schemas.google.com/g/2005#event.default'></gd:visibility><gd:comments><gd:feedLink
href=''"> http://www.google.com/calendar/feeds/cabosan%40gmail.com/private/full/hkc553blo6e44le34nkueljemc_20060630/comments/'></gd:feedLink></gd:comments><gd:where
valueString='here, diagonally'></gd:where><gd:when
startTime='2006-07-03' endTime='2006-07-04'><gd:reminder
minutes='10'></gd:reminder></gd:when></entry></feed>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---
- Re: An established connection was aborted by the software in ... Frank Mantek
