So it seems it’s not getting a response back from the webservice that it can decode as JSON. I’m not sure why that might be.
Did the job end up getting submitted to Deadline? Or did it also fail to do that and it’s not just the response that’s lacking?
The port you’re using is 8082 but the default port for Deadline webservice is 8081. Can you confirm the the port is actually the deadline webservice. Going to the URL, what does it show in your browser for: 10.10.5.5:8082? (This would actually be http://10.10.5.5:8082)
The response being 200 means it should be an “OK” response as far as I understand. However the Deadline documentation does state:
If a request is made for a JSON object, and an empty JSON object is returned, then the information provided for the request did not match any entry in the repository.
Even though I haven’t seen it before - it may somehow be related to that. (Although an “empty” JSON object I’d expect should still be able to decode maybe?)
There has been some changes in that area recently. Maybe the auth and verify tweaks recently done, e.g. here may be related. @Petr_Kalis have you seen anything like this before while working on that? @jakub.jezek are you able to do a deadline submission test-run from Nuke using latest develop?
Unfortunately I have not yet managed to solve this. I have temporarily separated the farm render process from the Ayon Workflow. So at the moment am using the Nuke-Deadline farm submission script, rendering out the frames and then publishing it through Ayon.
You can try to modify deadline submit plugin to raise error because of response status.
b_job_response.raise_for_status()
# Store output dir for unified publisher (filesequence)
instance.data["deadlineSubmissionJob"] = b_job_response.json()
It will not resolve the issue, but probably uncover more information.