Strange AJAX interruption error on Composer
Permalink 1 user found helpful
I got strange AJAX error.
It could be a PC anti-virus program.
It could be concrete5 bug that it's not sending the proper character encoding on AJAX.
I'm hoping if anybody can help me on this issue.
Worst of all, this doesn't happen all the time.
It only happens on IE9 (my client) and IE11 (Windows 7 on my MacBook Pro BootCamp).
# Symptom
It only happens occasionally. NOT all the time.
- Create a page type with image attribute and topic attribute.
- Make them available to edit on composer
- Create a page and save without publishing it (leave it at draft)
- Leave
- Log back in
- Click the draft page
- Click "Page Settings" and automatically visit Composer page
- The first empty error screen shows up (see "20150914_Window1.PNG")
- Close the empty error message
- The Image attribute won't stop rotating icon and topic attribute returns an error. (see "20150914_Window2.PNG")
When I opened the developer tools,
The Console says
(See "20150914_Debug_detail1.PNG" and "20150914_Debug_detail2.PNG)
When I checked the Network tab of developer tools. It looks like the following requests got interrupted.
- /index.php/ccm/system/file/get_json
- /index.php/tools/required/tree/note/load
- /ccm/system/panels/details/page/composer/autosave?ccm_token=XXXXX
Please see "20150916_JSONError_Interrupted.PNG". I was only able to capture composer/autosave error.
# I've applied
Since I know this was the similar bug...
I applied the following Pull Request to the code.
https://github.com/concrete5/concrete5/issues/2395...
It seems that topic attribute problem may be fixed.
But I still get Image attribute and composer/autosave error once in a while.
# The causes?
I'm suspecting the following.
1. Network interruption? (The server problem)?
2. Browser problem (IE 9 and 11)
3. AntiVirus (firewall) may be blocking the request?
4. The bug of concrete5.7.4.2? so that I should upgrade it to 5.7.5.1?
I've checked the following
http://stackoverflow.com/questions/14527387/script7002-xmlhttpreque...
http://stackoverflow.com/questions/23145688/ie10-11-ajax-xhr-error-...
http://jonnyreeves.co.uk/2013/making-xhr-request-to-https-domains-w...
But the site isn't HTTPS. So the last resolution doesn't help me.
Is it because that AJAX call is not sending the proper UTF8 encoding?
-----
The following is more info about my site.
# My Windows 7 on Mac Book Pro BootCamp
- IE 11
- Avast Free AntiVirus
- I'm not using Avast Firewall but windows' default firewall
# concrete5 Site memo
- No HTTPS (SSL)
- Original Theme
- No responsive
- Originally started building on 5.7.3.1 with empty data
- Advanced permission is turned on.
## JS liberary that we're using
jQuery.Rollover 1.0.4
slick.js
heightLine JavaScript Library beta4 (http://www.webcreativepark.net)
# Hosting
I'm running on 5.7.4.2 on a Linux stack on CentOS 6.6, Apache 2.2.x PHP 5.3.3. The detail server environment is attached below.
The Web host had WAF, but whether I disabled or enabled, the symptoms hasn't changed
It could be a PC anti-virus program.
It could be concrete5 bug that it's not sending the proper character encoding on AJAX.
I'm hoping if anybody can help me on this issue.
Worst of all, this doesn't happen all the time.
It only happens on IE9 (my client) and IE11 (Windows 7 on my MacBook Pro BootCamp).
# Symptom
It only happens occasionally. NOT all the time.
- Create a page type with image attribute and topic attribute.
- Make them available to edit on composer
- Create a page and save without publishing it (leave it at draft)
- Leave
- Log back in
- Click the draft page
- Click "Page Settings" and automatically visit Composer page
- The first empty error screen shows up (see "20150914_Window1.PNG")
- Close the empty error message
- The Image attribute won't stop rotating icon and topic attribute returns an error. (see "20150914_Window2.PNG")
When I opened the developer tools,
The Console says
]SCRIPT7002: XMLHttpRequest: Network Error 0x2ef3, Could not complete the operation due to error 00002ef3
(See "20150914_Debug_detail1.PNG" and "20150914_Debug_detail2.PNG)
When I checked the Network tab of developer tools. It looks like the following requests got interrupted.
- /index.php/ccm/system/file/get_json
- /index.php/tools/required/tree/note/load
- /ccm/system/panels/details/page/composer/autosave?ccm_token=XXXXX
Please see "20150916_JSONError_Interrupted.PNG". I was only able to capture composer/autosave error.
# I've applied
Since I know this was the similar bug...
I applied the following Pull Request to the code.
https://github.com/concrete5/concrete5/issues/2395...
It seems that topic attribute problem may be fixed.
But I still get Image attribute and composer/autosave error once in a while.
# The causes?
I'm suspecting the following.
1. Network interruption? (The server problem)?
2. Browser problem (IE 9 and 11)
3. AntiVirus (firewall) may be blocking the request?
4. The bug of concrete5.7.4.2? so that I should upgrade it to 5.7.5.1?
I've checked the following
http://stackoverflow.com/questions/14527387/script7002-xmlhttpreque...
http://stackoverflow.com/questions/23145688/ie10-11-ajax-xhr-error-...
http://jonnyreeves.co.uk/2013/making-xhr-request-to-https-domains-w...
But the site isn't HTTPS. So the last resolution doesn't help me.
Is it because that AJAX call is not sending the proper UTF8 encoding?
-----
The following is more info about my site.
# My Windows 7 on Mac Book Pro BootCamp
- IE 11
- Avast Free AntiVirus
- I'm not using Avast Firewall but windows' default firewall
# concrete5 Site memo
- No HTTPS (SSL)
- Original Theme
- No responsive
- Originally started building on 5.7.3.1 with empty data
- Advanced permission is turned on.
## JS liberary that we're using
jQuery.Rollover 1.0.4
slick.js
heightLine JavaScript Library beta4 (http://www.webcreativepark.net)
# Hosting
I'm running on 5.7.4.2 on a Linux stack on CentOS 6.6, Apache 2.2.x PHP 5.3.3. The detail server environment is attached below.
The Web host had WAF, but whether I disabled or enabled, the symptoms hasn't changed
# concrete5 Version Core Version - 5.7.4.2 Version Installed - 5.7.4.2 Database Version - 20150504000000 # concrete5 Packages Block Designer (1.0.8), Block Finder (0.9.0), Core Translation Updater (0.1.1), Open Graph Tags Lite (2.0.2), Page List+ (1.1.4), Page Redirect (2.0), Page Selector Attribute (2.0). # concrete5 Overrides languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES/messages.po, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, single_pages/page_not_found.php, themes/bsd/p1_2_default_nosub.php, themes/bsd/p1_1_default_nosub.php, themes/bsd/p2_0_product.php, themes/bsd/p1_3_default_header.php, themes/bsd/p2_1_product_bread.php, themes/bsd/p2_2_product_detail.php, themes/bsd/p3_2_news_detail.php, themes/bsd/p4_2_column_detail.php, themes/bsd/page_theme.php, themes/bsd/view.php, themes/bsd/thumbnail.png, themes/bsd, views/panels/sitemap.php, views/panels, src/Block, src/Search/Pagination/View/ConcretePagerfantaDefaultView.php, src/Search/Pagination/View/Manager.php, src/Search/Pagination/View, src/Search/Pagination, src/Search # concrete5 Cache Settings Block Cache - On Overrides Cache - On Full Page Caching - On - If blocks on the particular page allow it. Full Page Cache Lifetime - Every 6 hours (default setting). # Server Software Apache
Viewing 15 lines of 53 lines. View entire code block.
Hi I'm also getting this error on a number of sites, with no luck finding a solution... is this a bug team? Have you had any success finding a solution? Thanks
@OnsiteDesigner
- What version of concrete5 are you running?
- What is your PC and browser?
- Also are you running any kind of Anti Virus software?
- If you're running anti-virus, can you turn it off and see if it could improve?
- What version of concrete5 are you running?
- What is your PC and browser?
- Also are you running any kind of Anti Virus software?
- If you're running anti-virus, can you turn it off and see if it could improve?
Hi Thanks for the reply...
- What version of concrete5 are you running?
5.7.5.2
- What is your PC and browser?
Mac OSX 10.10.5
Safari and Firefox same results
- Also are you running any kind of Anti Virus software?
AVG
- If you're running anti-virus, can you turn it off and see if it could improve?
I have and will check this, but due to the irregular nature of the error, i'm not sure if it will be the issue. Also it also happens when running locally via MAMP.
Thanks again, any other ideas?
- What version of concrete5 are you running?
5.7.5.2
- What is your PC and browser?
Mac OSX 10.10.5
Safari and Firefox same results
- Also are you running any kind of Anti Virus software?
AVG
- If you're running anti-virus, can you turn it off and see if it could improve?
I have and will check this, but due to the irregular nature of the error, i'm not sure if it will be the issue. Also it also happens when running locally via MAMP.
Thanks again, any other ideas?
Hmm does your developer tools get the same "interrupted error"?
To be honest, I have no idea what causes this problem.
I've only faced this issue against IE, not Safari or Firefox.
What kind of add-ons do you have on your site?
To be honest, I have no idea what causes this problem.
I've only faced this issue against IE, not Safari or Firefox.
What kind of add-ons do you have on your site?
I'm also start prepping to upgrade the site.