./launcher rebuild app failed. How to fix this?

Probably not. My server is located at HongKong, no problem connecting to Github.

And to verify that, I manualy run this:

git clone https://github.com/discourse/discourse-math.git

It works (connecting to Github)