TomB01 Posted January 22, 2018 Share Posted January 22, 2018 (edited) I've been getting the infamous "This module supports only xpci version 1.0001 of the UPS Rates Interface." error message lately. I'm running 2.3.4 and had UPSXML 1.4.0 installed, so updated to 1.6.1. That didn't fix it. After some searching on the Internet, all I found were some very dated references stating that the UPS servers had gone offline. Their problems seemed to get fixed on their own, apparently when the UPS servers went back up. Mine seemed to be lasting longer than any sort of server issue, so I created the logging file as specified in UPSXML. This is what I get as a response from UPS in the log file: Quote UPS RESPONSE: <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://www.ups.com/ups.app/xml/Rate" on this server.<P> Reference #18.b47f3517.1516636115.64d40f4 </BODY> </HTML> So, I filed a trouble request at UPS. This is their response: Quote Response By Email ( Corey N. ) ( 01/22/2018 11:25 AM ) U.S. Eastern Standard Time (US EST) Dear Thomas API URLs starting with www.ups.com/ups.app/xml/ or https://www.ups.com/webservices/ are not currently supported. We are unable to guarantee how long these legacy URLs will remain valid and active. Please update your URLs as shown in the Developer Guides posted on ups.com. The new URLs begin with https://www.onlinetools.com. In order to be in compliance with requirements set forth by the global Payment Card Industry, UPS has upgraded the communication security protocols for all web-based applications, including UPS Developer Kit, UPS.com and CampusShip as of January 16, 2018. Please contact your company's IT department or development team to ensure that any security protocols currently used meet the TLS 1.2 requirement. If Java is enabled, it must be version 1.8 or higher to use TLS 1.2 automatically by default. If using .NET, it must be version 4.6 or higher to use TLS 1.2 automatically by default. Please note that our integration environment (wwwcie.ups.com) will only accept TLS 1.2 requests. If you are using a shopping cart developed by a UPS Ready or third-party provider, please contact them directly for assistance updating your implementation to TLS 1.1 and TLS 1.2 compatible. If you are a UPS Ready Provider or independent developer with the ability to directly modify their Online Tools implementation, you will need to ensure that their implementation is TLS 1.1 and/or TLS 1.2 compatible. How this is done will vary greatly from one implementation to the next. In some cases, it may require a change within the operating system of the server from which their implementation is hosted. In others, you may need to update the implementing coding. Corey N. UPS Technical Support Is UPSXML dead? Is there another module I can use? Luckily, I have USPS and FedEx working just fine, but I had the option for UPS if a customer chose to use it - but not anymore. Help? Edited January 22, 2018 by TomB01 Quote Link to comment Share on other sites More sharing options...
ruden Posted January 22, 2018 Share Posted January 22, 2018 onlinetools.ups.com https://onlinetools.ups.com/ups.app/xml/Rate Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 23, 2018 Author Share Posted January 23, 2018 (edited) 2 hours ago, ruden said: onlinetools.ups.com https://onlinetools.ups.com/ups.app/xml/Rate OK, so does that mean if I go in and change all references for "www.ups.com" to "onlinetools.ups.com" it will work? The e-mail from UPS stated, "www.onlinetools.com" Edited January 23, 2018 by TomB01 Quote Link to comment Share on other sites More sharing options...
ruden Posted January 23, 2018 Share Posted January 23, 2018 5 hours ago, TomB01 said: OK, so does that mean if I go in and change all references for "www.ups.com" to "onlinetools.ups.com" it will work? Try it 5 hours ago, TomB01 said: The e-mail from UPS stated, "www.onlinetools.com" Probably typo. Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 23, 2018 Author Share Posted January 23, 2018 OK - thanks. I will give it a shot and report back. Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 26, 2018 Author Share Posted January 26, 2018 Still doesn't work. I even tried removing and re-installing the module. I also tried both "onlinetools.ups.com" and "www.onlinetools.com." However, the logging file error message has changed with "onlinetools.ups.com" - it now says, Quote Error from cURL: Error [35]: Unknown SSL protocol error in connection to onlinetools.ups.com:443 The e-mail from UPS had a reference to TLS V1.2. I found a reference here from Harald Ponce de Leon that said cURL implemented TLS V1.2 with cURL V7.34. My server info from the OSCommerce Admin says the cURL is V7.24. I've contacted my hosting service. Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 26, 2018 Author Share Posted January 26, 2018 HostGator says there's nothing wrong with their web services (cURL version) or my site and that the issue is with UPS. I've sent another e-mail to UPS. Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 26, 2018 Author Share Posted January 26, 2018 There is something else going on. HostGator has proven to me that TLS 1.2 is working on my server. Yet, UPS still gives that as the reason for the cURL error 35. Ideas, anyone? Quote Link to comment Share on other sites More sharing options...
ruden Posted January 26, 2018 Share Posted January 26, 2018 Function "exec" is enabled ? Add file index.php code if(function_exists('exec')) { echo "exec is enabled"; } Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 27, 2018 Author Share Posted January 27, 2018 15 hours ago, ruden said: Function "exec" is enabled ? Add file index.php code if(function_exists('exec')) { echo "exec is enabled"; } Quote exec is enabled Quote Link to comment Share on other sites More sharing options...
ruden Posted January 27, 2018 Share Posted January 27, 2018 CURLE_SSL_CONNECT_ERROR (35) A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others. try it, but I'm not sure $this->use_exec = '1'; Quote Link to comment Share on other sites More sharing options...
TomB01 Posted January 27, 2018 Author Share Posted January 27, 2018 (edited) 4 hours ago, ruden said: CURLE_SSL_CONNECT_ERROR (35) A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others. try it, but I'm not sure $this->use_exec = '1'; I'll be danged - that worked! Many thanks, Valeriy! It's unbelievable how much difference it made changing a '0' to '1' on that line. Edited January 27, 2018 by TomB01 Quote Link to comment Share on other sites More sharing options...
TomB01 Posted February 13, 2018 Author Share Posted February 13, 2018 (edited) 1 hour ago, wHiTeHaT said: @TomB01 , what did you changed according to the innitial error: This module supports only xpci version 1.0001 of the UPS Rates Interface. That error happened spontaneously. I only discovered it recently when using a test account to my store. (My store has operated for many years.) I had just experienced a recent change with USPS that broke my 1st Class Shipping (1st Class Parcel to 1st Class Package - Retail). In fixing that, I noticed that the UPS Shipping was broken, too - with that error message. My first reaction was to upgrade to the latest UPS XML as mentioned in the first post up there. That didn't fix it and resulted in the numerous posts above, until Valeriy's post up there fixed it - changing the "0" to "1" in the code of upsxml.php. That line that Valeriy references is somewhere in the middle of that file, but fairly easy to locate: $this->use_exec = '0'; The latest UPSXML contrib has the "0" as default. Anyway, changing that "0" to "1" fixed it for me. Numerous trouble chats with both UPS and my HostGator services accomplished nothing. Edited February 13, 2018 by TomB01 Quote Link to comment Share on other sites More sharing options...
TomB01 Posted February 13, 2018 Author Share Posted February 13, 2018 Yeah, I forgot the new URL was imbedded in the middle of that description up there. That's what probably broke it in the first place, but I had installed the new version of UPSXML in the interim and then developed the security issue. Quote Link to comment Share on other sites More sharing options...
alax Posted March 1, 2018 Share Posted March 1, 2018 On 13/02/2018 at 11:33 PM, TomB01 said: i am facing the same issue i had change the value of $this->use_exec = '0'; after changes its showing some result but not proper response.I check the array there is missing of methods Quote Link to comment Share on other sites More sharing options...
Sobhia Petter Posted April 6, 2018 Share Posted April 6, 2018 I am facing same XML problem, I am not getting complete Url because of my stupidy, for that, I am trying https://notresponding.net/8-solution-steps-chrome-err_ssl_protocol_error/ which give me clear and accurate suggestion to resolve this error. Quote Link to comment Share on other sites More sharing options...
Gino D Posted April 20, 2018 Share Posted April 20, 2018 I'm getting this error email: Quote Error from cURL: Error [60]: SSL certificate problem, verify that the CA cert is OK. Details:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed experienced by customer with id 1 and this error on the webpage: Quote This module supports only xpci version 1.0001 of the UPS Rates Interface. Please contact the webmaster for additional assistance. Installed Version: osCommerce Online Merchant v2.3.4 using this module oscom-upsxml-version-1-5-for-oscommerce-2-3-x-z6l1O-DdJp7 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.