azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

traffic-mangaer create failed with timeout 10 set

Open PuffTMD opened this issue 7 years ago • 7 comments

This is autogenerated. Please review and update as needed.

Describe the bug

When enter the command, below (👇) I receive Operation failed with status: 'Bad Request'. Details: Monitor timeout must be between 5 and 10 seconds. the timeout value is 10. If i change this to any other value the command work.

Command Name az network traffic-manager profile create

Errors:

Operation failed with status: 'Bad Request'. Details: Monitor timeout must be between 5 and 10 seconds.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az network traffic-manager profile create --name {} --resource-group {} --routing-method {Priority} --unique-dns-name {} --custom-headers {} --status-code-ranges {200-299} {404-404} --protocol {HTTPS} --port {443} --path {} --interval {10} --max-failures {3} --timeout {10}

Expected Behavior

Command should execute with timeout set to 10

Environment Summary

Linux-4.18.0-1018-azure-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.72

Extensions:
azure-devops 0.11.0
interactive 0.4.3
application-insights 0.1.1

Additional Context

PuffTMD avatar Sep 10 '19 14:09 PuffTMD

@PuffTMD Hello. Thanks for opening this issue. I checked the logic, this issue happened on server side. I will invite service team to answer.

mmyyrroonn avatar Sep 11 '19 01:09 mmyyrroonn

@sfiguemsft Hello. Please take a look at this issue.

mmyyrroonn avatar Sep 11 '19 02:09 mmyyrroonn

@rohinkoul can you look into this please? thanks!

sfiguemsft avatar Sep 11 '19 15:09 sfiguemsft

Did you manage to investigate this issue after ?

PuffTMD avatar Nov 12 '19 08:11 PuffTMD

@PuffTMD the timeout value should be between 5 and 10 and it must be less than probing interval. Since you have set the probing interval as 10 you can't set the timeout to 10. Try setting probing interval to 30 if required or set the timeout value to be <10 See https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-monitoring

rohinkoul avatar Nov 26 '19 22:11 rohinkoul

@sfiguemsft please close once @PuffTMD confirms.

rohinkoul avatar Nov 26 '19 22:11 rohinkoul

HI @PuffTMD, we are going to close this issue. Please reach out if any additional questions remain.

KarenHammons avatar Feb 10 '20 15:02 KarenHammons