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

e-mail not send without error and keeps blocking the queue #2448

Closed
iReserveApps opened this issue Dec 7, 2022 · 6 comments
Closed

e-mail not send without error and keeps blocking the queue #2448

iReserveApps opened this issue Dec 7, 2022 · 6 comments

Comments

@iReserveApps
Copy link

image

Help needed!
Analysing this for days. Some of the email replies get stuck.
The queue is then retrying and retrying. We checked all the logs and even tried to debug the job.
We cannot find any information why the specific email is not handled.

How can we capture this or where to store the error. Apparently something fails along the way of trying to send.

@freescout-helpdesk
Copy link
Owner

Check Manage > Logs > App Logs.
Click "View Details" button next to each failed job.

@iReserveApps
Copy link
Author

That is one big step further, thanks for swift reply.

[root@ 1]# pwd /var/www/vhosts/<domain>/httpdocs/storage/app/attachment/5/7/1 [root@ 1]# ls -l "/var/www/vhosts/<domain>/httpdocs/storage/app/attachment/5/7/1/Scherm-afbeelding-2022-12-07-om-11.57.43.png" ls: kan geen toegang krijgen tot /var/www/vhosts/<domain>/httpdocs/storage/app/attachment/5/7/1/Scherm-afbeelding-2022-12-07-om-11.57.43.png: Bestand of map bestaat niet [root@ 1]# ls -l totaal 368 -rw-r--r-- 1 <user> psacln 376472 7 dec 15:02 Schermafbeelding-2022-12-07-om-11.57.43.png

It seems there is a dash inside the screenshot the user has attached.

In the db the attachment can be found
image

In the jobs table, the job can be found, but not the attachment (probably WAI, but just to be complete).
image

Its clear that the file the email sending job is trying to find is not correct, but how can such a thing happen?
And can we fix this somwhere in the data?

@freescout-helpdesk
Copy link
Owner

@iReserveApps
Copy link
Author

Before submitting this ticket we have checked the complete troubleshooting, including the permissions issue.
We have made sure the complete storage folder has the right permissions.

We have now also checked with user.
Trying to reproduce.
On MacOs: make screenshot.
Upload in Freescout. IF there is a space, the attachment is uploaded by replacing the space with a dash ("-").
Two tests: one with space and one without. In both cases, the folder is created, the image is placed. Spaces are converted.

In the case of the orignal post: the file IS created (so permission issues are not the case?) but with the wrong name.

@iReserveApps
Copy link
Author

In addition to last
image

If we check the app log we see a clear difference between the first and second hyphon/dash.
The character (which is replaced) is <0xad>

@freescout-helpdesk
Copy link
Owner

The problem was in the soft hyphen in the attached file name.

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