Renew Cert Error 504 (Gateway Timeout)


#1

When i renew Cert, client put getway timeout.

Response status code does not indicate success: 504 (Gateway Timeout)

var body = JsonConvert.SerializeObject(newCert, JsonHelper.DefaultSerializationSettings);
var t = client.PutAsync($"/subscriptions/{azureEnvironment.SubscriptionId}/resourceGroups/{azureEnvironment.ServicePlanResourceGroupName}/providers/Microsoft.Web/certificates/{newCert.Name}?api-version=2016-03-01", new StringContent(body, Encoding.UTF8, “application/json”)).Result;
t.EnsureSuccessStatusCode();

Sorry my English not good!
Thanks!


#2

Hi,

Could you give more details about what you are trying to do?

It seams it’s an error on Microsoft API side ( https://docs.microsoft.com/en-us/rest/api/appservice/certificates/get ) so I’m not sure here is the best place to get help about it…


#3

Thank you so much!


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.