Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    3

    Default Warning: socket_read() unable to read from socket [104]: Connection reset by peer in

    Warning: socket_read() unable to read from socket [104]: Connection reset by peer in /usr/local/cpanel/Cpanel/Accounting.php.inc on line 115
    im get this error when i call the script by php,
    what can it be?
    i move to a new server, the old server dont happend this error!
    thnkz

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    If the data is still retrieved, you should be able to disable warning messages in php.ini , or else comment out the two lines in /usr/local/cpanel/Cpanel/Accounting.php.inc (108 and 109) that send the Connection: Close header and it should quit reporting the error as well.

Similar Threads & Tags
Similar threads

  1. Create a socket connection via cPanel
    By mankmanky1 in forum New User Questions
    Replies: 0
    Last Post: 12-18-2009, 04:18 PM
  2. Roundcube hangs while sending mail (connection to socket timed out)
    By gegervision in forum E-mail Discussions
    Replies: 8
    Last Post: 10-27-2009, 07:10 PM
  3. Replies: 1
    Last Post: 10-12-2009, 11:31 PM
  4. Unable to create selectable TCP socket
    By nitaish in forum cPanel Developers
    Replies: 2
    Last Post: 01-23-2009, 12:35 AM
  5. Connection reset by peer
    By stocosoft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-28-2006, 02:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube