We have been using a custom Google API class written in PHP to handle
our Google Base Feeds. We have used this to add individual items to
Base allowing full control over what items work, and which fail.

Up until Tuesday 3rd March 2009, our script has been working fine,
with no real problems. The next day when checking our logs to see if
our nightly processing had run, and we had a log filled with errors.

The class first runs the authentication process, which is successful,
and we retrieve our token. We then attempt a single item upload which
used to run with no problems, the response we get back from Google is
a 405 error, and the following error message.

Method Not Allowed
The request method POST is inappropriate for the URL /base/feeds/
items.

We then tried a query test with the following URL:
www.google.com/base/feeds/snippets?bq=knife. This gave us a 404 Page
not Found error and the following message:

The page - www.google.com/base/feeds/snippets?bq=knife - does not
exist.

We copied the script we had used to another server that was within the
same ip range to see if that made any difference, but we still got
errors.

At this point we were thinking maybe something had changed on Google's
end, or maybe their service was down. However we then copied the
script to 3 other servers that were not on the same ip range or
subnet, and to our surpise, all 3 worked.

After contacting our hosting provider, they assured us that no changes
had been made on the 2 servers that had failed.

We reviewed the php configuration on all the servers, and nothing
stood out.

Our class uses a simple socket connection to connect to google, writes
all the appropriate headers, and reads the response. No changes have
been made to the class in weeks, so we think we have narrowed it down
to a server issue. But as our hosting provider stated that nothing has
changed on our server, we are at a loss.

Any assistance, ideas, tests that anyone can provide will be greater
appreciated.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to