-
I have the following section in an "NextCloudSettings": {
"WebDavUrl": "https://url.to.server.gr/remote.php/dav/",
"UserName": "username",
"Password": "password"
} But now Aspire tries to resolve the service behind the URL, which won't work because it is an external (meaning, outside of the system) service. In preview-4 this did not happen, but since preview-5 it tries to resolve the service behind this one, resulting in the following error: {
"status": "Internal Server Error!",
"code": 500,
"reason": "Name or service not known (url.to.server.gr:443)",
"note": "See application log for stack trace."
}
Is there any way I can make Aspire ignore this URL? Edit: apparently, this only happens when the application is deployed in my kubernetes cluster, and not in development. I am using Aspir8 to generate |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It's unclear from the details in this issue what the error is and what the moving pieces are to be able to help you diagnose the issue. You must have code in your application that is reading the configuration section and using it to set values on an http client. What does the code consuming this configuration section look like? |
Beta Was this translation helpful? Give feedback.
-
I turned out to be DNS related on my VM. Sorry for asking here. Just happened to be an issue that occurred during the upgrade to preview 5 hence I thought it was Aspire related |
Beta Was this translation helpful? Give feedback.
I turned out to be DNS related on my VM. Sorry for asking here. Just happened to be an issue that occurred during the upgrade to preview 5 hence I thought it was Aspire related