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

No items found - Network issues? #1114

Closed
keynet opened this issue Nov 14, 2023 · 4 comments
Closed

No items found - Network issues? #1114

keynet opened this issue Nov 14, 2023 · 4 comments

Comments

@keynet
Copy link

keynet commented Nov 14, 2023

Built nitter from latest GitHub source, no errors or warnings, installed redis etc. Executable is 3.4M
However when it runs, I get "No items found", a bit like issue #839, though in all other respects appears OK.

So I installed docker, ran latest nitter image, same result. Also previous docker image - same.
I'm thinking it's something to do with networking or config, so removed reverse proxy and firewall temporarily, and exposed nitter to port 80. Same result.
Tried variations of hostname etc in config, still nothing.

I see debug like this, so I conclude it's talking to something (this is with an Apache reverse proxy on 7997).

Connected to Redis at localhost:6379
INFO Jester is making jokes at http://0.0.0.0:7997
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool
[tokens] added new token to pool

Wireshark shows a packet to twitter.com when searching, and a response of about 750 bytes, then nothing

I can use a 3rd party hosted instance no problem, but want to run my own instance.
I must have missed something. What more debug can I do ?

Appreciate any help

@zedeus
Copy link
Owner

zedeus commented Nov 14, 2023

The new era implemented by #985 hasn't been merged into master yet. See #983 for more details.
Here's a guide to set it up: https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment

@zedeus zedeus closed this as completed Nov 14, 2023
@keynet
Copy link
Author

keynet commented Nov 16, 2023

Great, thanks, got it to work with guest account branch.
Is it possible to generate actual Twitter links, not redirected (I don't seem to be able to make it do it by clearing the redirect options). Use case is a private nitter instance creating RSS for a public website via FreshRSS, where people won't have access to my nitter instance, and would probably expect Twitter links anyway.
Thanks again

@zedeus
Copy link
Owner

zedeus commented Nov 16, 2023

@keynet this isn't officially supported, but you can set replaceTwitter to twitter.com in nitter.conf and it should work just fine. Remember to set https = true as well, otherwise the links will be http only.

@keynet
Copy link
Author

keynet commented Nov 17, 2023

Thanks, yes I had tried that setting, but no setting seems to change the link URL's. I can perhaps look at the code if you point me in the right direction. I think the use case for creating an RSS from Twitter is valuable.

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