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

Cannot add as gem source #89

Open
carlosaya opened this issue Dec 18, 2024 · 1 comment
Open

Cannot add as gem source #89

carlosaya opened this issue Dec 18, 2024 · 1 comment

Comments

@carlosaya
Copy link

carlosaya commented Dec 18, 2024

Hi, I have tried to set this up in a docker container, but cannot add this as a gem source. I get the following:

$ gem sources -a http://localhost:2000
Error fetching http://localhost:2000:
        too many connection resets (http://localhost:2000/specs.4.8.gz)

I have tried this locally and on a remote server with the same results. It is definitely listening on port 2000 and I have verified that curl http://:2000 fails when the container is stopped, so I am definitely connecting to the container and not something else. I have tried to build this using both ruby:2.7.8-alpine3.16 and ruby:3.2.6-alpine3.20 as my base images and the result is the same.

Any ideas?

@PierreRambaud
Copy link
Owner

Hi and sorry for the delay, are you able to provide me the Dockerfile in order to be able to reproduce your issue?

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

2 participants