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

Not Reposting New Comments #3

Closed
thatjk opened this issue Sep 30, 2023 · 1 comment
Closed

Not Reposting New Comments #3

thatjk opened this issue Sep 30, 2023 · 1 comment

Comments

@thatjk
Copy link

thatjk commented Sep 30, 2023

Hi,

I have installed script on my portainer docker with correct linking to config file. I have a cron job running the docker every hour

I am running into the issue where user comments are being processed and a checkpoint file is created but it is not retrieving new comments say for this example user has a comment 2 hours, 4 hours, 15 hours ago which are not being reposted. Webhook log just states processed latest activity for user

Log segment for this specific user, changed user name to XXXXXXXX
2023-09-30 10:00:31.267 | DEBUG | logging:callHandlers:1706 - Fetching: GET https://oauth.reddit.com/user/XXXXXXXX/submitted 2023-09-30 10:00:31.267 | DEBUG | logging:callHandlers:1706 - Data: None 2023-09-30 10:00:31.267 | DEBUG | logging:callHandlers:1706 - Params: {'sort': 'new', 'limit': 1024, 'raw_json': 1} 2023-09-30 10:00:32.226 | DEBUG | logging:callHandlers:1706 - https://oauth.reddit.com:443 "GET /user/XXXXXXXX/submitted?sort=new&limit=1024&raw_json=1 HTTP/1.1" 200 50077 2023-09-30 10:00:32.289 | DEBUG | logging:callHandlers:1706 - Response: 200 (50077 bytes) 2023-09-30 10:00:32.317 | DEBUG | services.reddit:GetUserPosts:64 - Checkpoint reached while fetching posts for u/XXXXXXXX 2023-09-30 10:00:32.318 | TRACE | services.reddit:GetUserPosts:82 - [] 2023-09-30 10:00:32.319 | DEBUG | logging:callHandlers:1706 - Fetching: GET https://oauth.reddit.com/user/XXXXXXXX/comments 2023-09-30 10:00:32.319 | DEBUG | logging:callHandlers:1706 - Data: None 2023-09-30 10:00:32.319 | DEBUG | logging:callHandlers:1706 - Params: {'sort': 'new', 'limit': 1024, 'raw_json': 1} 2023-09-30 10:00:33.291 | DEBUG | logging:callHandlers:1706 - https://oauth.reddit.com:443 "GET /user/XXXXXXXX/comments?sort=new&limit=1024&raw_json=1 HTTP/1.1" 200 23077 2023-09-30 10:00:33.293 | DEBUG | logging:callHandlers:1706 - Response: 200 (23077 bytes) 2023-09-30 10:00:33.313 | DEBUG | services.reddit:GetUserComments:100 - Checkpoint reached while fetching comments for u/XXXXXXXX 2023-09-30 10:00:33.314 | TRACE | services.reddit:GetUserComments:118 - [] 2023-09-30 10:00:33.314 | INFO | __main__:Start:89 - Processed latest activity for u/XXXXXXXX

The Only time it works correctly is if I redeploy the docker, it will retrieve correctly and post comments within 24 hours but anytime after that no new comments are being retrieved and reposted.

I currently have my LOG_LEVEL set to Trace and LOG_DISCORD_WEBHOOK_LEVEL to Info

@EthanC
Copy link
Owner

EthanC commented Jul 2, 2024

Give it another try, I think this may be fixed in 53e531c.

@EthanC EthanC closed this as completed Jul 6, 2024
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