ID 500479 - AnalyticsUploader (Usage Statistics) doesn't timeout when it can resolve the DNS but doesn't receive a response

Follow

Problem summary
The Usage Statistics doesn't timeout if it can resolve the DNS of the statistics reporting server but is unable to receive a response. There is a limit of 3 attempts, however, if the response isn't received then it will wait indefinitely for the first response.


Customer reported version

Nuke 13.1v1


Customer reported platform

CentOS 7


Steps to reproduce


1) Set up a server that resolves but won't return a response.

2) Launch Nuke.

3) Close Nuke.


Expected behaviour
The Usage Statistics should time out, if it is unable to receive a response from the statistics reporting server.


Actual behaviour
The Usage Statistics doesn't timeout if it can resolve the DNS of the statistics reporting server but is unable to receive a response. If the response isn't received then it will wait indefinitely.


Workaround
If this behaviour is causing any issues for you (such as Nuke hanging on exit), then you can disable the submit usage statistics preference by adding the following Python code to your init.py file:  

from PySide2.QtCore import QSettings

settings = QSettings("/home/username/.nuke/uistate.ini", QSettings.IniFormat)

settings.setValue("submitUsageStatistics", "false")

NOTE: This example is for Linux so the path to your .nuke directory (line 2) may vary, depending on the operating system you are using. 


Reproduced by support
This bug has been identified by our development team.


Earliest version tested
Our development team have identified this bug in Nuke 12.2, however, this issue is likely to be in all versions of the product.

    We're sorry to hear that

    Please tell us why