This object is in archive! 
Often 500 server error on New 3.1
Quite ofter (let's say every fifth request), new UseResponse 3.1 ends on timeout with error message on attached screenshot (probably screen from my webhosting provider?).
Most annoying it's when you write some post and press "Send". Text disappear and change for a "loading", so it's now possible to "copy" text for a later "paste" in second attempt.
Is there possibility to enable some "debug" mode to see what happens? Thanks
Files:
Screen Shot 201...
Jirka,
What does you apache error log says?
The debug mode could be switched on in configs/config.php
Just make show_errors to true, but better check apache error log to see what the exact error is.
Jirka,
What does you apache error log says?
The debug mode could be switched on in configs/config.php
Just make show_errors to true, but better check apache error log to see what the exact error is.
Unfortunately I do not have direct access to apache on my webhosting. I'll give a try your "show_errors" parameter and if there will be nothing useful, I'll try to contact my Webhosting provider for extra help with obtaining error logs. Thanks
Unfortunately I do not have direct access to apache on my webhosting. I'll give a try your "show_errors" parameter and if there will be nothing useful, I'll try to contact my Webhosting provider for extra help with obtaining error logs. Thanks
You better contact hosting provider now, as 500 error caused by the server is initially because hosting can't perform requested actions. It can be either db queue with requests, or too many requests at one time. Let us know what will they provide to you, when you get answer from them
You better contact hosting provider now, as 500 error caused by the server is initially because hosting can't perform requested actions. It can be either db queue with requests, or too many requests at one time. Let us know what will they provide to you, when you get answer from them
So after communication with my web provider, I get these data (I'll translate it from Czech to English for you):
Good day, we store only access logs for counting of statistics. So it is only possible to find out with which status, task ends. So here is list of results for your domain help.locusmap.eu which ends with code 500:
/topic/update_locus_to_new_version_of_vector_map_library_mapsforge_0_3_0
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.007 sec
GET /responses/filter_geocaches_by_more_attributes HTTP/1.1 - HTTP/1.1
500 Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080)
60.062 sec
/topic/some-questions-about-track-recording HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 61.065
sec
/search/Tracks/page/13 HTTP/1.1 - HTTP/1.1 500 Internal Server Error
(help.locusmap.eu/- -> 127.0.0.1:5080) 60.062 sec
jack pound: 66.249.78.88 GET
/topic/shading-maps-is-too-slow-in-small-zooms HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.061
sec
/responses/gpx-import-incorrect-time-zone/rss HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.061
sec
/search/store/page/10 HTTP/1.1 - HTTP/1.1 500 Internal Server Error
(help.locusmap.eu/- -> 127.0.0.1:5080) 60.061 sec
jack pound: 5.255.253.113 GET /search/Tracks/page/30 HTTP/1.1 - HTTP/1.1
500 Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080)
60.062 sec
/topic/automatic_poi_inclusion_as_waypoints_into_around_active_followed_track
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.042 sec
GET /topic/greater-res-satellite HTTP/1.1 - HTTP/1.1 500 Internal
Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.062 sec
19 00:11:17 jack pound: 93.100.100.95 GET
/topic/how-can-i-navigate-with-this-software-on-foreign-land HTTP/1.1 -
HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.062 sec
GET
/topics/all/status/all/category/all/sort/new_updated/page/3?object_type=all&status=all&category_slug=all&order=new_updated&archived=0&page=3
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.062 sec
-----
I have also found a possibility to enable PHP logging thanks to ".user.ini" fileso I've enabled
log_errors = 1
error_reporting = E_ALL
And here is the result:
Whole file is filled with only this!! error message, nothing more.
If there will be something more i can do, feel free to write me.[
So after communication with my web provider, I get these data (I'll translate it from Czech to English for you):
Good day, we store only access logs for counting of statistics. So it is only possible to find out with which status, task ends. So here is list of results for your domain help.locusmap.eu which ends with code 500:
/topic/update_locus_to_new_version_of_vector_map_library_mapsforge_0_3_0
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.007 sec
GET /responses/filter_geocaches_by_more_attributes HTTP/1.1 - HTTP/1.1
500 Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080)
60.062 sec
/topic/some-questions-about-track-recording HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 61.065
sec
/search/Tracks/page/13 HTTP/1.1 - HTTP/1.1 500 Internal Server Error
(help.locusmap.eu/- -> 127.0.0.1:5080) 60.062 sec
jack pound: 66.249.78.88 GET
/topic/shading-maps-is-too-slow-in-small-zooms HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.061
sec
/responses/gpx-import-incorrect-time-zone/rss HTTP/1.1 - HTTP/1.1 500
Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.061
sec
/search/store/page/10 HTTP/1.1 - HTTP/1.1 500 Internal Server Error
(help.locusmap.eu/- -> 127.0.0.1:5080) 60.061 sec
jack pound: 5.255.253.113 GET /search/Tracks/page/30 HTTP/1.1 - HTTP/1.1
500 Internal Server Error (help.locusmap.eu/- -> 127.0.0.1:5080)
60.062 sec
/topic/automatic_poi_inclusion_as_waypoints_into_around_active_followed_track
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.042 sec
GET /topic/greater-res-satellite HTTP/1.1 - HTTP/1.1 500 Internal
Server Error (help.locusmap.eu/- -> 127.0.0.1:5080) 60.062 sec
19 00:11:17 jack pound: 93.100.100.95 GET
/topic/how-can-i-navigate-with-this-software-on-foreign-land HTTP/1.1 -
HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.062 sec
GET
/topics/all/status/all/category/all/sort/new_updated/page/3?object_type=all&status=all&category_slug=all&order=new_updated&archived=0&page=3
HTTP/1.1 - HTTP/1.1 500 Internal Server Error (help.locusmap.eu/- ->
127.0.0.1:5080) 60.062 sec
-----
I have also found a possibility to enable PHP logging thanks to ".user.ini" fileso I've enabled
log_errors = 1
error_reporting = E_ALL
And here is the result:
Whole file is filled with only this!! error message, nothing more.
If there will be something more i can do, feel free to write me.[
I have faced the same problem and got the same error message in Apache server error log. It is blocking migrating to Useresponse 3.1. Could you please let us know solution of this issue?
Thanks
I have faced the same problem and got the same error message in Apache server error log. It is blocking migrating to Useresponse 3.1. Could you please let us know solution of this issue?
Thanks
There is log from apache error log when mentioned error occurs
There is log from apache error log when mentioned error occurs
We are finally able to dig deeper to settings of MySQL and PHP and seems that problems are caused by some queries to DB. I spend on it almost half a day till I discovered how to set and get some better feedback for you, anyway seems I have something to start from:
Check please screenshots, there is exactly clear what happen - query takes too long and all other queries are waiting due to DB lock.
I've enabled logging for a queries longer then 15 second and I've attached it to this post. There is clearly visible request that was performed when I refreshed page.
We are finally able to dig deeper to settings of MySQL and PHP and seems that problems are caused by some queries to DB. I spend on it almost half a day till I discovered how to set and get some better feedback for you, anyway seems I have something to start from:
Check please screenshots, there is exactly clear what happen - query takes too long and all other queries are waiting due to DB lock.
I've enabled logging for a queries longer then 15 second and I've attached it to this post. There is clearly visible request that was performed when I refreshed page.
Fixed in 3.1.1
Fixed in 3.1.1
I wants to confirm, that since update to 3.1.1 during weekend, our server runs smooth and without any problems. Good work, thanks, topic solved.
I wants to confirm, that since update to 3.1.1 during weekend, our server runs smooth and without any problems. Good work, thanks, topic solved.
Replies have been locked on this page!