amtm amtm update error

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

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
 

figorr

Regular Contributor
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.
 

figorr

Regular Contributor
No luck. I restarted the router, disabled Diversion & Skynet and I am still getting the same error for the scripts located at GitHub.
 

ColinTaylor

Part of the Furniture
What do you get from
Code:
ping raw.githubusercontent.com
 

figorr

Regular Contributor
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.
 

ColinTaylor

Part of the Furniture
What was the full output? What IP address was it pinging?
 

figorr

Regular Contributor
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
 

ColinTaylor

Part of the Furniture
Can you try the ping from the router rather than your PC.
 

figorr

Regular Contributor
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

[email protected]:/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
 

ColinTaylor

Part of the Furniture
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.
 

figorr

Regular Contributor
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.

[email protected] ~ % 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.
 

figorr

Regular Contributor
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:

ColinTaylor

Part of the Furniture
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
 

Similar threads

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