- From: Daniel DeLeo <
>
- To:
- Cc: Indra k <
>
- Subject: [chef] Re: Re: chef- server setup -not working properly
- Date: Mon, 2 Jun 2014 08:37:45 -0700
On Monday, June 2, 2014 at 3:22 AM, Sivakumar Gopalan wrote:
>
>
>
>
> I am using open source chef server,for a past few days my server setup is
>
> not working it shows error when i use knife commnand like this:
>
>
>
> ERROR: Server returned error for
>
> https://mychefserver.example.com/cookbooks?num_versions=all, retrying 1/5
>
> in 4s
>
> ERROR: Server returned error for
>
> https://mychefserver.example.com/cookbooks?num_versions=all, retrying 2/5
>
> in 6s
>
> ERROR: Server returned error for
>
> https://mychefserver.example.com/cookbooks?num_versions=all, retrying 3/5
>
> in 10s
>
> ERROR: Server returned error for
>
> https://mychefserver.example.com/cookbooks?num_versions=all, retrying 4/5
>
> in 17s
>
> ERROR: Server returned error for
>
> https://mychefserver.example.com/cookbooks?num_versions=all, retrying 5/5
>
> in 62s
>
> ERROR: bad gateway
>
>
>
It looks like there is something wrong with the configuration. Do you have
>
a domain example.com (http://example.com) in your local network ? If not
>
then you need to check if you have given a right FDQN [1] for your chef
>
server.
>
>
[1] http://kb.iu.edu/data/aiuv.html
>
>
Rgds,
>
Siva.
run `chef-server-ctl tail` to view the server error logs which should have
more information. Are you running any automated processes (like chef-client)
on the server that could be modifying the server configuration?
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.