I have Windows 11 and I am trying to install dietpi on the VMWare. Everytime I try to set it up. Error comes saying "first setup run failed". i am from India

curl: (28) Failed to connect to raw.githubusercontent.com port 443 after 129632 ms: Couldn't connect to server
[FAILED] DietPi-Update | Unable to get latest version.
[INFO ] DietPi-Update | Please check the target Git repository and your network connection, then re-run dietpi-update.
[INFO ] DietPi-Update | If this error persists, please report at: https://github.com/MichaIng/Dietp lei/issues

Required Information

  • DietPi version | Debian 10.x 64-bit
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Expected behaviour

Actual behaviour

Extra details

make sure your VM can reach the internet, looks like it’s not able to contact github.com

I am connected to the wifi. when I ping to 8.8.8.8 it shows successful

Then your ISP may have problems connecting to raw.githubusercontent.com. can you ping this address?

can you open url http://raw.githubusercontent.com within a browser on your Windows box?

github.com gets opened directly

we need http://raw.githubusercontent.com

The ping fails with the error “Temporary failure in name resolution”
did work on windows command prompt however

what DNS server you are using? A local one or from ISP?

how can I check my DNS server ?

cat /etc/resolv.conf

This should show DNS configured on your system. But I guess you are using DHCP? If yes, DNS will point to your router most probably. And there you need to check what is configured.

nameserver 172.16.120.1

this is a private IP address. I guess it’s your router. Can you check within your router which DNS server is used. Maybe your ISP is blocking Github

I changed the iPV4 settings and assigned DNS to 8.8.8.8.

are you able to resolve the host name now?

what do you mean ? what hostname

i am still getting the same errors. and on using this command cat /etc/resolv.conf. still getting the nameserver 172.16.120.1

i am using mobile hotspot. As the network error would occur when using college WIFI. pls can you help me out. really need this to be working for college work.

Host name ist http://raw.githubusercontent.com.

The DNS in resolv.conf overrides DNS configs you made elsewhere. So e.g. your router is set to 8.8.8.8. but in resolv.conf is something else, it will use the IP from resolv.conf.

the issue is resolved.