404 error on multiple host connections
Opened this issue · 0 comments
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.