[php, cUrl]503 after CONNECT

2,459 views
Skip to first unread message

Tomek

unread,
Jul 6, 2009, 5:24:02 AM7/6/09
to google-analytics-api - GA Data Export API
Hi,

I have problem with connection to analytics api.
I've created app using http://code.google.com/p/gapi-google-analytics-php-interface/
(link from user contrib on libs for analytics api)

It perfectly works from my computer, through ntlm proxy (after mod -
i've added proxy configuration)

Problem starts, when I'm trying to launch this app from production
server. Then I'm getting error message:
"Received HTTP code 503 from proxy after CONNECT"

Only thing that I'm modyfying before deploying app to production is
different proxy settings.
Those settings, used to connect to different serwer works, also used
with curl.

Is there some spec - what headers are valid/invalid during connection
to api? Anybody has an idea, why Google rejecting my requests?

Best
Tomek

Loris

unread,
Jul 7, 2009, 3:40:51 AM7/7/09
to google-analytics-api - GA Data Export API
I am having the same probleme since yesterday.
My application was fetching everything correctly, I didn't make any
chance in my code and yesterday it started to raise 503 error
exception.
Any clues? I checked my credentials and accounts.

Loris

On Jul 6, 11:24 am, Tomek wrote:
> Hi,
>
> I have problem with connection to analytics api.
> I've created app usinghttp://code.google.com/p/gapi-google-analytics-php-interface/

Tomek

unread,
Jul 7, 2009, 8:16:05 AM7/7/09
to google-analytics-api - GA Data Export API
On my side it works now.
Couse was squid proxy - it has 443 port excluded for outgoing
connections.

Regards,
Tomek

Nick

unread,
Jul 7, 2009, 12:26:37 PM7/7/09
to google-analytics-api - GA Data Export API
Hi,

Our Export API returns a 503 status code when you have run out of
quota : http://code.google.com/apis/analytics/docs/gdata/gdataDeveloperGuide.html#quota

Either your code is making a lot of subsequent calls and you're
hitting our 100 requests per a 10 second period or you've exceeded our
10,000 requests per a 24 hour period. This is all based per web
property, so if you have multiple profiles linked to the same web
property, accessing each profile id will share the same quota. Also,
if other users with access to this profile are also viewing data
through the API, they will be using the same quota as well.

-Nick
Reply all
Reply to author
Forward
0 new messages