Skip to content

🐛 Bug Report: Sporadic JSON errors #151

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

Closed
cbmiller2610 opened this issue Jun 24, 2024 · 23 comments
Closed

🐛 Bug Report: Sporadic JSON errors #151

cbmiller2610 opened this issue Jun 24, 2024 · 23 comments
Labels
bug Something isn't working

Comments

@cbmiller2610
Copy link

cbmiller2610 commented Jun 24, 2024

Describe the bug

Bug when clicking on post from r/popular

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Go to r/popular
  2. Click on the post /r/Wellthatsucks/comments/1dnjif4/i_was_accepted_to_a_phd_program_4_years_ago_and_i
  3. See error

What's the expected behavior?

See the post

Additional context / screenshot

image

@cbmiller2610 cbmiller2610 added the bug Something isn't working label Jun 24, 2024
@freedit-dev
Copy link
Contributor

freedit-dev commented Jun 25, 2024

Jun 24 15:36:58 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:37:10 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Couldn't send request to Reddit: error trying to connect: dns error: failed to lookup address information: Name or service not k>
Jun 24 15:37:39 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:37:44 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:39:09 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:39:11 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:39:41 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:41:15 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:41:38 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:09 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:12 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:13 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:45 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:43:51 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:44:39 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:45:02 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:45:09 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:45:44 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:46:22 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:46:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:46:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:46:44 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:47:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:47:07 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:47:20 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:47:29 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:47:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:47:58 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:48:12 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:48:37 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:48:40 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 15:48:46 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:49:27 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:49:43 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:49:45 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:49:48 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:49:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:51:34 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:52:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:53:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:53:21 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:53:23 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 404 "null": "Not Found"
Jun 24 15:53:46 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:53:50 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:54:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:54:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:54:52 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:57:06 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:57:19 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:57:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:57:34 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:57:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:58:08 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:58:17 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:58:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:58:33 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:58:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:13 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:21 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:24 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:38 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:41 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 15:59:44 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:00:20 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:00:37 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:01:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:02:38 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:07:34 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:08:02 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:08:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:08:48 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:08:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:09:02 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:09:16 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:09:24 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:09:25 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:03 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:11 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:20 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:25 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:45 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:10:59 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:11:09 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:11:13 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:13:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:21:59 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:23:51 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:26:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:26:32 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:26:52 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:27:23 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:27:28 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:27:28 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:28:11 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:28:13 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:31:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:31:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:34:29 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 404 "null": "Not Found"
Jun 24 16:38:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:40:10 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:42:41 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:44:05 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:44:17 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 16:44:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:45:32 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:46:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:46:25 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:46:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:46:57 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:47:04 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:47:12 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:47:25 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:47:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:47:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:48:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:49:58 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:50:31 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:52:38 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:52:42 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 ""private"": "Forbidden"
Jun 24 16:53:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 "null": "Forbidden"
Jun 24 16:53:36 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:53:53 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:53:58 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:54:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:54:05 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:54:07 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:54:11 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:55:05 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:55:33 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:57:45 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:57:52 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:57:53 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:58:24 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:58:26 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:58:57 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 16:59:02 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:01:31 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:04:07 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:04:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:04:20 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:04:51 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:04:58 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:05:04 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:05:18 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:05:19 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:05:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:06:24 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:06:32 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:07:01 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:07:33 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:08:37 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:09:14 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 400 "null": "Bad Request"
Jun 24 17:10:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:12:26 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:14:41 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 "null": "Forbidden"
Jun 24 17:15:15 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:18:15 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:19:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:20:24 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:20:33 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:20:57 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:21:34 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:21:52 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:22:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:25:48 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:26:45 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:27:28 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:27:31 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:28:23 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:28:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:29:29 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:30:54 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:31:50 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:32:59 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:34:08 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:34:26 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:35:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:36:50 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:37:17 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:37:40 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:37:40 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:38:35 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:38:40 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:38:51 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 ""private"": "Forbidden"
Jun 24 17:39:57 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:40:06 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:41:29 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:42:46 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 ""gated"": "Forbidden"
Jun 24 17:42:52 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 ""gated"": "Forbidden"
Jun 24 17:43:34 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:44:47 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:44:56 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Reddit error 403 "null": "Forbidden"
Jun 24 17:45:22 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:45:30 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:45:31 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:45:49 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:46:23 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:46:29 base redlib[3486010]:  ERROR redlib::utils > Error page rendered: Nothing here
Jun 24 17:48:04 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:04 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:17 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:21 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:21 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:21 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:33 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:38 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:38 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:38 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:42 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:44 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:44 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:49 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:49 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:49 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:51 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Nothing here
Jun 24 17:48:53 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:53 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:54 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:54 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:48:55 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:48:55 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:49:28 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:49:28 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 24 17:49:34 base redlib[3486010]:  ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
Jun 24 17:49:34 base redlib[3486010]:  ERROR redlib::utils  > Error page rendered: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0
Jun 

