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

Please, help me #3

Closed
OoHerbethoO opened this issue Feb 2, 2017 · 11 comments
Closed

Please, help me #3

OoHerbethoO opened this issue Feb 2, 2017 · 11 comments

Comments

@OoHerbethoO
Copy link

OoHerbethoO commented Feb 2, 2017

API installed on my server, but it's not working ... What can be? Everything is set up correctly.

Thank you!

captura de tela 2017-02-02 as 20 52 40

@alashow
Copy link
Owner

alashow commented Feb 3, 2017

As you can see in stacktrace, it aborts in authSecurityCheck function.

VK tries to verify user. As for now, this API can only verify phone number checks.

You can verify it manually. Login from the same IP as your server (openvpn, socks5 proxy) and verify auth check manually.

But if you could get verification page, I could automate it.

To get output:
Add this line to here:

file_put_contents(storage_path("logs/auth_output.log"), $body);

Then send me file log file (rootfolder/storage/logs/auth_output.log).

Thanks.

@OoHerbethoO
Copy link
Author

Here is the output of the VK.

captura de tela 2017-02-03 as 01 55 40
http://hpsweb.cf/auth_output.log

@OoHerbethoO OoHerbethoO reopened this Feb 3, 2017
@alashow alashow closed this as completed in 71af23d Feb 3, 2017
@alashow
Copy link
Owner

alashow commented Feb 3, 2017

It should be working now.

Please let me now whether it works for you.

@OoHerbethoO
Copy link
Author

Still does not work, is a white page but does not show the results.Thanks for the support!
captura de tela 2017-02-03 as 03 36 24

@alashow
Copy link
Owner

alashow commented Feb 3, 2017

It's not a white page. It's 500 error.

Can you upload site/storage/logs/lumen.log?

@OoHerbethoO
Copy link
Author

Was not creating any Lumen log file, I believe it is an error in the script :/

@alashow
Copy link
Owner

alashow commented Feb 3, 2017

Is logs empty or what?

@OoHerbethoO
Copy link
Author

Server not creating the log file with the registry of the alleged error.
captura de tela 2017-02-03 as 03 51 42

@alashow
Copy link
Owner

alashow commented Feb 3, 2017

Okay, that is not normal.

Usually, Lumen can't write logs when it can't write to logs directory. But since file_put_contents worked, that shouldn't be the case (still you can check permissions).

Is there anything unusual in .env?

@OoHerbethoO
Copy link
Author

Perfect! I was forgetting to change the directory permissions to "777", now everything is working perfectly. Thank you for your support and attention.

@alashow
Copy link
Owner

alashow commented Feb 3, 2017

You are welcome.

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

2 participants