Search Unity

Getting False Error Unityuserreportingplatform.post: Failed To Receive Data

Discussion in 'Unity Cloud Diagnostics' started by unleech, Apr 10, 2019.

  1. unleech

    unleech

    Joined:
    Jul 27, 2013
    Posts:
    11
    I need help.

    After sending the user report, I am getting this false error, UnityUserReportingPlatform.Post: Failed to receive data

    Sometimes I'm getting error 500 Internal server error and 408 Timed out.

    Also how can I catch, or display the error to the user? Thanks!
     
  2. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    34
    Regarding the first error, this should be fixed by our latest SDK, released a few days ago. If the User Report is sent successfully, this error will be ignored.

    Please contact clouddiagnostics@unity3d.com with your project ID so we can look into the other errors.
     
    Last edited: Apr 12, 2019
  3. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    79
    @bretth_unity : I'm using latest SDK (2019-04-03) and at least half of reports fail with a 100 Failed to receive data error.
    No other detail is provided.

    Any suggestion?
     
  4. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    34
    Are you using the version from the package manager? If so, did you re-import the package after upgrading to the latest version?
     
  5. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    79
    Hi!
    I started from scratch, installing it from the package manager and then importing its package.
    I'm on Unity 2018.3.12f1, Windows 10
     
  6. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    79
    @bretth_unity : I recently discovered that it fails if the upload take longer than 30 seconds.
    I tried increasing webRequest.timeout on all IUserReportingPlatforms, but it keeps failing once 30 seconds have passed.
     
  7. bretth_unity

    bretth_unity

    Unity Technologies

    Joined:
    Dec 1, 2016
    Posts:
    34
    I'm currently looking into the further and will get back to you shortly. Thanks for all the information! :)
     
    Menion-Leah likes this.
  8. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    79
    @bretth_unity, is there any update about that?

    I recently tried Unity 2018.4.1f1 and I can confirm issue is still present.
     
    unleech likes this.
  9. unleech

    unleech

    Joined:
    Jul 27, 2013
    Posts:
    11
    Same, we are encountering
    UnityUserReportingPlatform.Post: 100 Failed to receive data
    too.
     
  10. ArjenSimons

    ArjenSimons

    Joined:
    Jul 10, 2018
    Posts:
    1
    Not an ideal solution but lowering the resolution of the screenshot you sent to the api makes the upload a lot faster.
     
  11. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,074
    We were able to track down the cause of the issue. Our service timeouts were set to 2 minutes but Google, which we are using to help with processing reports, had its own timeout of 30 seconds that was still causing large reports to be dropped. We've since increased that timeout to 2 minutes as well. Please let us know if you're still running into issues with your reports getting dropped.
     
    Menion-Leah likes this.