@freedit-dev
Copy link
Contributor

freedit-dev commented Jun 25, 2024

Back to life when restarted. Then, it died again.

version: https://github.com/redlib-org/redlib/tree/try_fix_oauth_refresh

#150

@sigaloid sigaloid changed the title 🐛+Bug+Report:+Failed to parse page JSON data: EOF while parsing a value at line 1 column 0 | /r/Wellthatsucks/comments/1dnjif4/i_was_accepted_to_a_phd_program_4_years_ago_and_i/.json? 🐛 Bug Report: Sporadic JSON errors Jun 25, 2024
@arch-btw
Copy link

arch-btw commented Jun 25, 2024

Not sure if related but apparently not encoding "+" causes ratelimit errors, at the moment:

https://sh.reddit.com/r/redditdev/comments/1diwa3i/anyone_getting_prawcoreexceptionsredirect/

In the thread it's fixed by encoding to %2B

@arulagrawal
Copy link
Contributor

arulagrawal commented Jun 25, 2024

At least on my end, it appears the server I was using to host redlib has been blacklisted by reddit.

If I run curl -L "https://reddit.com/r/AskReddit/comments/1dnet5b/which_real_life_cheat_codes_do_you_know/la39ctt.json?&sort=confidence&raw_json=1" from my personal home pc, I get the expected response, but on the VPS, I get a html response which contains the message "You've been blocked by network security." I'm guessing this is the same html that gets returned when you are blocked for using a VPN.

EDIT:
Okay the blacklist thing is maybe not related, since if I run redlib through a wireguard container, I can make the curl call from inside the container, but redlib itself still displays the same error.

@CJBrandi
Copy link

I am getting the same exact error when opening the homepage: Failed to parse page JSON data: EOF while parsing a value at line 1 column 0. is there a fix yet? BTW this happens on all the instances ive tried

@I-I-IT
Copy link

I-I-IT commented Jun 25, 2024

Some instances do work, like reddit.nerdvpn.de, and redlib.ducks.party

Rate limiting ?

@CaldeiraG
Copy link

CaldeiraG commented Jun 25, 2024

I run a single-user instance and also getting the same errors so it seems to be something on reddit's side perhaps (it's intermittent for me)

@sigaloid
Copy link
Member

sigaloid commented Jun 25, 2024

I really can't tell what this problem is. I can't reproduce it locally, despite experiencing it all day on public instances.

Is anyone able to reproduce this consistently within a few minutes of starting a local server?

There's a tiny chance it could have been caused by this: #154 or maybe even this: bacc9e3

But I couldn't tell ya. Best thing to do is wait for instances to update to see

@sigaloid
Copy link
Member

sigaloid commented Jun 26, 2024

Hm, seems like there's something I could do to improve this (evicting invalid states from cache). Will put up a PR soon. Seems like we already set result = true on all relevant #[cached] calls. 😞 Not even sure how this error is being persisted, then...

I would love to get to the bottom of this, though, it requires adding a few println statements to see just precisely what the client is getting back.

@ButteredCats
Copy link
Contributor

I really can't tell what this problem is. I can't reproduce it locally, despite experiencing it all day on public instances.

Is anyone able to reproduce this consistently within a few minutes of starting a local server?

There's a tiny chance it could have been caused by this: #154 or maybe even this: bacc9e3

But I couldn't tell ya. Best thing to do is wait for instances to update to see

After 1-2 minutes even on 48873c0 it still happens for me, but seemingly only on my server and not my desktop.

Server has two different containers running Redlib, each with a different public IPv6 address. All devices have the same public IPv4. Disabling IPv6 on my desktop still doesn't result in an error though.

I've got no problem taking one of the server containers offline to do some local testing and adding some print statements if you want to let me know where they'd go.

@freedit-dev
Copy link
Contributor

