[chef] RE: RE: Re: Changing listen ports for chef server?


Chronological Thread 
  • From: Kevin Keane Subscription < >
  • To: < >
  • Subject: [chef] RE: RE: Re: Changing listen ports for chef server?
  • Date: Mon, 17 Aug 2015 12:44:46 -0700

Title: RE: [chef] RE: Re: Changing listen ports for chef server?

It is partially reproducible, after all.

chef-client appears to connect without an error.

knife usually (but not always) displays an internal error.

The internal error is also not related to the nginx error I described earlier; it must be coincidence.

Kevin Keane

The NetTech

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html


-----Original message-----
From: Kevin Keane Subscription < >
Sent: Monday 17th August 2015 11:36
To:
Subject: [chef] RE: Re: Changing listen ports for chef server?

Rather than chasing wild geese, I made the exact same change a second time - this time, it worked without a hitch.

Chalk it up to a non-reproducible problem!

Kevin Keane

The NetTech

760-721-8339

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html


-----Original message-----
From: Chris Magnuson < >
Sent: Monday 17th August 2015 11:21
To:
Subject: [chef] Re: Changing listen ports for chef server?

I found this with Google, maybe you did as well.


CJ


I would like my open-source chef server to change the ports it listens to. The goal is for it to coexist with a regular Web server.

Apparently, there are entries in chef-server.rb that accomplish this:

 nginx['non_ssl_port'] = 4080
 nginx['ssl_port'] = 4443

However, when I do this (and of course change the client URL correspondingly), Chef reports internal errors. The nginx log file shows that an internal connection fails:

 [error] 15162#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: <redacted>, request: "GET /organizations/<redacted>/cookbooks/base_files/0.3.2 HTTP/1.1", upstream: "http://127.0.0.1:8000/organizations/<redacted>/cookbooks/base_files/0.3.2", host: "<redacted>:4443"

When I remove the entries in chef-server.rb, everything goes back to normal.

Is there something else I have to do in order to change the listen ports?


Kevin Keane

The NetTech

http://www.4nettech.com

Our values: Privacy, Liberty, Justice

See https://www.4nettech.com/corp/the-nettech-values.html




  • [chef] RE: RE: Re: Changing listen ports for chef server?, Kevin Keane Subscription, 08/17/2015

Archive powered by MHonArc 2.6.16.

§