Installing HACS takes forever

I tried installing hacs using the UI method but its taking forever to install and stucked at the installing screen. I dont get to fill in the personal token although i have already generate one.

Then i tried to hardcode it in configuration.yaml adding
token: XXXXXX

still it doesnt work.

I tried googling and someone claims adding the .pip_progress file in the config folder works, still it fails

any idea how to solve this?

this is what i found in the logs