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

Dev clean install wont connect to nntp server #609

Closed
bert0901 opened this issue Jun 1, 2018 · 9 comments
Closed

Dev clean install wont connect to nntp server #609

bert0901 opened this issue Jun 1, 2018 · 9 comments

Comments

@bert0901
Copy link

bert0901 commented Jun 1, 2018

Just done a clean install. Tried to do a pull of headers for a group.

It just sits there and times out at the stage of saying "Getting first/last for all your active groups."

The shortgroup doesn't get updated or any values in the group tables.

Any advice welcome.

many Thanks

@DariusIII
Copy link
Member

Check logs for any possible hint.

@bert0901
Copy link
Author

bert0901 commented Jun 1, 2018

That's the thing, nothing anywhere.

Only error it gives is "Error: Failed to getGroups() from nntp server."

Nothing in the Laravel log.

The resource/log folder empty. And even tried to run in the tmux/bin folder the update_groups.php and no php eror log in there either

@DariusIII
Copy link
Member

Stupid question, but have you copied .env.example to .env and edited that file?

@bert0901
Copy link
Author

bert0901 commented Jun 1, 2018

Yep done all that.

Tried both ssl and non ssl. Tried 2 different providers.

APP_NAME=NNTmux
APP_ENV=local
APP_DEBUG=true

Set those to local and debug.

Its when I use "complete threaded update" same message.

When I use "Simple" just loops to end without any headers. That's why tried to run the update_groups.php so that would work as it seems to rely on short_groups values.

@bert0901
Copy link
Author

bert0901 commented Jun 1, 2018

Just used the old test_nntp_server.php file to see if getting a connection.

php test_nntp_server.php alt.binaries.teevee 595751142
Array
(
[group] => alt.binaries.teevee
[first] => 2
[last] => 1466060586
[count] => 1466060585
)

So looks like the .env file is all okay as getting results.

@bert0901
Copy link
Author

bert0901 commented Jun 1, 2018

Gone back before updates few days ago and all working fine. So must be something around that time.

@bert0901
Copy link
Author

bert0901 commented Jun 1, 2018

Sorry, before the blacklight\nntp file was changed

@bert0901
Copy link
Author

bert0901 commented Jun 7, 2018

Been looking into this issue, and resetting the "Fix wrong size in substr check in NNTP class " push to the original value seems to solve the issue.

@bert0901
Copy link
Author

bert0901 commented Jun 9, 2018

Thanks for resolving that

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