Rebuild failing on Discourse 2.2.5 - Unexpected TLS packet received

Hi, I cannot rebuild discourse app today. I get the error below

root@myserver:/var/discourse# ./launcher rebuild app
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
fatal: unable to access 'https://github.com/discourse/pups.git/': gnutls_handshake() failed: An unexpected TLS packet was received.
c00b676e9e8ce890cb97152506da3878dd5b7171b08cb48acc05d9102403d5f2
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

I can browse successfully https://github.com/discourse/pups.git.

Is there something I need to check? Thanks

Is your server behind a firewall or having problems connecting to github in general?

1 Like

We had no problem to connect to github before.

I can access from the server:

root@myserver:/var/discourse# ping github.com
PING github.com (140.82.118.3) 56(84) bytes of data.
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=1 ttl=46 time=27.9 ms
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=2 ttl=46 time=27.3 ms
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=3 ttl=46 time=27.1 ms
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=4 ttl=46 time=27.3 ms
64 bytes from lb-140-82-118-3-ams.github.com (140.82.118.3): icmp_seq=5 ttl=46 time=92.1 ms

No issue when rebuilding the mail receiver, but I get this error when trying to rebuild the app. Server can reach internet. How to fix this?