Status code: 429 Too Many Requests

Reddit seems to be able to detect Redlib. Not by ip, even with my cloudflare proxy fork it still complains about too many requests.

@sigaloid
Copy link
Member

sigaloid commented Jun 26, 2024

Hm. I have to wonder if it's some kind of bot protection, since it's more likely to happen to public instances (and thus would be under load).

Thanks @ButteredCats, here's a diff, this should work on main right now.

mv logging.diff.txt logging.diff
git apply logging.diff
cargo run

logging.diff.txt

Would greatly appreciate a zip with the error_* files that you get (note: this will include the ephemeral token generated on your device - would help me reproduce with the exact request, but not strictly necessary)

@sigaloid
Copy link
Member

Reddit seems to be able to detect Redlib. Not by ip, even with my cloudflare proxy fork it still complains about too many requests.

I think that means your IP is banned (including cloudflare). I can't reproduce a 429 off the bat at all

@freedit-dev
Copy link
Contributor

freedit-dev commented Jun 26, 2024

@sigaloid My IP has been banned for a long time, at least several months. But a few days ago, my instance was still working normally. And I don't think anybody would block cloudflare ip.

@sigaloid
Copy link
Member

Hm. What image are you using? I made a few theoretically relevant changes in the last few hours

@freedit-dev
Copy link
Contributor

I'll try the latest commit.

@ButteredCats
Copy link
Contributor

Couldn't recreate it with the container not getting proxied to, reenabled it for just a second to see if that'd cause it and was immediately hit with 429 errors.

However it only created an error_oauth_token.txt and I was hit with a bunch of this:

thread 'tokio-runtime-worker' panicked at src/client.rs:355:85:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR redlib::client > Got an invalid response from reddit EOF while parsing a value at line 1 column 0. Status code: 429 Too Many Requests
 ERROR redlib::client > Failed to parse JSON with content:

Unfortunately I have this awful thing called work tomorrow so I'm not gonna be able to test any more tonight.

@sigaloid
Copy link
Member

Ah, irony of ironies. Couldn't test the logging because I couldn't reproduce it. Updated patch, no rush on reproduction.

@ButteredCats
Copy link
Contributor

I procrastinated long enough to see that before I got off lol.

Hopefully this can tell you what you need to know: errors.zip

@sigaloid
Copy link
Member

It does. Interestingly enough the error code is (presumably) still 200 (since it got all the way to json parsing). But the rate limit was reached (info in headers). Content-length is zero as well.

I'm not sure what the solution path is. The goal was for oauth to remove the worry for rate limits. I need to probably add a lot of observability into the rate limiting info returned in the headers. For now, I think making sure the failures are evicted from cache instead of staying broken for 5 minutes is the stopgap solution.

I think the reason you're dealing with rate limits could have something to do with IP reputation. Maybe some kind of temporary blocklist. Weird interplay with their own edge CDN and the way we present ourselves (totally legit mobile client) vs TLS cipher handshake appearing differently, plus datacenter IP etc. There's so many weird things they can do to detect us, it's not difficult to bypass, but narrowing exactly what changes every time is tedious. I guess this might mean they're actually trying to block us? 🤔

@arch-btw
Copy link

arch-btw commented Jun 26, 2024

datacenter IP

On VPN I've noticed that:

  • One of the most popular VPN providers goes straight to the "You've been blocked page" almost always.
  • With a lesser known VPN provider I can change servers a few times and get access without logging in.
  • All of this happens less during late evening/past midnight. I take it that there are less users using that specific IP address at that time.
  • All of these are datacenter IP's, so I think what you're saying is correct. It's a combination of things adding up.

Funny enough every VPN server can bypass the message on sh.reddit.com at the moment, but this will likely be patched any second now.

@ButteredCats
Copy link
Contributor

My server is in my home network, where I just have a normal residential plan.

When I have time I'll disable IPv6 on both my Redlib containers (which are still recieving requests) and my desktop and then see if my desktop starts running into the issue too.

@sigaloid
Copy link
Member

sigaloid commented Jun 26, 2024

Bad news, it looks like the issue lies in the fact that the rate limit started being enforced - for everyone. Going to push a quick fix out that properly renders an error page, would greatly appreciate instance operators upgrading to it.

Also, I'm going to close this issue - the error is going to be fixed. I'll open a new issue for the rate limiting issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants