You are not logged in.
I came across an odd issue. I have one ticket that wont load, This ticket was working before and able to see info within, till some time last week. When anyone try to see the ticket, all or debug options just get the loading dots, i turned on debug , but debug does not show up, i checked the PHP log and sql log and nothing appears to be getting logged for the failure to load. Restarted the server. Tested in chrome, edge, and firefox and all the same thing. If i open ticket in twice i will get the ticket is locked by me and allows me to force unlock and reload but still wont load main thread. Other options like historical will load. since i am not seeing anything in the logs i dont know where else to look. running 10.0.3
Offline
Open console log (F12 on chrome) and check if there are errors inside..
Offline
I did that and the here is what i get from console shows, from what I read its just not getting a response. i redacted the server name in the beginning of url since it is seen as a link.
GET glpi/ajax/common.tabs.php?_target=/glpi/front/ticket.form.php&_itemtype=Ticket&_glpi_tab=Ticket$main&id=816& net::ERR_EMPTY_RESPONSE jquery.js:10109
Offline
I will dig more into this ERR_EMPTY_RESPONSE using console tools..
More log will help..
Offline
after some more testing, it appears to happen when we drag and drop a 2.1MB Png file into a ticket answer, get the orange loading bar and it says false but then it lets us click save it then it will appear to be thinking and then times out then you can not get into main ticket window. clicking choose attachment does not have issue as it wont try to uploade the file just says false still . I checked the _files directory and the picture does not get uploaded.
I have my php.ini file set to allow Post_max_filesize to 31M and upload_max_filesize to 29M. i checked my config inside glpi as well under setup general management and it is set to 29M
No errors show in php-errors.log or mysql
not sure if it is related as it is not time stamped. but i do see this error in apache2 - error.log "Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in /var/www/html/glpi/vendor/iamcal/lib_autolink/lib_autolink.php on line 48"
Last edited by bcjudy (2022-12-14 18:54:29)
Offline
Try increasing max execution time to 120 secs and wait .. (but I don't think it will solve..)
Offline
Did that and restarted apache to no avail, from what i could test it is related to responses by agent attaching pictures via drag and drop then getting the false status for the upload and allowing agent to Add for response reply. i searched all the logs i could find and do not see any messages for when the attachment gets saved or when trying to load the ticket after it breaks.
Offline
Well i could not figure this one out, why the drag and drop will generate the false status then let you click add when the choose file dialog wont let you click add. Must be a bug in the way it adds the attachment not blocking clicking "add" with drag and drop. I also could not find why the ticket would not load after being able to do that, seems like it must cause something in the database for certian views that would include the "broken attachment" not to load the whole window. no logs that i could find, nothing in debug or standard logs. I ended up just putting the tickets in trash and re-creating and telling my team not do use drag and drop or if they get "false" for the upload not to click add. Thanks for the help anyways.
Offline