Fatal Error

TalkBug Collectors

Join LibraryThing to post.

Fatal Error

1Harry_Vincent
Mar 1, 2022, 5:58 pm

When I tried adding Death Is A Bloodstained Shadow: The Giallo Cinema Chopping List to my library I received this error:

Fatal error: Uncaught exception 'PhpAmqpLib\Exception\AMQPRuntimeException' with message 'Error Connecting to server(113): No route to host ' in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:27 Stack trace: #0 /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(21): PhpAmqpLib\Wire\IO\StreamIO->__construct('production-rab-...', 5672, 3, 3, NULL) #1 /var/www/html/inc_rabbitmq.php(55): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('production-rab-...', 5672, 'lt', 'rPvuWvygfb9UenN...') #2 /var/www/html/inc_rabbitmq.php(85): rabbitmq_get_connection() #3 /var/www/html/inc_elasticsearch.php(2801): rabbitmq_get_channel('elasticsearch') #4 /var/www/html/inc_tags.php(670): elasticsearch_queue_update('update', 213397193, '94215') #5 /var/www/html/inc_tags.php(382): change_tagsAforbookA(Array, '94215', false, false) #6 /var/www/html/inc_savebook_add_book.php(887): saveTags_updatebool_deletebool('entertainment,r...', 213397193, ' in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 27

The author page shows a green checkmark next to the title but the book is not listed in my library. Clicking on the work gives the message that this is a private book.

2kristilabrie
Mar 2, 2022, 9:16 am

Thanks for the report.

Can I ask how you added (or tried adding) the book to your library? If from the "Add books" page, can you tell me what source you searched and how you searched for the book to add it?

3kristilabrie
Edited: Mar 2, 2022, 9:43 am

NB for testing/devs: there are 2 default (brown) covers under the member's Recently Added Homepage module, the first giving no work details and the other giving the Death is a Bloodstained Shadow details.

Screenshots:





Clicking on the first empty work goes to https://www.staging-lt.net/problem/18 with the message "Problem There is no work with that reference number"; clicking on the second work Death is a Bloodstained Shadow goes to https://www.staging-lt.net/problem.php with the message, "This is a private book."

The 1 member listed on the work page owning the work is another private member, not the OP. Seems the book didn't finish getting added to the member's library, causing the discrepancies.*

*Just ruminating: a hole in the process, maybe related to the black hole work bug?

4Harry_Vincent
Mar 2, 2022, 3:35 pm

It was a manual addition.

5kristilabrie
Edited: Mar 3, 2022, 9:27 am

>4 Harry_Vincent: Perfect, thanks. I'll test this further.

ETA: I tried adding manually, with just the title and author, and didn't have any trouble. Perhaps intermittent issues.

@Harry_Vincent, would you mind letting me know what fields you filled in, and what Collection/s you were adding to when this happened? Feel free to private message me if you don't want to post here.

6Harry_Vincent
Mar 4, 2022, 3:35 pm

I was adding to two collections, Your library & Ebooks in these fields:

title
author
tags
publication
primary language
original language

7kristilabrie
Mar 11, 2022, 8:52 am

