-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Environment #64
Comments
AzureWebJobsDashboard connection string needs ;EndpointSuffix=core.cloudapi.de (in my case) thanks anyway |
Thanks for the information, I was not aware of the different URI's for storage account in the german data centers. |
Your are welcome. Access to the AzureWebJobsDashboard works now but I still got errors. Not only URIs for storage account are different. Here is a list of differences. Some URIs need to be adaptable to make the extension work in other azure environments... Examples:
letsencrypt-siteextension/LetsEncrypt-SiteExtension/Controllers/HomeController.cs Line 232 in c96b6de
letsencrypt-siteextension/LetsEncrypt-SiteExtension/Controllers/HomeController.cs Line 234 in c96b6de
Name : AzureGermanCloudEnableAdfsAuthentication : False Name : AzureCloudEnableAdfsAuthentication : False |
Hi. |
I just updated the site extension with the required changes, but I can not access the kudu portal in german data centers alas I have no way to test my changes. Are any of you able to open the kudu portal on a site hosted on azurewebsites.de (i just get access denied). |
I open this projectkudu/kudu#2293 |
I have just tested that the updated version 0.5.2, now makes it possible to use the extension in azure germany. Please read https://github.com/sjkp/letsencrypt-siteextension/wiki/Azure-Germany,-US-or-China for instructions on the extra app settings you need to provide for using it in other regions. I didn't hardcode the strings for the other regions as I suspect we will see more of them in the future. |
I try to use Let's Encrypt Extension (x86) on another Azure Environment (German Azure Cloud). Is there any Azure Environment setting that needs to be set to make the extension work? I'm getting an error when I try to save the extension settings:
System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type Microsoft.IdentityModel.Clients.ActiveDirectory.TokenResponse. Encountered unexpected character '<'. ---> System.Xml.XmlException: Encountered unexpected character '<'. at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception) at System.Runtime.Serialization.Json.XmlJsonReader.ReadAttributes() at System.Runtime.Serialization.Json.XmlJsonReader.ReadNonExistentElementName(StringHandleConstStringType elementName) at System.Runtime.Serialization.Json.XmlJsonReader.Read() at System.Xml.XmlBaseReader.IsStartElement() at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) at System.Runtime.Serialization.XmlReaderDelegator.IsStartElement(XmlDictionaryString localname, XmlDictionaryString ns) at System.Runtime.Serialization.XmlObjectSerializer.IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns) at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalIsStartObject(XmlReaderDelegator reader) at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName) at System.Runtime.Serialization.XmlObjectSerializer.InternalReadObject(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) --- End of inner exception stack trace --- at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.RunAsyncTask[T](Task`1 task) at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.AcquireToken(String resource, ClientCredential clientCredential) at LetsEncrypt.SiteExtension.ArmHelper.GetWebSiteManagementClient(IAuthSettings model) in J:\Projects\letsencrypt-siteextension\LetsEncrypt.SiteExtension.Core\ArmHelper.cs:line 18 at LetsEncrypt.SiteExtension.Controllers.HomeController.Index(AuthenticationModel model)
If I add the app settings by hand and jump over to WebJobs view the Let's Encrypt extension says:
Unhandled Exception: System.InvalidOperationException: The account credentials for 'NameOfStorageAccount' are incorrect at Microsoft.Azure.WebJobs.Host.Executors.DefaultStorageCredentialsValidator.d__4.MoveNext()
The text was updated successfully, but these errors were encountered: