getsentry / self-hosted

Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
https://develop.sentry.dev/self-hosted/
Other
7.93k stars 1.78k forks source link

failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*" did not complete successfully: exit code: 100 #3409

Open hezhilong5211 opened 3 weeks ago

hezhilong5211 commented 3 weeks ago

Problem Statement

Image

Solution Brainstorm

docker 运行 failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --no-install-recommends cron && rm -r /var/lib/apt/lists/*“ 会出现GPG error 和 404的情况 已经换了阿里云镜像

aldy505 commented 2 weeks ago

The only possible reason was there is something that intercept your request from the Linux machine to http://dev.debian.org as seen on your screenshot. Make sure that you have properly configured your network proxy settings.

Sheepeer commented 2 weeks ago

Met the same issue, have u solved it?

Sheepeer commented 2 weeks ago

My error log: Image

aldy505 commented 2 weeks ago

Met the same issue, have u solved it?

@Sheepeer make sure your network proxy is properly set up. It's a networking issue, not specific to Sentry self-hosted.

Sheepeer commented 2 weeks ago

Met the same issue, have u solved it?

@Sheepeer make sure your network proxy is properly set up. It's a networking issue, not specific to Sentry self-hosted.

Thanks for your reply. But I feel confused, the error log shows Connection timed out [IP: 151.101.66.132 80], however I ran telnet 151.101.66.132 80 and it return connected. Is there any ideas? Image

BYK commented 2 weeks ago

@Sheepeer very likely that your connection is getting intercepted. Being able to telnet to port 80 does not prove that it works as this system is trying to connect to port 443 with HTTPS (TLS).