What's new

amtm amtm update error

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

figorr

Regular Contributor
Hi,

I have just seen this error trying to update the scripts through amtm. "raw.githubusercontent.com unreachable"

I have updated scmerlin and other scripts, a couple of days ago, without any problems. But today ... It was not possible to check or update any of these scripts.

Is someone having a similar issue?

I have check Skynet and Diversion and it seems they are not blocking "raw.githubusercontent.com". This domain is already in the Skynet whitelist and Diversion said (when I tried to included in the Whitelist) that this domain is not inside the blocking list.

amtm update error.png
 
Ok. It is weird. I have tried "Terminal" though macOS, and "Termius" in the iPad. Both ... same result. Tonight I will try to reset the router in order to see if it helps.
 
No luck. I restarted the router, disabled Diversion & Skynet and I am still getting the same error for the scripts located at GitHub.
 
Doing ping raw.githubusercontent.com

I am getting ...

--- raw.githubusercontent.com ping statistics ---

5 packets transmitted, 0 packets received, 100.0% packet loss

All the packets are lost. I don't know what it is blocking this domain.
 
The address is pinging for the raw.githubusercontent.com is 185.199.109.133

PING raw.githubusercontent.com (185.199.109.133): 56 data bytes


76 bytes from 241.red-81-46-7.customer.static.ccgg.telefonica.net (81.46.7.241): Time to live exceeded


Vr HL TOS Len ID Flg off TTL Pro cks Src Dst


4 5 00 5400 abb3 0 0000 01 01 23a7 192.168.2.90 185.199.109.133
 
This is what I am getting by pinging from the router

ASUSWRT-Merlin RT-AX88U 386.3_0 Fri Jul 23 17:53:02 UTC 2021

admin@JUANDOASUS:/tmp/home/root# ping raw.githubusercontent.com

PING raw.githubusercontent.com (185.199.109.133): 56 data bytes

^C

--- raw.githubusercontent.com ping statistics ---

21 packets transmitted, 0 packets received, 100% packet loss
 
Code:
PING raw.githubusercontent.com (185.199.109.133): 56 data bytes


76 bytes from 241.red-81-46-7.customer.static.ccgg.telefonica.net (81.46.7.241): Time to live exceeded
I think there is something wrong with the routing by your ISP. I think this is something only your ISP can fix.
 
Just one thing I have just tested.

I connected the PC to the VPN (TorGuard). Using a United States server. And now I can ping raw.githubusercontent.com without major problems.

Juando@MacBook-Pro-de-Juando ~ % ping raw.githubusercontent.com

PING raw.githubusercontent.com (185.199.111.133): 56 data bytes

64 bytes from 185.199.111.133: icmp_seq=0 ttl=59 time=108.155 ms

64 bytes from 185.199.111.133: icmp_seq=1 ttl=59 time=107.079 ms

64 bytes from 185.199.111.133: icmp_seq=2 ttl=59 time=107.135 ms

64 bytes from 185.199.111.133: icmp_seq=3 ttl=59 time=113.604 ms

64 bytes from 185.199.111.133: icmp_seq=4 ttl=59 time=106.116 ms

64 bytes from 185.199.111.133: icmp_seq=5 ttl=59 time=152.082 ms

^C

--- raw.githubusercontent.com ping statistics ---

6 packets transmitted, 6 packets received, 0.0% packet loss

round-trip min/avg/max/stddev = 106.116/115.695/152.082/16.455 ms

So it seems the ISP provider is blocking raw.githubusercontent.com

My ISP provider is Movistar, from Spain.
 
I have seen another thing ...

When I ping raw.githubusercontent.com from home (Movistar ISP) it is resolving IP 185.199.109.133.

But at work ... If I ping raw.githubusercontent.com ... (at work we have a different ISP provider, I thing it is JAZZTEL) it is resolving the IP 185.199.110.133.

Is there any way I can force (by using dnsmasq.conf) to resolve raw.githubusercontent.com as IP 185.199.110.133?

Could be something like this?
address=/raw.githubusercontent.com/185.199.110.133

Is this the correct way? I don't know if this could be a temporary solution?

Should I restart the router after applying this change to dnsmasq.conf or it would be enough if I restart dnsmasq using scMerlin?
 
Last edited:
raw.githubusercontent.com resolves to four different IP addresses. So which one is used will be random.
Code:
# nslookup raw.githubusercontent.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      raw.githubusercontent.com
Address 1: 185.199.108.133 cdn-185-199-108-133.github.com
Address 2: 185.199.109.133 cdn-185-199-109-133.github.com
Address 3: 185.199.110.133 cdn-185-199-110-133.github.com
Address 4: 185.199.111.133 cdn-185-199-111-133.github.com
# nslookup raw.githubusercontent.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      raw.githubusercontent.com
Address 1: 185.199.111.133 cdn-185-199-111-133.github.com
Address 2: 185.199.110.133 cdn-185-199-110-133.github.com
Address 3: 185.199.109.133 cdn-185-199-109-133.github.com
Address 4: 185.199.108.133 cdn-185-199-108-133.github.com
# nslookup raw.githubusercontent.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      raw.githubusercontent.com
Address 1: 185.199.108.133 cdn-185-199-108-133.github.com
Address 2: 185.199.111.133 cdn-185-199-111-133.github.com
Address 3: 185.199.110.133 cdn-185-199-110-133.github.com
Address 4: 185.199.109.133 cdn-185-199-109-133.github.com
But if you find one address that always works the easiest option is to add it to the hosts file:
Code:
# echo "185.199.110.133 raw.githubusercontent.com" >> /jffs/configs/hosts.add
# service restart_dnsmasq

Done.
# nslookup raw.githubusercontent.com
Server:    127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain

Name:      raw.githubusercontent.com
Address 1: 185.199.110.133 raw.githubusercontent.com
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top