Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Elavon - Converge CURL error 56 - TCP connection reset by peer

    My client recently changes processors to Elavon. I found and installed the module, but orders cannot be placed. Error log (gotta love those!!) says:

    PHP Notice: Converge communications failure. 56 - TCP connection reset by peer in /home/outsid19/public_html/includes/modules/payment/elavon_converge.php on line 656

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    Hmmm.

    PHP Version?
    CURL version? (see Server Info page in Admin Tools menu)
    OpenSSL version? (see Server Info page in Admin Tools menu)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    PHP: 5.6.25
    CURL version: 7.29.0
    OpenSSL version: 1.0.1e-fips 11 Feb 2013

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    I've tried to simulate all kinds of bad situations to trigger teh problem, but can't.

    Most articles suggest firewall issues on your site. Or outdated PHP/CURL/OpenSSL.

    While the curltester script doesn't "know" about Elavon, it does test a dozen other common destinations. Give it a try and report back: /extras/curltester.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    curltester.php results below.

    I see there are newer versions of cURL but it wasn't clear if 7.29 was still supported or not.
    OpenSSL looks to be current.

    Are there firewall ports that I need to confirm are open?


    Code:
    Powered by Zen Cart :: The Art of E-Commerce
    CURL Test Page
    
    This page is intended for testing CURL behaviour. You should be accessing this page via CURLTESTER.PHP running on YOUR server.
    
    You submitted the following fields and data:
    
    Array
    (
        [field1] => This is a test
        [statuskey] => ready
    )
    Data validation
    
    Good
    Other Info
    
    Your server IP address is: 209.133.199.173. 
    Your system identifies itself as: Zen Cart(tm) - CURL TEST
    Copyright © 2003 - 2016 Zen Ventures, LLC - Authors of Zen Cart™
    Array
    (
        [url] => "http://www.zen-cart.com/testcurl.php"
        [content_type] => text/html; charset=iso-8859-1
        [http_code] => 200
        [header_size] => 177
        [request_size] => 212
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0.208437
        [namelookup_time] => 0.124758
        [connect_time] => 0.163516
        [pretransfer_time] => 0.163618
        [size_upload] => 37
        [size_download] => 6463
        [speed_download] => 31006
        [speed_upload] => 177
        [download_content_length] => 6463
        [upload_content_length] => 37
        [starttransfer_time] => 0.208376
        [redirect_time] => 0
        [redirect_url] => 
        [primary_ip] => 104.236.245.70
        [certinfo] => Array
            (
            )
    
        [primary_port] => 80
        [local_ip] => 209.133.199.173
        [local_port] => 46616
    )

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    jim,
    i think your output is not correct.

    the output of yoursite.com/extras/curltester.php should look something like the attached screenshot.

    best.
    Attached Images Attached Images  
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    It's Zen Cart 1.5.3. I replaced with the curltest.php and now get something like yours.

    Testing communications to various destinations. This is a simple diagnostic to determine whether your server can connect to common destinations.
    For advanced "details" mode, add ?details=on to the URL.

    (Another resource you may find useful for testing your server's overall customer-facing SSL configuration: https://www.ssllabs.com/ssltest/index.html )

    Connecting to Zen Cart Version Server (http) ...
    GOOD: CURL Connection successful.

    Connecting to Zen Cart Version Server (https) ...
    GOOD: CURL Connection successful.

    Connecting to Zen Cart Support Server (https) ...
    GOOD: CURL Connection successful.

    Connecting to USPS (port 80)...
    GOOD: CURL Connection successful.

    Connecting to USPS Test/Staging/Sandbox Server (port 80)...
    GOOD: CURL Connection successful.

    Connecting to UPS (port 80)...
    GOOD: CURL Connection successful.

    GOOD: Socket established

    Connecting to UPSXML (SSL) (wwwcie.ups.com) ...
    GOOD: CURL Connection successful.

    Connecting to UPSXML (SSL) (www.ups.com) ...
    GOOD: CURL Connection successful.

    Connecting to UPSXML (SSL) (onlinetools.ups.com) ...
    GOOD: CURL Connection successful.

    Connecting to FedEx (port 80)...
    GOOD: Socket established

    Connecting to Canada Post REST API (SSL) ...
    GOOD: CURL Connection successful.

    Connecting to PayPal IPN (port 443)...
    GOOD: Socket established

    GOOD: CURL Connection successful.

    Connecting to PayPal IPN (port 443) Sandbox ...
    GOOD: Socket established

    GOOD: CURL Connection successful.

    Connecting to PayPal Express/Pro Server ...
    GOOD: CURL Connection successful.

    Connecting to PayPal Express/Pro Sandbox ...
    GOOD: CURL Connection successful.

    Connecting to PayPal Payflowpro Server ...
    GOOD: CURL Connection successful.

    Connecting to Cardinal Commerce 3D-Secure Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet Production Server ...
    GOOD: CURL Connection successful.

    Connecting to AuthorizeNet Developer/Sandbox Server ...
    GOOD: CURL Connection successful.

    Connecting to First Data GGe4 server (SSL)...
    GOOD: CURL Connection successful.

    Connecting to Payeezy Processing Server...
    GOOD: CURL Connection successful.

    Connecting to Payeezy Sandbox Server...
    GOOD: CURL Connection successful.

    Testing completed. See results above.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    It uses port 443, just like every other HTTPS secure communication. No special ports required.

    I suppose you might be passing invalid or incorrect parameters for user/key credentials, and so it's finding a malformed request, and rejecting it outright ("bye") instead of giving a proper "hi, sorry: error, bye".

    Or perhaps your Elavon account is configured to limit transactions from only a certain IP, and your server is not in that list.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    The Elavon logging shows what looks to be a full array out.

    Sent to Converge Elavon VirtualMerchant gateway: Array
    (
    [ssl_card_number] => *******6897
    [ssl_exp_date] => ***8
    [ssl_cvv2cvc2] => ***5
    [ssl_cvv2cvc2_indicator] => 1
    [ssl_amount] => 15.15
    [ssl_transaction_type] => ccsale
    [ssl_invoice_number] => 234-uYzOcW
    [ssl_show_form] => false
    [ssl_result_format] => ascii
    [ssl_get_token] => N
    [ssl_add_token] => N
    [ssl_company] =>
    [ssl_first_name] => James
    further details not posted here......

    The response back is somewhat lacking.

    Response Code: .
    Response Text:

    Results Received back from Elavon Converge: Array
    (
    [] =>
    )

    I'm confirming details with the client and Elavon.

  10. #10
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,556
    Plugin Contributions
    28

    Default Re: Elavon - Converge CURL error 56 - TCP connection reset by peer

    deleted
    Last edited by jeking; 8 Sep 2016 at 03:10 AM. Reason: Duplicate post

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Elavon - Converge payment module?
    By LindaG in forum Addon Payment Modules
    Replies: 8
    Last Post: 26 Jan 2020, 03:02 AM
  2. Service Connection Failed-The connection to the server was reset while page loading
    By notageek in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 14 Sep 2015, 11:30 PM
  3. Connection Reset/Error 101 after changing servers
    By DannyVarley in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 7 Dec 2012, 06:49 PM
  4. curl connection test error on setup (invalid address)
    By hayden in forum General Questions
    Replies: 2
    Last Post: 15 Feb 2010, 12:04 AM
  5. peer-to-peer commerce
    By manojvp in forum General Questions
    Replies: 5
    Last Post: 7 Feb 2008, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR