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

Server Error macOS Sierra #8

Open
tyrollins opened this issue Jan 24, 2017 · 1 comment
Open

Server Error macOS Sierra #8

tyrollins opened this issue Jan 24, 2017 · 1 comment
Labels

Comments

@tyrollins
Copy link

tyrollins commented Jan 24, 2017

Hey There. Interested in this project, I tried to run it on my machine iMac with macOS Sierra and ran into the following error...

AH00557: httpd: apr_sockaddr_info_get() failed for Tylers-iMac.local
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK

Additionally, do you know how one would save the sudo password, so it does not need to be entered each time using the application? Im not well versed with apache, and only novice JS.

Cheers.

@tyrollins tyrollins changed the title Server Server Error macOS Sierra Jan 24, 2017
@johansatge
Copy link
Owner

Hi,

thanks for your feedback!

About your error, I'd say it comes from your Apache configuration (/etc/apache2/httpd.conf). Did you set a ServerName?

(That being said, it is only a warning. The server should work.)


Additionally, do you know how one would save the sudo password

When I developed the app, I tried that approach (setting the password in the keychain and then requesting it from the CLI), but that was not clean IMO (the user has to manually setup the password the first time) - so I abandoned the idea.

Actually I'm not proud of the current code, because with that method, the password is probably available somewhere in the memory, unencrypted... A cleaner way would be to use the native OSX dialog (the one below), but I have no idea how to achieve that from NW.js.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants