News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

ERR_SPDY_PROTOCOL_ERROR in Cart 3.0.18

Started by iscomputerman, January 12, 2017, 13:16:33 PM

Previous topic - Next topic

iscomputerman

VM 3.0.18
JM 3.6.5
PHP 5.6

Upgraded from a stable 3.0.17 and afterwards attempting to use the cart or checkout will throw an error screen and 'ERR_SPDY_PROTOCOL_ERROR'.  Most times you can "view" the cart, but trying to checkout throws the error. 

JM SEO friendly URL's are being used and when visiting the cart, the URL is NOT an SEO friendly one minute, but when trying to move around it changes to an SEO friendly URL and then that error screen also appears.  I've turned SEO URL's off, no change.  SEO DISABLED has been "unchecked" by default but I've also checked it and tried to checkout.  I can get everything filled out, but when you try and "confirm" your order and sometimes even hitting "check out now" the error screen comes up.  I can't attach a screenshot because the Forum upload folder is FULL.  ugh.  But the screen says:

The webpage at https://www.sausagencheese.com/component/virtuemart/view/cart.html might be temporarily down or it may have moved permanently to a new web address.
ERR_SPDY_PROTOCOL_ERROR

Notice the SEO Friendly URL.  Regardless if SEO friendly is enabled or disabled. that's what appears.

Please help - store basically non functional at this point after upgrade.

jenkinhill

"ERR_SPDY_PROTOCOL_ERROR" Where is this coming from? Not present in default VM or Joomla 3.6.5.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

iscomputerman

#3
VM 3.0.18 is causing this to happen, it didn't happen in 3.0.17 and I've had the same version browser AND IE goes to 500 Internal Server Error.  So this IS a VM 3.0.18 issue.  Joomla 3.6.5 was already in place, no same time upgrade there.  No other modules or plugins were updated, except VM one's that came with the 3.0.18 update.  It was core VM, the tcpdf and the VM aio.

So while I appreciate the "Chrome" fix" topic, that's not the problem here.

UPDATE: I can say that after you fill everything in the cart out, and press the CONFIRM button to complete the transaction, that's when it happens most, HOWEVER, we are now finding the transaction is going through if you make it that far, just instead of going back to cart and being confirmed your purchase happened, you get either of those errors.

Any other thoughts?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

iscomputerman

Milbo,

Thanks for the update.  Installed fine.  had to go into config and check off "use legacy layouts" as I lost formatting beyond home page.   "site is offline at moment while I tested/testing".

Added product in my cart.  Cart URL was
https://www.sausagencheese.com/index.php?option=com_virtuemart&view=cart&lang=en

Entered a coupon code and hit "save" button and got an SEF friendly URL for the cart 
https://www.sausagencheese.com/index.php?option=com_virtuemart&view=cart&lang=en

That went to the original error this thread is about.   This seems related to switching back/forth from non SEF URL's to SEF URL's, but then you go turn off all the SEF settings and still get an SEF friendly URL to the cart for the error screen.


iscomputerman

New Additional Note.

I'm seeing SEF Friendly URL's if you use MENU navigation, but if you click a button say "ADD TO CART" etc, the URL immediately goes NON SEF but displays the next page.    could this be a trouble spot, again going back/forth between SEF URL's?

jjk

Quote from: iscomputerman on January 13, 2017, 20:51:17 PM
New Additional Note.

I'm seeing SEF Friendly URL's if you use MENU navigation, but if you click a button say "ADD TO CART" etc, the URL immediately goes NON SEF but displays the next page.    could this be a trouble spot, again going back/forth between SEF URL's?

That's normal. If you click the 'Add to cart' button, you see a non-sef url, because the button is not a menu item.
I noticed two issues on your site:

1. There is a syntax error related to Google analytics:
SyntaxError: function statement requires a name
https://www.google-analytics.com/analytics.js
Line 1

2. You probably have enabled 'Adds Suffix to URL' in Joomla Global Configuration and at the same time enabled 'Use product link suffix' (-detail) in VirtueMart Configuration > SEF settings. The '.html' is not required by modern browsers to determine the page type.
I would recommend to disable the Joomla 'Adds Suffix to URL'.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

iscomputerman

I've disabled the items  you mention.  The link to analytics you provided is on google, not my site.    If you press any button in the CART, the page blows up.  it seems to be the method to which the buttons are processing is not working.

jjk

Quote from: iscomputerman on January 18, 2017, 21:09:57 PM
The link to analytics you provided is on google, not my site.  If you press any button in the CART, the page blows up.

Sorry, my previous reply wasn't clear.
1. If you use a Joomla menu item to open the cart view, it will be SEF, like ...sausagencheese.com/products/cart. Your template provides such a link, too.
The VirtueMart 'Show Cart' link which pops up after adding a product to the cart generates a non-SEF link like ...sausagencheese.com/index.php?option=com_virtuemart&view=cart&lang=en.

There is no need to have an SEF url for the cart unless you want to have the search engines like Google to index carts with your customer's data filled in. I doubt that you want that. Instead you should configure any cart menu link as 'no index, no follow'.

2. The link to Google analytics I posted above was part of the error message I saw in my 'Firebug' browser plugin. (Just forgot to disable the link). However, I just noticed that I see this error because I've blocked Google Analytics and other trackers using 'Ghostery'. The only analytics tool I allow is Piwik, because that doesn't tell third parties everything about my customers and my business. Instead the collected data are stored in the site owner's own database.

3 The 'ERR_SPDY_PROTOCOL_ERROR' is an error message created by Google's Chrome browser. Search for the error message in Google to find out how to fix it. Maybe you simply have to update to the latest version.

4 What do you mean with 'If you press any button in the CART, the page blows up'. Screenshot? In my Firefox browser your cart looks normal at present when I press a button.

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

iscomputerman

I tried recreating the problem in FireFox.  Instead of the Google Chrome error, when I click a SAVE button in the cart, I get an SSL error connection failed, like the SAVE button in the cart is breaking or interrupting the ssl connection.

If I refresh the page, I get the secure cart back.

jjk

Quote from: iscomputerman on January 24, 2017, 21:15:02 PM
I tried recreating the problem in FireFox.  Instead of the Google Chrome error, when I click a SAVE button in the cart, I get an SSL error connection failed...

Just had a look at your cart again. First click on a 'Save' button triggered an "SSL error connection failed...". Next attempt triggered a page of which I made a screenshot and attached to this forum post.
I suppose you have a timeout problem with this service.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

and I supposte to use this version http://dev.virtuemart.net/attachments/download/1046/com_virtuemart.3.0.19_extract_first.zip

btw, "continue to cart" link can be with SEF. I think I added an hidden config for.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

christine555

Try clearing cache of the browser:

Restart Google Chrome.
Locate the more icon in the browser toolbar (identifiable as three vertical spots) and click on it.
Then, find more tools and click on the Clear browsing data option. This action will prompt more options to display.
From all the different options displaying in the clear browsing data option, you will need to check two: the one for cookies and other sites and plug-in data, and the one for cached images and files.

see complete solution: http://errorcodespro.com/how-to-fix-chromes-err_spdy_protocol_error/

Josan

err_spdy_protocol_error is a common error that one get while surfing websites on chrome browser. In this post, we will discuss the reason behind error and their solutions.Refer the artical step by step :http://www.onlyerrors.com/err_spdy_protocol_error.html