You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading a file, the /action/convertFile/ API endpoint returns a 500 Internal Server Error. Additionally, accessing the API documentation page at https://matecat.devgaoy.cn/api/docs returns a 503 Service Unavailable error.
Environment
Ubuntu 22
Node.js 20
PHP 7.4
MySQL 5.7
Steps to Reproduce
Access the MateCat interface
Attempt to upload a file
Observe the 500 error returned from /action/convertFile/
Expected Behavior
The file should be successfully uploaded and converted without errors.
Actual Behavior
The API returns a 500 error with the following response:
{
"errors": [
{
"code": -1000,
"message": "Oops we got an Error. Contact <a href='mailto:the owner of this MateCat instance.'>the owner of this MateCat instance.<\/a>"
}
],
"data": []
}
## Additional Information### Chrome Console Output
[Wed Jul 31 16:16:35.549766 2024] [ssl:warn] [pid 900:tid 900] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:16:35.552779 2024] [ssl:warn] [pid 900:tid 900] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:16:35.882733 2024] [ssl:warn] [pid 1218:tid 1218] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:16:35.882761 2024] [ssl:warn] [pid 1218:tid 1218] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:16:35.885256 2024] [ssl:warn] [pid 1218:tid 1218] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.192219 2024] [ssl:warn] [pid 5903:tid 5903] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.192277 2024] [ssl:warn] [pid 5903:tid 5903] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:24:15.194485 2024] [ssl:warn] [pid 5903:tid 5903] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.219256 2024] [ssl:warn] [pid 5904:tid 5904] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.219401 2024] [ssl:warn] [pid 5904:tid 5904] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:24:15.221636 2024] [ssl:warn] [pid 5904:tid 5904] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:25:38.987839 2024] [php7:notice] [pid 6166:tid 6166] [client 152.101.7.81:52382] PHP Notice: Undefined offset: 0 in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:25:38.987881 2024] [php7:warn] [pid 6166:tid 6166] [client 152.101.7.81:52382] PHP Warning: fopen(): Filename cannot be empty in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:10.162808 2024] [php7:notice] [pid 6142:tid 6142] [client 152.101.7.81:34924] PHP Notice: Undefined offset: 0 in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:10.162853 2024] [php7:warn] [pid 6142:tid 6142] [client 152.101.7.81:34924] PHP Warning: fopen(): Filename cannot be empty in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:55.352786 2024] [ssl:warn] [pid 26191:tid 26191] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.352858 2024] [ssl:warn] [pid 26191:tid 26191] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:52:55.355099 2024] [ssl:warn] [pid 26191:tid 26191] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.381062 2024] [ssl:warn] [pid 26192:tid 26192] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.381097 2024] [ssl:warn] [pid 26192:tid 26192] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:52:55.383422 2024] [ssl:warn] [pid 26192:tid 26192] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
Description
When uploading a file, the
/action/convertFile/
API endpoint returns a 500 Internal Server Error. Additionally, accessing the API documentation page at https://matecat.devgaoy.cn/api/docs returns a 503 Service Unavailable error.Environment
Steps to Reproduce
/action/convertFile/
Expected Behavior
The file should be successfully uploaded and converted without errors.
Actual Behavior
The API returns a 500 error with the following response:
file.error: null
upload_main.js:250 FIRE fileuploadstart
upload_main.js:239 FIRE fileuploadsend
upload_main.js:240
upload_main.js:247 16548
upload_main.js:335 FIRE fileuploadcompleted
upload_main.js:411 ACTION: bind fileuploadcompleted
upload_main.js:515 Enforce conversion: true
convertFileRequest.js:33 POST https://matecat.devgaoy.cn/action/convertFile/ 500 (Internal Server Error)
upload_main.js:745 conversion error
[Wed Jul 31 16:16:35.549766 2024] [ssl:warn] [pid 900:tid 900] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:16:35.552779 2024] [ssl:warn] [pid 900:tid 900] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:16:35.882733 2024] [ssl:warn] [pid 1218:tid 1218] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:16:35.882761 2024] [ssl:warn] [pid 1218:tid 1218] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:16:35.885256 2024] [ssl:warn] [pid 1218:tid 1218] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.192219 2024] [ssl:warn] [pid 5903:tid 5903] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.192277 2024] [ssl:warn] [pid 5903:tid 5903] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:24:15.194485 2024] [ssl:warn] [pid 5903:tid 5903] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.219256 2024] [ssl:warn] [pid 5904:tid 5904] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:24:15.219401 2024] [ssl:warn] [pid 5904:tid 5904] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:24:15.221636 2024] [ssl:warn] [pid 5904:tid 5904] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:25:38.987839 2024] [php7:notice] [pid 6166:tid 6166] [client 152.101.7.81:52382] PHP Notice: Undefined offset: 0 in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:25:38.987881 2024] [php7:warn] [pid 6166:tid 6166] [client 152.101.7.81:52382] PHP Warning: fopen(): Filename cannot be empty in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:10.162808 2024] [php7:notice] [pid 6142:tid 6142] [client 152.101.7.81:34924] PHP Notice: Undefined offset: 0 in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:10.162853 2024] [php7:warn] [pid 6142:tid 6142] [client 152.101.7.81:34924] PHP Warning: fopen(): Filename cannot be empty in /home/matecat/matecat/lib/Utils/fileupload/upload.class.php on line 564, referer: https://matecat.devgaoy.cn/
[Wed Jul 31 16:52:55.352786 2024] [ssl:warn] [pid 26191:tid 26191] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.352858 2024] [ssl:warn] [pid 26191:tid 26191] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:52:55.355099 2024] [ssl:warn] [pid 26191:tid 26191] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.381062 2024] [ssl:warn] [pid 26192:tid 26192] AH01906: 0.ajax.matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Wed Jul 31 16:52:55.381097 2024] [ssl:warn] [pid 26192:tid 26192] AH01909: 0.ajax.matecat.devgaoy.cn:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jul 31 16:52:55.383422 2024] [ssl:warn] [pid 26192:tid 26192] AH01906: matecat.devgaoy.cn:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
The text was updated successfully, but these errors were encountered: