Hi chenbaiping,

The IPs that App Engine does URL fetches from are not the same ones it
serves requests from. They may be on a different subnet, or even
served from a different datacenter - so it's entirely possible that
China is blocking the IPs App Engine does URL fetches from, even if
it's not blocking the serving IPs.

-Nick Johnson

On Thu, Jul 9, 2009 at 2:34 AM, chenbaiping<[email protected]> wrote:
>
> No. China does not block the GAE IP. Because I can use GAE to fetch other web 
> sites in China.
> For example, IP 121.11.66.71 is another IP and is in the same subnet with my 
> virtual host, which ip is 121.11.86.71 . GEA can fetch 121.11.66.71 
> succefully every time, but cannot fetch  121.11.86.71.
>
> And I can use other servers hosted in USA to wget my IP 121.11.86.71 . So 
> China does not block my IP too.
>
> So the conclusion is GAE block my IP.
>
> Has GAE some blocking patterns? And my ip unfortunately matches it?
>
> Can Google engineers check where the problem is ?
> Thanks.
>
>
>
> -----邮件原件-----
> 发件人: [email protected] 
> [mailto:[email protected]] 代表 Wooble
> 发送时间: 2009年7月9日 1:11
> 收件人: Google App Engine
> 主题: [google-appengine] Re: a bug of urlfetch on GAE production server
>
>
> It's possible your government is blocking the IP that the urlfetch
> service runs on.  Being able to access "GAE" from it is meaningless;
> app engine itself runs on many servers and the ones serving your
> requests aren't necessarily the same ones originating urlfetch calls.
>
> On Jul 8, 11:22 am, "chenbaiping" <[email protected]> wrote:
>> It seems that GAE blocks the IP. GAE cann’t access the IP 
>> 121.11.86.71(cbc007.cn). But I can access GAE from the IP 121.11.86.71.
>>
>> Why GAE blocks that ip? It is just a virtual hosting server. It’s very 
>> strange.
>>
>> But my app needs to fetch some data  from my virtual host. What could  I do ?
>>
>>   _____
>>
>> 发件人: [email protected] 
>> [mailto:[email protected]] 代表 Alkis Evlogimenos ('Αλκη? 
>> Ευλογημ?νο?)
>> 发送时间: 2009年7月8日 19:55
>> 收件人: [email protected]
>> 主题: [google-appengine] Re: a bug of urlfetch on GAE production server
>>
>> The question is can Google access this page outside of China. The fact that 
>> you can is irrelevant :-)
>>
>> On Wed, Jul 8, 2009 at 9:12 AM, chenbaiping <[email protected]> wrote:
>>
>> No. I can fetch other servers in China, such 
>> ashttp://baidu.com<http://baidu.com/> .
>>
>> And  I can use wget to get this page outside China. So China does not block 
>> the sidehttp://cbc007.cn/
>>
>>   _____
>>
>> 发件人: [email protected] 
>> [mailto:[email protected]] 代表 Alkis Evlogimenos ('Αλκη? 
>> Ευλογημ?νο?)
>> 发送时间: 2009年7月8日 14:57
>> 收件人: [email protected]
>> 主题: [google-appengine] Re: a bug of urlfetch on GAE production server
>>
>> Maybe the fetch service is blocked in China?
>>
>> On Wed, Jul 8, 2009 at 4:14 AM, chenbaiping <[email protected]> wrote:
>>
>> I have a very simple html pagehttp://cbc007.cn/test.html.
>>
>> When I fetch it usinghttp://shell.appspot.com/, an error occurs.
>>
>> When I fetch it in my app, it has the same error.
>>
>> >>> r=urlfetch.fetch('http://cbc007.cn/test.html')
>>
>> Traceback (most recent call last):
>>  File "/base/data/home/apps/shell/1.334417654335420704/shell.py", line 278,
>> in get
>>    exec compiled in statement_module.__dict__
>>  File "<string>", line 1, in <module>
>>  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", line
>> 241, in fetch
>>    return rpc.get_result()
>>  File
>> "/base/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>> line 442, in get_result
>>    return self.__get_result_hook(self)
>>  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py", line
>> 331, in _get_fetch_result
>>    raise DownloadError(str(err))
>> DownloadError: ApplicationError: 5
>>
>> Sometimes, it throws "DownloadError: ApplicationError: 2" error. Very
>> curious.
>>
>> But it occurs on GAE production server only. On local sdk, it works fine.
>> Is it a bug?
>>
>> --
>>
>> Alkis
>>
>> ____ KILLӊȫ͸ؠґɨèKբⓊ ____
>>
>> --
>>
>> Alkis
>>
>> ____ KILLӊȫ͸ؠґɨèKբⓊ ____
>>
>> ____ KILL ʼ ȫ Ѿ ɨ ʼ ____
>
>
>
> ____ KILLʼȫ Ѿɨʼ ____
>
>
>
>
> ____ KILL�ʼ���ȫ��� �Ѿ�ɨ��������ʼ� ____
>
>
>
> >
>



-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
Number: 368047

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to