Libki / libki-client

Libki Client
GNU General Public License v3.0
32 stars 17 forks source link

Client shuts down unexpected when printing to Print Manager #87

Closed JSahlberg closed 1 year ago

JSahlberg commented 1 year ago

Describe the bug The client shuts down sometimes when printing to the Print Manager. No error what so ever and it can work flawless for some time and then just suddenly quit.

To Reproduce Steps to reproduce the behavior:

  1. Print to a printer that uses the Print Manager

Desktop (please complete the following information):

kylemhall commented 1 year ago

So the Libki client shuts down? Is there anything in the log files?

JSahlberg commented 1 year ago

Here's the log file from the client: Log_2022_10_11__16_13_15_153.txt

kylemhall commented 1 year ago

Take a look at the last few lines of the file: 2022-10-11T17:06:18 [Debug] ERROR: Server Access Warning: "Error downloading https://libki.tidaholm.se:443/api/client/v1_0?node=Dator 2&location=Tidaholms stadsbibliotek&type&action=register_node&node_name=Dator 2&age_limit&version=2.2.16 - server replied: Backend fetch failed" 2022-10-11T17:06:18 [Debug] "ENTER LoginWindow::showServerAccessWarning(Error downloading https://libki.tidaholm.se:443/api/client/v1_0?node=Dator 2&location=Tidaholms stadsbibliotek&type&action=register_node&node_name=Dator 2&age_limit&version=2.2.16 - server replied: Backend fetch failed)" 2022-10-11T17:06:18 [Debug] LEAVE LoginWindow::showServerAccessWarning 2022-10-11T17:06:18 [Debug] Server Result: "<!DOCTYPE html>\n\n \n 503 Backend fetch failed\n \n \n

Error 503 Backend fetch failed

\n

Backend fetch failed

\n

Guru Meditation:

\n

XID: 5869442

\n
\n

Varnish cache server

\n \n\n"

It looks like you have a Varnish server in the mix, and something is going wrong.

JSahlberg commented 1 year ago

Ah I see… I’ll talk to ”my guy” that helped me with the Varnish installation, he will most certainly have some ideas about what is going on.

Thanks Kyle! =)

/ Johan

Från: Kyle M Hall @.> Skickat: den 12 oktober 2022 13:13 Till: Libki/libki-client @.> Kopia: Johan Sahlberg @.>; Author @.> Ämne: Re: [Libki/libki-client] Client shuts down unexpected when printing to Print Manager (Issue #87)

Take a look at the last few lines of the file: 2022-10-11T17:06:18 [Debug] ERROR: Server Access Warning: "Error downloading https://libki.tidaholm.se:443/api/client/v1_0?node=Datorhttps://url11.mailanyone.net/scanner?m=1oiZfZ-0003g9-3R&d=4%7Cmail%2F90%2F1665573000%2F1oiZfZ-0003g9-3R%7Cin11j%7C57e1b682%7C12580412%7C8294347%7C6346A13DCCBDF3B501973A105ABD5405&s=FqLPmz6pa25kPZFHKwxOD2sBljU&o=%2Fphti%3A%2Fltsa.bkoidhit4slm%2F%3A43.ee%2Faptlinico_%2Fve%3Fnd10rotaD%3D 2&location=Tidaholms stadsbibliotek&type&action=register_node&node_name=Dator 2&age_limit&version=2.2.16 - server replied: Backend fetch failed" 2022-10-11T17:06:18 [Debug] "ENTER LoginWindow::showServerAccessWarning(Error downloading https://libki.tidaholm.se:443/api/client/v1_0?node=Datorhttps://url11.mailanyone.net/scanner?m=1oiZfZ-0003g9-3R&d=4%7Cmail%2F90%2F1665573000%2F1oiZfZ-0003g9-3R%7Cin11j%7C57e1b682%7C12580412%7C8294347%7C6346A13DCCBDF3B501973A105ABD5405&s=FqLPmz6pa25kPZFHKwxOD2sBljU&o=%2Fphti%3A%2Fltsa.bkoidhit4slm%2F%3A43.ee%2Faptlinico_%2Fve%3Fnd10rotaD%3D 2&location=Tidaholms stadsbibliotek&type&action=register_node&node_name=Dator 2&age_limit&version=2.2.16 - server replied: Backend fetch failed)" 2022-10-11T17:06:18 [Debug] LEAVE LoginWindow::showServerAccessWarning 2022-10-11T17:06:18 [Debug] Server Result: "\n\n \n 503 Backend fetch failed\n \n \n

Error 503 Backend fetch failed \n

Backend fetch failed \n Guru Meditation: \n

XID: 5869442 \n


\n

Varnish cache server \n \n\n"

It looks like you have a Varnish server in the mix, and something is going wrong.

— Reply to this email directly, view it on GitHubhttps://url11.mailanyone.net/scanner?m=1oiZfZ-0003g9-3R&d=4%7Cmail%2F90%2F1665573000%2F1oiZfZ-0003g9-3R%7Cin11j%7C57e1b682%7C12580412%7C8294347%7C6346A13DCCBDF3B501973A105ABD5405&s=e4JGD3y5VdG-IwfK5fCDS0mfztE&o=%2Fphti%3A%2FgtsmbthLco%2Fu.biibilikk%2F%2Fi-csntile%23ssus87ie%2Fecsutmmneo17-16994255, or unsubscribehttps://url11.mailanyone.net/scanner?m=1oiZfZ-0003g9-3R&d=4%7Cmail%2F90%2F1665573000%2F1oiZfZ-0003g9-3R%7Cin11j%7C57e1b682%7C12580412%7C8294347%7C6346A13DCCBDF3B501973A105ABD5405&s=BPv_6KEWjDxamFCApXROdLspwTw&o=%2Fphti%3A%2Fgtsmbthnco%2Fu.tfotocaiiibunscsus%2Fnteri%2Fauhb-MYAKHRLQUYETVET2E76DKW7TA2MFLCAFNCAM6ANSJQAAIQQTA3. You are receiving this because you authored the thread.Message ID: @.**@.>>


Tidaholms kommuns IT-avdelning informerar: Detta e-postmeddelande har genomsökts efter virus och spam. Om du tycker att meddelandet borde stoppats av våra filter, klicka på följande länk för att rapportera detta Rapportera spamhttps://portal.mailanyone.net/index.html#/outer/reportspam?token=dXNlcj1qb2hhbi5zYWhsYmVyZ0B0aWRhaG9sbS5zZTt0cz0xNjY1NTczMTgxO3V1aWQ9NjM0NkExM0RDQ0JERjNCNTAxOTczQTEwNUFCRDU0MDU7dG9rZW49ZjcxMTU2Y2MxMzNlNDM3YWM0Nzk2ODJlZjFjZWZjYzI4ZDU4YzBiNTs%3D

kylemhall commented 1 year ago

@JSahlberg glad to help!