The ultimate solution to the problem that Github cannot display images

The ultimate solution to the problem that Github cannot display images

[[379338]]

Preface

Not long ago, I encountered the problem that GitHub could not load images. I searched for a solution online and added a string of IP addresses after the hosts file. At that time, I saw that it was solved, so I didn't investigate it further. But today, this problem of no images appeared again. I thought it would be better to know the reason and find out what the problem is.

Solution

Based on the previous experience of modifying the hosts file, the first judgment may be that there is a problem with the domain name resolution. It may be that the IP address of the domain name cannot be found in China, so we need to configure it ourselves. So F12, sure enough, there are many access denied errors for the same domain name.


Query the domain name https://avatars.githubusercontent.com through https://www.ipaddress.com/ and find the IP address of the domain name.


It seems that on the 26th, the domain name updated the bound IP.

Update the hosts file:


Oh yeah


The configuration in hosts is definitely incomplete. If you encounter similar problems on GitHub or other websites in the future, you can use this method or idea to solve them.

<<:  How 5G will shape the future of construction

>>:  How to jointly build and share 5G networks?

Blog    

Recommend

A brief analysis of the application of NAT technology in cloud gateway

Labs Guide With the increase of network applicati...

Discussion on interactive control technology of device platform based on gateway

Author: Zhu Rongliang, Unit: China Mobile Smart H...

By 2026, the Wi-Fi 6 and 6E market in Asia Pacific will reach US$8.559 billion

On March 26, according to foreign media reports, ...

5G sets new standards for IoT connectivity in vertical industries

As 5G rolls out around the world, verticals acros...

Another global battle for 5G has begun! What should China do?

At present, in addition to 5G, another global com...

​From CDN to edge computing, computing power evolution accelerates again

The COVID-19 pandemic has accelerated the global ...

12 Myths About Blockchain Technology

Blockchain, the distributed ledger technology, ha...

Private wireless networks provide secure solutions for digital transformation

When many businesses first installed wireless IoT...

Expert: It is impossible for the United States to bypass 5G and develop 6G

On September 21, at the opening event of Sina 5G ...