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

"Operation timed out" for almost every (even successful) web.archive.org save #472

Closed
BBaoVanC opened this issue May 21, 2022 · 1 comment · Fixed by #486
Closed

"Operation timed out" for almost every (even successful) web.archive.org save #472

BBaoVanC opened this issue May 21, 2022 · 1 comment · Fixed by #486
Labels
Bug Something isn't working

Comments

@BBaoVanC
Copy link

Describe the bug

If I look at my Laravel logs, I see tons of errors that look like this:

cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://web.archive.org/save/https://github.com/adityatelange/hugo-PaperMod {"userId":1,"exception":"[object] (Illuminate\\Http\\Client\\ConnectionException(code: 0): cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://web.archive.org/save/https://github.com/adityatelange/hugo-PaperMod at /var/www/linkace.bbaovanc.com/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php:710) 

This is happening for almost every single link I save. But if I go to the link and click "Link archive @ Wayback Machine", I can see an archive was saved at the exact time and date that I saved the link on Linkace. So even though the request timed out, archive.org still saved the snapshot.

To Reproduce

  1. Save a few links using Linkace
  2. Check Laravel logs

Expected behavior

If there isn't some underlying issue that can be done on Linkace's end to prevent the timeout, maybe there could be some way to verify that a snapshot was properly saved before logging an error? It really clutters up my logs and makes them hard to find actual errors in.

Screenshots

image

LinkAce setup (please complete the following information):

  • Version: 1.10.1
  • Installed via: php-fpm and Caddy webserver
  • OS: Debian 11

Desktop (please complete the following information if applicable):

  • OS: Arch Linux
  • Browser: Firefox 100
  • Version: Latest
@BBaoVanC BBaoVanC added the Bug Something isn't working label May 21, 2022
@Kovah
Copy link
Owner

Kovah commented May 21, 2022

Hm yeah, i'll see if I can bump the timeout a bit or find another solution. Sadly, the Internet Archive has no real API to save websites so you have to trigger the saving by opening an URL and wait until the Archive saved the website successfully (which can take a while depending on the current load and the website size).

@Kovah Kovah linked a pull request Jun 10, 2022 that will close this issue
@Kovah Kovah moved this to Released in LinkAce Development Aug 14, 2024
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
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants