I have created a service connection for Octopus on our Azure DevOps project - using the projects API key & ignoreSslErrors is checked.
In the release pipeline we use the Push Package(s) to Octopus job.
Should the Space automatically resolve to what is on our Octopus Server (see image below)?
You are correct, it should query the Octopus Server and provide a list of available Spaces. You can try using the refresh button to the right to see if that helps the list generate, otherwise there may be an issue with the connectivity between Azure DevOps and your Octopus Server.
Hello we have the same issue here on a on-prem octo server. The spaces input canāt retrieve spaces from octopus api, message in the console is:
{āresultā:[],āstatusCodeā:āunusedā,āerrorMessageā:āFailed to query service connection API: āhttps://******/api/spaces/allā. Error Message: āA task was canceled.āā}
As far as i can see, if I typed my space name by hand itās working,ā¦ but It might be interesting to investigate why the dropdown canāt retrieve spaces list.
The Spaces drop down is mainly there as a helper, if you know the correct space to use and the build completes successfully after manually entering it then there isnāt really anything to worry about.