Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WWW method. Recv failure: Connection reset by peer

Discussion in 'Multiplayer' started by Tarzan111, Jun 17, 2015.

  1. Tarzan111

    Tarzan111

    Joined:
    Oct 8, 2014
    Posts:
    72
    Hi guys,
    I'm facing a problem which i'm not sure to understand.

    I'm using WWW method. It's working well exept sometimes i have the folowing error message :

    "There was a connexion error : Recv failure: Connection reset by peer"

    I'm not sure but i think the problem come from my host. I have this error message at the same times on different devices for a couple of minutes and after it's working well again.
    But my host is quite strong :
    -SSD drive
    Capture d’écran 2015-06-17 à 13.57.37.png

    My apps is calling some php files on my host. I'm not downloading any images or heavy files, just some characters string (after connecting to a mysql database). I tried to refresh as fast as i can on 5 different devices without any connection problem and i don't have a tones of player right now.

    Do you have any idea?

    Thanks
    Leo
     
    Last edited: Jun 17, 2015
  2. Archimy

    Archimy

    Joined:
    Sep 25, 2013
    Posts:
    3
    I have this same problem. Have you figured it out?
     
  3. JeremyUnity

    JeremyUnity

    Unity Technologies

    Joined:
    Mar 4, 2014
    Posts:
    147
    Not sure the issue here, but have you tried the UnityWebRequest in the UnityEngine.Experimental.Networking namespace yet? If the WWW object is giving you issues using this may help.
     
  4. Tarzan111

    Tarzan111

    Joined:
    Oct 8, 2014
    Posts:
    72
    Yes it fixed it itself by upgrading Unity few weeks later.
    Which version are you using?