This issue (a half-added book that can't be deleted) happened for another member while we were having "Add books" issues: https://www.librarything.com/topic/340183#7783118.

8kristilabrie
Mar 15, 2022, 9:36 am

>6 Harry_Vincent: Your phantom books should now be deleted. @timspalding has been working on a fix for this.

>7 kristilabrie: @PhilOPosia's phantom work issue remains, for the moment. The 2nd work that was added (the complete work) is gone, so I'm not sure if that was us or the member deleting. Making note for reference. We're working on getting the phantom work removed.

9Ritthichai
Edited: Sep 13, 2024, 2:35 am

I am getting a fatal error when I attempt to update a book - to move it from Collection 'Possible' to 'Paperback'. The error reported is:
Fatal error: Uncaught PhpAmqpLib\Exception\AMQPRuntimeException: Error Connecting to server(110): Connection timed out in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:27 Stack trace: #0 /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(21): PhpAmqpLib\Wire\IO\StreamIO->__construct('192.168.0.121', 5672, 3, 3, NULL) #1 /var/www/html/inc_rabbitmq.php(71): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('192.168.0.121', 5672, 'guest', 'guest') #2 /var/www/html/inc_rabbitmq.php(139): rabbitmq_get_connection() #3 /var/www/html/inc_elasticsearch.php(2806): rabbitmq_get_channel('elasticsearch') #4 /var/www/html/inc_tags.php(670): elasticsearch_queue_update('update', Array, '1526430') #5 /var/www/html/inc_tags.php(380): change_tagsAforbookA(Array, '1526430', false, true) #6 /var/www/html/update_oldbook.php(24): saveTags_updatebool_deletebool('Literature: Gre...', 270063098, '1526430', false, true) #7 /var/www/html/update.php in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 27

I am only changing the Collection field. I have tried adding the same book and it happens also with that.
It also happens with Quick Edit.

10Ritthichai
Sep 13, 2024, 2:45 am

I now find that I cannot add any new book without the Fatal Error - which is reported as "Error Connecting to server(110): Connection timed out".

11Koen1
Sep 13, 2024, 4:24 am

>1 Harry_Vincent: Same error here after trying to save the change status from 'to read' to 'currently reading'

12Kiely-Ramayya
Sep 13, 2024, 4:30 am

Trying to edit any of my books, either in the Power-Edit method or by clicking the pencil to open up a new page to edit book details, gives me this:

"Fatal error: Uncaught PhpAmqpLib\Exception\AMQPRuntimeException: Error Connecting to server(110): Connection timed out in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:27 Stack trace: #0 /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(21): PhpAmqpLib\Wire\IO\StreamIO->__construct('192.168.0.121', 5672, 3, 3, NULL) #1 /var/www/html/inc_rabbitmq.php(71): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('192.168.0.121', 5672, 'guest', 'guest') #2 /var/www/html/inc_rabbitmq.php(139): rabbitmq_get_connection() #3 /var/www/html/inc_elasticsearch.php(2806): rabbitmq_get_channel('elasticsearch') #4 /var/www/html/inc_tags.php(670): elasticsearch_queue_update('update', Array, '2937230') #5 /var/www/html/inc_tags.php(380): change_tagsAforbookA(Array, '2937230', false, true) #6 /var/www/html/update_oldbook.php(24): saveTags_updatebool_deletebool('Ireland, Histor...', 251417476, '2937230', false, true) #7 /var/www/html/update.php in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 27"

13TalvitarMovies
Sep 13, 2024, 5:05 am

Yep, same fatal error here. Tried to update a tv series entry (Gotham, season one; Edit Your Book page), the fatal entry first popped up when I tried to update the "From Where" information. I also tried to update tags in the "Your books" page, just to see if that worked, but no. Fatal error again.

14lasiepedimore
Sep 13, 2024, 6:01 am

I also get the same error if I try to change the title or tag of a book in the library:

Fatal error: Uncaught PhpAmqpLib\Exception\AMQPRuntimeException: Error Connecting to server(110): Connection timed out in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:27 Stack trace: #0 /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(21): PhpAmqpLib\Wire\IO\StreamIO->__construct('192.168.0.121', 5672, 3, 3, NULL) #1 /var/www/html/inc_rabbitmq.php(71): PhpAmqpLib\Connection\AMQPStreamConnection->__construct('192.168.0.121', 5672, 'guest', 'guest') #2 /var/www/html/inc_rabbitmq.php(139): rabbitmq_get_connection() #3 /var/www/html/inc_elasticsearch.php(2806): rabbitmq_get_channel('elasticsearch') #4 /var/www/html/inc_tags.php(670): elasticsearch_queue_update('update', Array, '2896265') #5 /var/www/html/inc_tags.php(380): change_tagsAforbookA(Array, '2896265', true, true) #6 /var/www/html/inc_tags.php(73): saveTags_updatebool_deletebool(' fantasy per ra...', '271533155', '2896265') #7 /var/www/html/ajax_modifyData.php(130): up in /var/www/html/php-amqplib/vendor/videlalvaro/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 27

But reloading the page I see that the change has been saved and the error message has disappeared.

15Kiely-Ramayya
Sep 13, 2024, 6:48 am

This is also happening in the LibraryThing Phone app.

16AbigailAdams26
Edited: Sep 13, 2024, 8:31 am

Sorry about this everyone. We had some trouble overnight with the servers. The developers are on it, and this should be resolved, or soon will be. We'll be reindexing catalogs for members affected. We think that will take around 8 hours.

Please see THIS bug report for more updates.