Search Unity

WWW calls return HTTP code 411 - Content length required

Discussion in 'Editor & General Support' started by FrankvHoofDTT, Dec 23, 2017.

  1. FrankvHoofDTT

    FrankvHoofDTT

    Joined:
    Sep 15, 2017
    Posts:
    1
    Since updating to Unity 2017.3.0f3 all of my WWW calls return error code 411 - Content Length required.
    In 2017.1 all of these calls worked fine.
     
    mahmoud93p likes this.
  2. delexaet

    delexaet

    Joined:
    Apr 14, 2016
    Posts:
    5
    I'm having the same issue since updating to 2017.3.0
     
    mahmoud93p likes this.
  3. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    43
    like me same issue
     
  4. Olker

    Olker

    Joined:
    Oct 4, 2017
    Posts:
    1
    Same for me, the script worked about a few weeks ago, was there changes in www within the last unity updates maybe?
     
  5. delexaet

    delexaet

    Joined:
    Apr 14, 2016
    Posts:
    5
    Anyone have any progress on this issue?
     
  6. gooodpgr

    gooodpgr

    Joined:
    Jan 24, 2017
    Posts:
    2
    I have the same issue. But It only occurs atfer I use Postman to request server.
    And It Only occurs on Unity Editor. I install apk on my 2 android device, And they all work fine.
     
    Last edited: Jan 4, 2018
  7. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,383
    We have fixed this issue, please check the latest patch releases.
    The other solution is to use UnityWebRequest and set chunkedTransfer property to false.
     
    pflamant likes this.
  8. Cecrit

    Cecrit

    Joined:
    May 18, 2015
    Posts:
    17
    The latest patch I found was 2017.3p1 which has the problem. Or do you mean, that the issue was fixed and we need to wait for the next patch?
     
  9. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,383
    Turns out I was wrong. The fix is still in the pipeline for 2017.3.
     
  10. mahmoud93p

    mahmoud93p

    Joined:
    Feb 11, 2015
    Posts:
    43
    How long it will be fixed ? i can't do anything right know ?!
     
  11. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    2,383
    According schedule the patch release with a fix (2017.3.0 Patch 4) should be completed later this week. Though it could be it will be released next week due to QA stuff.
     
  12. Little_Gorilla

    Little_Gorilla

    Joined:
    Oct 11, 2013
    Posts:
    69
    I was having this issue in 2017. Updating to the latest 2018 fixes it and there's some nice editor improvements too.