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

404 error on multiple host connections #48

Open
sputturao opened this issue Aug 31, 2017 · 0 comments
Open

404 error on multiple host connections #48

sputturao opened this issue Aug 31, 2017 · 0 comments

Comments

@sputturao
Copy link

I setup an internal gem mirror to install few gems that are needed for chef 13.x upgrade. Setup is pretty standard except that I have changed the port from 2000 to 80 by updating the config file at - /srv/http/mirror.com/.

When a single host connects to the gem mirror, it is able to fetch the gems and install it. But when multiple hosts connect to gem server, we see 404 errors on the hosts. Error below:

Gem::RemoteFetcher::FetchError: chef_client_updater[update chef-client] (chef_client_updater::default line 20) had an error: Gem::RemoteFetcher::FetchError: chef_gem[mixlib-install] (/var/chef/cache/cookbooks/chef_client_updater/providers/default.rb line 32) had an error: Gem::RemoteFetcher::FetchError: bad response Not Found 404 (http://test123.com/quick/Marshal.4.8/mixlib-shellout-2.1.0-universal-mingw32.gemspec.rz) (http://test123.com/quick/Marshal.4.8/mixlib-shellout-2.1.0-universal-mingw32.gemspec.rz) (http://test123.com/quick/Marshal.4.8/mixlib-shellout-2.1.0-universal-mingw32.gemspec.rz)

Host doesnt always error out on this gem but it fails on other gem and/or versions every time I try to rerun the gem install. Access logs and error logs at /srv/http/mirror.com/logs donot show any 404 or other errors.

Any help/direction on this issue is appreciated.

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

1 participant