question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Endpoint used by build.py blocked in mainland China

See original GitHub issue

Expected Behavior

generate compressed files by py -2 build.py

Actual Behavior

`$ py -2 build.py
Warning: No description for CONTROLS_FOREVER
Created file: .\msg/json/\en.json
Created file: .\msg/json/\qqq.json
SUCCESS: msg\js\en.js
SUCCESS: blockly_uncompressed_horizontal.js
SUCCESS: blockly_uncompressed_vertical.js
Exception in thread Thread-3:
Traceback (most recent call last):
File “C:\Python27\lib\threading.py”, line 552, in __bootstrap_inner
self.run()
File “build.py”, line 179, in run
self.gen_core(True)
File “build.py”, line 215, in gen_core
self.do_compile(params, target_filename, filenames, “”)
File “build.py”, line 284, in do_compile
conn.request(“POST”, “/compile”, urllib.urlencode(params), headers)
File “C:\Python27\lib\httplib.py”, line 955, in request
self._send_request(method, url, body, headers)
File “C:\Python27\lib\httplib.py”, line 989, in _send_request
self.endheaders(body)
File “C:\Python27\lib\httplib.py”, line 951, in endheaders
self._send_output(message_body)
File “C:\Python27\lib\httplib.py”, line 811, in _send_output
self.send(msg)
File “C:\Python27\lib\httplib.py”, line 773, in send
self.connect()
File “C:\Python27\lib\httplib.py”, line 754, in connect
self.timeout, self.source_address)
File “C:\Python27\lib\socket.py”, line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno 11004] getaddrinfo failed’

Operating System and Browser

Windows 7 python 2.7(together with python 3.5 so I use py -2 to launch python 2.7 )

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
xmeowcommented, Aug 3, 2017

@zyctinker , All you need is a VPN, the appspot got block in china mainland~

0reactions
qiansitongcommented, Mar 28, 2018

@joseeph Have you solved the problem?I met the same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you determine if a device is behind China's great ...
Check for every time zone in mainland China and you'll probably be fine. ... Create an endpoint outside of China with a ppk...
Read more >
Test if a site is blocked in China - Comparitech
Test any site to see if it has been blocked by the Great Firewall. See how to unblock and access sites in China...
Read more >
Optimizing performance for users in China with Amazon Route ...
Our solution will show you how to use Amazon Route 53 and Amazon CloudFront in the AWS Global and AWS China partition to...
Read more >
Configure IP Allow and Block List in the Secure Endpoint ...
Prerequisites. Requirements. Cisco recommends that you have access to the Cisco Secure Endpoints portal. Components Used. The information in ...
Read more >
List of websites blocked in mainland China - Wikipedia
Many domain names are blocked in the People's Republic of China (mainland China) under the country's Internet censorship policy, which prevents users from ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found