Azure-sdk-for-python: Time out error due to task name in Azure Batch

Created on 1 Aug 2017  路  3Comments  路  Source: Azure/azure-sdk-for-python

Steps that lead me to the error:

  • create a batch account
  • create a job (via API)
  • define a task where the Id contains an invalid character, example '.' (dot) (via API)
  • add the task to the job (via API)

The program will fail due to time out (see attached file).
Time our error.txt

Expected behaviour:
the function task.add_collection(job_id, tasks) in azure.batch should check the string passed, and raise an exception if it contains an invalid character.
From the web interface of Azure, the name of the task should be:
"A string that uniquely identifies the task within the job. The id can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters."

Batch Service Attention question

All 3 comments

Hi @stawo

Since it's a network issue, could you check the version of your msrest package? This is the one handling with requests, and if it's not the latest version, updating it might help a lot.

Adding @annatisch from Batch also

Hi @lmazuel
To be sure, I updated all the pip packages. I ran:
pip install --update msrest
pip install --update azure

Now I have:
msrest (0.4.11)
azure (2.0.0)
azure-batch (3.0.0)

The problem persists as described above, no changes in the output.

Confirmed that this issue no longer exists. Feel free to close.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shreyasmoolya09 picture shreyasmoolya09  路  3Comments

smereczynski picture smereczynski  路  4Comments

Fajkowsky picture Fajkowsky  路  4Comments

raviteja59 picture raviteja59  路  3Comments

vnimbalkar picture vnimbalkar  路  4Comments