Infos:
- Used Zammad version: 3.5.x
- Used Zammad installation source: (source, package, …) APT Package
- Operating system: Ubuntu 20.04
- Browser + version: Chrome/Edge 85+
Expected behavior:
- Loading Tickets/pages in the Web Interface normally should not produce a “500 - Internal Server Error” warning dialog box
Actual behavior:
- Whilst browsing tickets, Agents are experiencing the above Error being displayed on screen, Seemingly at random.
Steps to reproduce the behavior:
- Occurs at random. Sometimes several times over the course of a minute, other times once every 10 minutes or longer. Unable to point it to a single action/activity. Logs show all API requests can generate the error.
Apache 2.4.x as Reverse Proxy.
Percona XtraDB Clustered Mysql Database.
Apache Config:
<VirtualHost *:443>
HostnameLookups Off
UseCanonicalName Off
ServerSignature Off
SSLEngine on
ServerName ictsupport.indevin.com
DocumentRoot /opt/zammad/public
SSLCertificateFile /etc/ssl/private/zammadcctv.cer
SSLCertificateKeyFile /etc/ssl/private/zammadcctv.key
ErrorLog /var/log/apache2/zammad-error-ssl.log
CustomLog /var/log/apache2/zammad-access-ssl.log combined
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
SSLProxyCheckPeerExpire Off
<Proxy 127.0.0.1:3000>
Require local
</Proxy>
ProxyPass /assets !
ProxyPass /favicon.ico !
ProxyPass /robots.txt !
ProxyPass /ws ws://127.0.0.1:6042/ keepalive=On retry=1 acquire=3000 timeout=3000
ProxyPass / http://127.0.0.1:3000/ connectiontimeout=5 timeout=3000
ProxyPassReverse / http://127.0.0.1:3000/
ProxyRequests Off
ProxyPreserveHost On
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/opt/zammad/public">
Options FollowSymLinks
Require all granted
</Directory>
RequestHeader set X_FORWARDED_PROTO 'https'
RequestHeader set X-Forwarded-Ssl on
RequestHeader unset X-Forwarded-User
</VirtualHost>
Example of Apache Error Log:
172.16.15.19 - - [12/Oct/2020:12:51:05 +1300] "GET /api/v1/tickets/1243?all=true&_=1602449446961 HTTP/1.1" 500 925 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:12:51:18 +1300] "GET /api/v1/tickets/1323?all=true&_=1602449446983 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:13:21:09 +1300] "GET /api/v1/tickets/1260?all=true&_=1602449447011 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:13:21:20 +1300] "GET /api/v1/tickets/1330?all=true&_=1602449447026 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.15 - - [12/Oct/2020:13:24:54 +1300] "POST /api/v1/integration/smime HTTP/1.1" 500 378 "https://itsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
172.16.15.15 - - [12/Oct/2020:13:24:59 +1300] "GET /api/v1/ticket_customer?customer_id=157&_=1602462286287 HTTP/1.1" 500 378 "https://itsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
172.16.15.15 - - [12/Oct/2020:13:25:01 +1300] "GET /api/v1/tickets/1343?all=true&_=1602462286292 HTTP/1.1" 500 378 "https://itsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36"
172.16.15.19 - - [12/Oct/2020:14:21:13 +1300] "GET /api/v1/tickets/1311?all=true&_=1602449447086 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.10 - - [12/Oct/2020:14:47:01 +1300] "POST /api/v1/integration/smime HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
172.16.15.19 - - [12/Oct/2020:14:48:05 +1300] "GET /api/v1/tickets/1314?all=true&_=1602449447136 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:14:48:15 +1300] "GET /api/v1/tickets/1334?all=true&_=1602449447151 HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:14:48:22 +1300] "POST /api/v1/integration/smime HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.19 - - [12/Oct/2020:14:48:33 +1300] "POST /api/v1/integration/smime HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.68"
172.16.15.24 - - [12/Oct/2020:14:48:52 +1300] "POST /api/v1/integration/smime HTTP/1.1" 500 378 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
172.16.15.24 - - [12/Oct/2020:14:48:53 +1300] "GET /api/v1/ticket_attachment/1125/2445/3099?view=inline HTTP/1.1" 500 1506 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
172.16.15.24 - - [12/Oct/2020:15:17:49 +1300] "GET /api/v1/users/image/14b8505342b17d8f5bc577b66485cd9e HTTP/1.1" 500 959 "https://ictsupport.indevin.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
Zammad Production Log shows no errors.
This appears to be solely related to Apache, but I could be very wrong.
Can anyone see anything glaringly obvious or should I be looking somewhere else?
Let me know if any further information/logging is required.
Cheers!