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

Thumbnails Loading Error #17

Closed
boa-z opened this issue Nov 16, 2024 · 1 comment
Closed

Thumbnails Loading Error #17

boa-z opened this issue Nov 16, 2024 · 1 comment

Comments

@boa-z
Copy link
Contributor

boa-z commented Nov 16, 2024

Problem Description: When loading thumbnails, the page freezes and exceeds a certain number, such as 80 pages, that is, after the two GETs of Thumbnails in e-hentai are loaded, the remaining thumbnails cannot be loaded. Duplicate Thumbnails will be displayed on the page. This problem exists in all sources involving loadThumbnails, including ehentai and wnacg.

For example, the response fragment involving Thumbnails is as follows:

<div id="gdt" class="gt100">
  <a href="https://e-hentai.org/s/AAAA/BBBB-1"><div title="Page 1: XXXX.png" style="width:100px;height:85px;background:transparent url(https://url-to-thumbnails.jpg) -0px 0 no-repeat"></div></a>
...
</div>

The program repeats a lot of GET requests for https://e-hentai.org/g/AAAA/BBBB/?p=1, and then the following error will appear:

DioException [unknown]: null
Error: [RhttpConnectionException] Connection error. URL: https://e-hentai.org/g/AAAA/BBBB/?p=1 (hyper_util::client::legacy::Error(Connect, ConnectError("tcp open error", Os { code: 24, kind: Uncategorized, message: "Too many open files" })))

After repeating many times, probably dozens of times. Then the following error will appear:

GET https://e-hentai.org/g/AAAA/BBBB/?p=1
DioException [unknown]: null
Error: [RhttpTimeoutException] Request timed out. URL: https://e-hentai.org/g/AAAA/BBBB/?p=1
null
@wgh136
Copy link
Contributor

wgh136 commented Nov 16, 2024

This issue seems to have been fixed, try the current dev branch.

@boa-z boa-z closed this as completed Nov 16, 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