freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
2.92k stars 484 forks source link

Emails are shown empty due to problems with mailbox signatures #4219

Closed CoE2013 closed 1 day ago

CoE2013 commented 2 weeks ago

Hi all,

since about one week - out of a sudden - tickets can no longer be shown in GUI. Body is in DB, Gui in general works, thus we can navigate, update modules, etc.... but whenever opening a ticket, only title is shown - looks like rendering of ticket simply gets interrupted.

Error occurred about 1 week ago and persists even after updating system and all modules etc. Mailserver is on Microsoft, thus O365 Inbox.

Any ideas? We can not reply to tickets for about 1 week now.

In other mailclients, Mails are ok (and fully shown)

Screenshot 2024-09-09 082715

CoE2013 commented 2 weeks ago

Looks like this then, e.g.:

Screenshot 2024-09-09 083800

freescout-help commented 2 weeks ago

Can you share the body of one of such emails or send it to support@freescout.net

CoE2013 commented 2 weeks ago

Sure, is sent out. By teh way: ALL ticktes are affected, thus not only new tickety, but also if I want to open old / existing tickets.

We already checked the webserver, but can't find any information pointing us to the problem. The only thing being logged in the apache logs is sth like

2024-09-09 09:41:43 Error 109.250.38.186 419 POST /polycast/receive HTTP/1.0     884 SSL/TLS-Zugriff für Apache
freescout-help commented 2 weeks ago

We've checked the body of the received thread. It's being successfully shown in the FreeScout interface.

You may need someone who can investigate the issue on your server. Also make sure to check logs in Manage > Logs > App Logs.

CoE2013 commented 1 week ago

Ok, thanks a lot for letting us know. We will debug the app.

Logs are empty => nothing that indicates an error, that's why we got in touch. We will let you know once we found the issue - must be sth on our server if you can open the ticket.

CoE2013 commented 1 week ago

Quick Update:

When commenting out

{{-- @include('conversations/editor_bottom_toolbar')--}}

in view.blade.php it seems to work again, so we think the issue can be fopund there, but have not drileld down yet.

CoE2013 commented 1 week ago

SOLVED: turned out that it was the signature. We do not know what exactly, but seems like there must have been some error in the signature causing the threads to stop rendering.

We have removed the signature for now and are comparing with backups a couple of days a ago.

mitchplze commented 1 week ago

We are also seeing the same issue. No changes to signatures have been made recently.

Message shows up as normal in the source mailbox, but does not render in Freescout (1.8.151). This seems to be at random.

image

There is absolutely nothing remarkable about the msg:

image
CoE2013 commented 1 week ago

Foy us, checking view.blade did the trick, thus we :

if the GUI works in general, only tickets are not rendering, then probably some contents of the ticket contain invalid HTML / Code causing it to abort...

freescout-help commented 1 week ago

@CoE2013 @mitchplze Share HTML-code of your mailbox's signature here or send it to support@freescout.net

freescout-help commented 1 week ago

Now FreeScout strips <script>, <form> and <iframe> tags (and their content) from HTML-code of your mailbox signatures. So make sure to revise and adjust the code of your signatures (or clear them and enter from scratch if you can't fix them).

CoE2013 commented 1 week ago

Thanks a lot.

Weh ave already cleared the complete html of the signature. Not sure what happens, since we have adjusted the signature a couple of days ago – maybe script tags or sth got accidentally inserted …

Viele Grüße

Ihr Team von Center of Efficiency

Hinweis:

Im Zeitraum vom 17.09.2024 - 25.09.2024 sind wir nur eingeschränkt erreichbar. Anfragen werden nur per Email beantwortet. Bei der Bearbeitung von Anfragen und Bestellungen kann es zu Verzögerungen kommen.

Webentwicklung | IT-Services

https://www.centerofefficiency.com/media/logo/mail_logo.png

Center of Efficiency

https://www.centerofefficiency.com/media/logo/icon_phone.png

+49 (0) 7721 402050

https://www.centerofefficiency.com/media/logo/icon_mail.png

@.> @.

https://www.centerofefficiency.com/media/logo/icon_link.png

https://www.centerofefficiency.com/ www.centerofefficiency.com

https://www.centerofefficiency.com/media/logo/icon_map-pin.png

Wilhelm-Binder-Str. 15 | 78048 Villingen-Schwenningen | Deutschland

Gesellschft mit beschränkter Haftung mit Sitz in Villingen-Schwenningen || Amtsgericht Freiburg || HRB 728018 Geschäftsführer: Dipl.-Wi.-Ing. Bernhard Seitler USt-IdNr.: DE291682477

From: FreeScout @.> Sent: Thursday, September 12, 2024 9:03 AM To: freescout-help-desk/freescout @.> Cc: Center of Efficiency @.>; Mention @.> Subject: Re: [freescout-help-desk/freescout] Mails fetched, but GUI can not show body. (Issue #4219)

Now FreeScout strips Githubissues.

  • Githubissues is a development platform for aggregating issues.