Renew Cert Error 504 (Gateway Timeout)

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!

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…

Thank you so much!

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