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 access GUI #72

Open
spotlesscoder opened this issue Apr 19, 2018 · 4 comments
Open

Cannot access GUI #72

spotlesscoder opened this issue Apr 19, 2018 · 4 comments

Comments

@spotlesscoder
Copy link

I get the following error when I try to access http://http://localhost:9292/nodes

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>Chef - 404 Not Found</title> <link media="all" rel="stylesheet" type="text/css" href="/css/all.css" /> <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="/css/lt7.css" /><![endif]--> </head> <body> <div class="header-block"> <div id="header"> <strong class="logo"><a href="https://www.chef.io">Chef</a></strong> </div> </div> <div id="wrapper"> <div id="main"> <div class="mybox"> <div id="content"> <h1>404 - Not Found</h1> <p>Sorry, I can't find what you are looking for.</p> </div> </div> </div> </div> <div class="footer-block"> <div id="footer"> <div class="mybox"> </div> <div class="footer-bottom"> <span>&copy; 2010&thinsp;&ndash;&thinsp;2017 Chef Software, Inc. All Rights Reserved</span> </div> </div> </div> </body> </html> 

This is my settings.rb file:

server_url "http://127.0.0.1:443"
client_name "username"
client_key ::File.join(::File.dirname(__FILE__), 'key')

# If the Chef server has a self-signed https certificate, SSL certificate
# checks need to be disabled.
#
connection[:ssl] = { verify: false }

@mpasternacki
Copy link
Member

This looks like it was generated by chef-server, not chef-browser. Are you sure you don't have chef-server listening on port 9292?

@spotlesscoder
Copy link
Author

spotlesscoder commented Apr 20, 2018

Chef server is listening on port 443
chef-browser is on 9292

@xamebax
Copy link
Contributor

xamebax commented Apr 23, 2018

What happens when you launch chef browser on a different port? You can do that by using the -p option with rackup.

@spotlesscoder
Copy link
Author

I don't know why this should make a difference

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

3 participants