What items are you submitting ? Whats the website URL ? Tom Wilson Freelance Google Base Developer and Consultant www.tomthedeveloper.com
Google Base Tools - http://dev.tomthedeveloper.com/googlebase Featured Project : http://google-code-featured.blogspot.com/2008/02/google-base-competitor-analysis.html On Oct 17, 3:18 am, Amytxus <[EMAIL PROTECTED]> wrote: > I have been getting this response for the past week on trying to > upload to googlebase via an api from my shopping cart. This was a > small number of products, so I don't get the timeout. Any ideas on > what needs to be fixed? > > System.Net.Sockets.SocketException: A connection attempt failed > because the connected party did not properly respond after a period of > time, or established connection failed because connected host has > failed to respond 74.125.54.213:21 at > System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, > SocketAddress socketAddress) at > System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at > EnterpriseDT.Net.StandardSocket.Connect(EndPoint remoteEP) at > EnterpriseDT.Net.Ftp.FTPControlSocket.ConnectSocke t(BaseSocket > socket, IPAddress address, Int32 port) at > EnterpriseDT.Net.Ftp.FTPControlSocket.Initialize(B aseSocket sock, > IPAddress remoteHost, Int32 controlPort, Int32 timeout, Encoding > encoding) at EnterpriseDT.Net.Ftp.FTPControlSocket..ctor(IPAddr ess > remoteHost, Int32 controlPort, Int32 timeout, Encoding encoding) at > EnterpriseDT.Net.Ftp.FTPClient.Connect(IPAddress remoteAddr, Int32 > controlPort, Int32 timeout) at > EnterpriseDT.Net.Ftp.FTPClient.Connect() at > WebForm_Google_Base.DoFTPUpload() > > On Oct 16, 4:23 pm, Tom Wilson <[EMAIL PROTECTED]> wrote: > > > Yes buts that a simple boolean (BatchUtils.isSuccess....) response > > > BatchStatus status = BatchUtils.getBatchStatus(entry) > > > This should give you more details, also read through the batch > > documentation so you can apply so more robustness and error checking > > and feedback for your code.http://code.google.com/apis/gdata/batch.html > > > Tom Wilson > > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > > Featured Project > > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > > On Oct 15, 6:04 pm, Sridevi <[EMAIL PROTECTED]> wrote: > > > > As i have given the message in the else part, > > > i am getting entry null has been failed. > > > > for (GoogleBaseEntry entry1 : result.getEntries()) { > > > logger.info("entry1"+entry1); > > > logger.info("entry ID"+entry1.getId()); > > > if (BatchUtils.isSuccess(entry1)) > > > { > > > logger.info("Entry " + entry1.getId() +" has been added > > > successfully."); > > > inserted++; > > > tinserted++; > > > } > > > else > > > { > > > logger.info("Entry " + entry1.getId() +" has been > > > failed."); > > > failed++; > > > tfailed++; > > > } > > > > } > > > > On Wed, Oct 15, 2008 at 6:01 PM, Tom Wilson > > > <[EMAIL PROTECTED]>wrote: > > > > > What failure message are you actually getting ? > > > > > Tom Wilson > > > > Freelance Google Base Developer and Consultant > > > >www.tomthedeveloper.com > > > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > > > > Featured Project : > > > >http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > > > > On Oct 15, 7:49 am, sridevi <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > Six months back I have written code in java to post the products to > > > > > google base. I was able to post all of the products successfully to > > > > > google base. Now i tried to use the same program to post the items. i > > > > > did not chnage anything in the program. I just execute the program now > > > > > but unable to insert the items. I am getting insertion failed. > > > > > for (GoogleBaseEntry entry1 : result.getEntries()) { > > > > > logger.info("entry1"+entry1); > > > > > logger.info("entry ID"+entry1.getId()); > > > > > if (BatchUtils.isSuccess(entry1)) > > > > > { > > > > > logger.info("Entry " + entry1.getId() +" has been > > > > > added > > > > > successfully."); > > > > > inserted++; > > > > > tinserted++; > > > > > } > > > > > else > > > > > { > > > > > logger.info("Entry " + entry1.getId() +" has been failed."); > > > > > failed++; > > > > > tfailed++; > > > > > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base 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-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
