Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init container failes #7

Open
ozgia opened this issue Jun 5, 2023 · 6 comments
Open

Init container failes #7

ozgia opened this issue Jun 5, 2023 · 6 comments

Comments

@ozgia
Copy link

ozgia commented Jun 5, 2023

During the initialization process, im getting the following errors:

model.ckpt           100% |********************************| 4067M  0:00:00 ETA

'/models/model.ckpt' saved
Connecting to github.com (140.82.114.4:443)
wget: note: TLS certificate validation not implemented
Connecting to objects.githubusercontent.com (185.199.109.133:443)
wget: can't open '/models/GFPGANv1.3.pth': File exists
Connecting to github.com (140.82.114.4:443)
wget: note: TLS certificate validation not implemented
Connecting to objects.githubusercontent.com (185.199.109.133:443)
wget: can't open '/models/RealESRGAN_x4plus.pth': File exists
Connecting to github.com (140.82.114.4:443)
wget: note: TLS certificate validation not implemented
Connecting to objects.githubusercontent.com (185.199.109.133:443)
wget: can't open '/models/RealESRGAN_x4plus_anime_6B.pth': File exists

Any idea why ?

@TrojanCoder
Copy link

This happened to me when restarting after the pod failed for another reason. I deleted everything in the persistent volume manually then restarted the stateful set and it was able to start the main container.

@shiipou
Copy link

shiipou commented Jun 15, 2024

I got a similar error :

Connecting to www.googleapis.com (142.250.201.170:443)
wget: note: TLS certificate validation not implemented
wget: server returned error: HTTP/1.1 401 Unauthorized
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

But nothing related with storage.

I tried to delete the volume and everything, then restarting the deployment but that didn't help.

@celesrenata
Copy link

I got a similar error :

Connecting to www.googleapis.com (142.250.201.170:443)
wget: note: TLS certificate validation not implemented
wget: server returned error: HTTP/1.1 401 Unauthorized
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

But nothing related with storage.

I tried to delete the volume and everything, then restarting the deployment but that didn't help.

I also get the same error.

@crb2nu
Copy link

crb2nu commented Nov 2, 2024

This seems to be related to the authentication, specifically with the googleapi. This can probably be fixed by choosing a different base model and replacing the googleapi link with the link to that model (hopefully no auth required)

Stable Diffusion and optional companion models. Change these out if you'd like

models:
sd14: https://www.googleapis.com/storage/v1/b/aai-blog-files/o/sd-v1-4.ckpt?alt=media
gfpGan13: https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth
realEsrGanx4p10: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth
realEsrGanx4Animep02: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth

@nerzhul
Copy link

nerzhul commented Dec 23, 2024

it's due to old busybox version, replace 1.35 busybox with 1.37 and it works as expected

@mverleg
Copy link

mverleg commented Jan 5, 2025

@nerzhul Thanks for the hint, that worked for me too! Not sure if this repo is still maintained, but created a PR just in case #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants