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

localhost site not starting #114

Closed
martin-sweeney opened this Issue Mar 15, 2016 · 20 comments

Comments

2 participants
@martin-sweeney

martin-sweeney commented Mar 15, 2016

Hi,
Forgive me - newbie osx user - if this is something simple
Running this on el capitan I get no website showing up on localhost:15298/callback.php

firewall is off...

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 15, 2016

Owner

Hi,

Can you follow steps described here, I'll have a look when I receive your email

Owner

vdesabou commented Mar 15, 2016

Hi,

Can you follow steps described here, I'll have a look when I receive your email

@vdesabou vdesabou self-assigned this Mar 15, 2016

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 15, 2016

ok - I have done that - Hopefully an email was sent...
I dont think the email is sending though - is there a way to get the debug information manually?

martin-sweeney commented Mar 15, 2016

ok - I have done that - Hopefully an email was sent...
I dont think the email is sending though - is there a way to get the debug information manually?

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 15, 2016

Owner

When you click on the "send an email", it should open your default email client with the needed text.

Don't you have a default email client configured?

Owner

vdesabou commented Mar 15, 2016

When you click on the "send an email", it should open your default email client with the needed text.

Don't you have a default email client configured?

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 15, 2016

Owner

Can you install this version of workflow https://infinit.io/_/bqS7pS7

You should get the needed information in the clipboard when you click on the "send an email" button
Then copy/paste it in an email send to alfred.spotify.mini.player AT gmail.com

Owner

vdesabou commented Mar 15, 2016

Can you install this version of workflow https://infinit.io/_/bqS7pS7

You should get the needed information in the clipboard when you click on the "send an email" button
Then copy/paste it in an email send to alfred.spotify.mini.player AT gmail.com

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 15, 2016

ok thanks.. I will give that a go

martin-sweeney commented Mar 15, 2016

ok thanks.. I will give that a go

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 15, 2016

I'm sorry that doesnt seem to copy anything to the clipboard - I reset the settings and retried the authorisation on the new version you linked to. Same error with nothing running on localhost:15298

I found the location of the scripts though - can I run them manually and show you the output?

I also do not see a debug.tgz file being generated at all....

I noticed that OSX was blocking the app cause it wasnt trusted - but even after that I dont see the app actually doing anything when I run the Authorise command apart from open the website that is not present.

martin-sweeney commented Mar 15, 2016

I'm sorry that doesnt seem to copy anything to the clipboard - I reset the settings and retried the authorisation on the new version you linked to. Same error with nothing running on localhost:15298

I found the location of the scripts though - can I run them manually and show you the output?

I also do not see a debug.tgz file being generated at all....

I noticed that OSX was blocking the app cause it wasnt trusted - but even after that I dont see the app actually doing anything when I run the Authorise command apart from open the website that is not present.

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 15, 2016

Owner

Any chance you can do a screen cast to see what is going on, as I don't see why you cannot generate the debug.tgz file

Vincent

Le 15 mars 2016 à 17:27, martin-sweeney notifications@github.com a écrit :

I'm sorry that doesnt seem to copy anything to the clipboard - I reset the settings and retried the authorisation on the new version you linked to. Same error with nothing running on localhost:15298

I found the location of the scripts though - can I run them manually and show you the output?

I also do not see a debug.tgz file being generated at all....

I noticed that OSX was blocking the app cause it wasnt trusted - but even after that I dont see the app actually doing anything when I run the Authorise command apart from open the website that is not present.


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#114 (comment)

Owner

vdesabou commented Mar 15, 2016

Any chance you can do a screen cast to see what is going on, as I don't see why you cannot generate the debug.tgz file

Vincent

Le 15 mars 2016 à 17:27, martin-sweeney notifications@github.com a écrit :

I'm sorry that doesnt seem to copy anything to the clipboard - I reset the settings and retried the authorisation on the new version you linked to. Same error with nothing running on localhost:15298

I found the location of the scripts though - can I run them manually and show you the output?

I also do not see a debug.tgz file being generated at all....

I noticed that OSX was blocking the app cause it wasnt trusted - but even after that I dont see the app actually doing anything when I run the Authorise command apart from open the website that is not present.


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
#114 (comment)

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 16, 2016

Owner

Ok I see why you could not use spot_mini_debug command successfully. Can you please install this beta version https://infinit.io/_/suTB4Xp and then invoke spot_mini_debug again, you should have the email created (or at least a text in the clipboard).

Owner

vdesabou commented Mar 16, 2016

Ok I see why you could not use spot_mini_debug command successfully. Can you please install this beta version https://infinit.io/_/suTB4Xp and then invoke spot_mini_debug again, you should have the email created (or at least a text in the clipboard).

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

Ok thanks - I will try that...

martin-sweeney commented Mar 16, 2016

Ok thanks - I will try that...

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

sent you an email with two separate attempts in it...

martin-sweeney commented Mar 16, 2016

sent you an email with two separate attempts in it...

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 16, 2016

Owner

Thanks.
So the problem is this error:

Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided

Can you execute this command in a terminal and copy/paste results here:

php -S localhost:15298

On my side, I get:

$ php -S localhost:15298
PHP 5.5.30 Development Server started at Wed Mar 16 13:04:35 2016
Listening on http://localhost:15298
Document root is /Users/vdesabou
Press Ctrl-C to quit.
Owner

vdesabou commented Mar 16, 2016

Thanks.
So the problem is this error:

Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided

Can you execute this command in a terminal and copy/paste results here:

php -S localhost:15298

On my side, I get:

$ php -S localhost:15298
PHP 5.5.30 Development Server started at Wed Mar 16 13:04:35 2016
Listening on http://localhost:15298
Document root is /Users/vdesabou
Press Ctrl-C to quit.
@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016


Warning: Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in Unknown on line 0
[Wed Mar 16 12:32:14 2016] Failed to listen on localhost:15298 (reason: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known)

martin-sweeney commented Mar 16, 2016


Warning: Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in Unknown on line 0
[Wed Mar 16 12:32:14 2016] Failed to listen on localhost:15298 (reason: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known)
@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 16, 2016

Owner

Are you using El Capitan? Did you change anything to PHP.ini or recompile by yourself PHP?

There are some discussions about this error here

They suggest either to change PHP.ini, recompile without IPv6

Can you try this command:

php -S 127.0.0.1:15298

Also can you copy/paste this:

cat /etc/hosts

Thanks

Owner

vdesabou commented Mar 16, 2016

Are you using El Capitan? Did you change anything to PHP.ini or recompile by yourself PHP?

There are some discussions about this error here

They suggest either to change PHP.ini, recompile without IPv6

Can you try this command:

php -S 127.0.0.1:15298

Also can you copy/paste this:

cat /etc/hosts

Thanks

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

I didnt change the PHP.ini file... but some apps might of during installation.

My hosts file is very specific - it has alot of work ip's etc...

Ok - so php -S 127.0.0.1:15298 works fine
and
php -S localhost:15298 doesnt work at all

martin-sweeney commented Mar 16, 2016

I didnt change the PHP.ini file... but some apps might of during installation.

My hosts file is very specific - it has alot of work ip's etc...

Ok - so php -S 127.0.0.1:15298 works fine
and
php -S localhost:15298 doesnt work at all

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

ok - solved it - the hosts file has a setting in it for work to redirect 127.0.0.1 to a locally developed website...

martin-sweeney commented Mar 16, 2016

ok - solved it - the hosts file has a setting in it for work to redirect 127.0.0.1 to a locally developed website...

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 16, 2016

Owner

Ok, can you try with this new BETA then https://infinit.io/_/4GCEVwB

If « php -S 127.0.0.1:15298 » works for you, then authentication should
work now with this BETA

On Wed, Mar 16, 2016 at 2:40 PM, martin-sweeney notifications@github.com
wrote:

I didnt change the PHP.ini file... but some apps might of during
installation.

My hosts file is very specific - it has alot of work ip's etc...

Ok - so php -S 127.0.0.1:15298 works fine
and
php -S localhost:15298 doesnt work at all


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
#114 (comment)

Vincent de Saboulin

Owner

vdesabou commented Mar 16, 2016

Ok, can you try with this new BETA then https://infinit.io/_/4GCEVwB

If « php -S 127.0.0.1:15298 » works for you, then authentication should
work now with this BETA

On Wed, Mar 16, 2016 at 2:40 PM, martin-sweeney notifications@github.com
wrote:

I didnt change the PHP.ini file... but some apps might of during
installation.

My hosts file is very specific - it has alot of work ip's etc...

Ok - so php -S 127.0.0.1:15298 works fine
and
php -S localhost:15298 doesnt work at all


You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub
#114 (comment)

Vincent de Saboulin

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

with the BETA - Hello ! You are now successfully logged and you can close this window.

martin-sweeney commented Mar 16, 2016

with the BETA - Hello ! You are now successfully logged and you can close this window.

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 16, 2016

Owner

ok good. But if that's something in your /etc/hosts, I'm not going to release the change in latest BETA to other people.
So you can stay like this, and if you need to do authentication again in the future, change your /etc/hosts for a short time.

Cheers!

Owner

vdesabou commented Mar 16, 2016

ok good. But if that's something in your /etc/hosts, I'm not going to release the change in latest BETA to other people.
So you can stay like this, and if you need to do authentication again in the future, change your /etc/hosts for a short time.

Cheers!

@vdesabou vdesabou added the question label Mar 16, 2016

@vdesabou vdesabou closed this Mar 16, 2016

@martin-sweeney

This comment has been minimized.

Show comment
Hide comment
@martin-sweeney

martin-sweeney Mar 16, 2016

Sure - sounds like a plan - its possible that you could consider using 127.0.0.1 instead of localhost though?

Just a thought

martin-sweeney commented Mar 16, 2016

Sure - sounds like a plan - its possible that you could consider using 127.0.0.1 instead of localhost though?

Just a thought

@vdesabou vdesabou added this to the 6.2.5 milestone Mar 17, 2016

@vdesabou

This comment has been minimized.

Show comment
Hide comment
@vdesabou

vdesabou Mar 17, 2016

Owner

its possible that you could consider using 127.0.0.1 instead of localhost though?

Good point, that's what I did in 3a2ac8e

Owner

vdesabou commented Mar 17, 2016

its possible that you could consider using 127.0.0.1 instead of localhost though?

Good point, that's what I did in 3a2ac8e

@vdesabou vdesabou reopened this Mar 17, 2016

@vdesabou vdesabou modified the milestones: 6.2.6, 6.2.5 Apr 19, 2016

@vdesabou vdesabou closed this Apr 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment