Hello everyone, I'm try https://wiki.openstack.org/wiki/OpenStack-SDK-DotNet download and config my swift storage then run...
error message
System.AggregateException was unhandled
_HResult=-2146233088
_message=One or more errors occurred.
HResult=-2146233088
IsTransient=false
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at CustomServiceClientExample.Program.Main(String[] args) in d:\NET_Project\openstack-sdk-dotnet-master\openstack-sdk-dotnet-master\OpenStack\Examples\CustomServiceClientExample\Program.cs:line 38
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.InvalidOperationException
_HResult=-2146233079
_message=A client that supports the requested service for the given instance of OpenStack could not be found.
HResult=-2146233079
IsTransient=false
Message=A client that supports the requested service for the given instance of OpenStack could not be found.
Source=OpenStack
StackTrace:
at OpenStack.OpenStackServiceClientManager.CreateServiceClient[T](ICredential credential, String serviceName, CancellationToken cancellationToken)
at OpenStack.OpenStackServiceClientManager.CreateServiceClient[T](ICredential credential, CancellationToken cancellationToken)
at OpenStack.OpenStackClient.CreateServiceClient[T](String version)
at OpenStack.OpenStackClient.CreateServiceClient[T]()
at OpenStack.OpenStackClient.<Connect>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at CustomServiceClientExample.Program.<EchoMessage>d__0.MoveNext() in d:\NET_Project\openstack-sdk-dotnet-master\openstack-sdk-dotnet-master\OpenStack\Examples\CustomServiceClientExample\Program.cs:line 50
InnerException:
Let's me fixed
change url http:// xx.xx.xx. xx:5000/ v2.0/tokens/ xx.xx.xx. xx:5000/ v2.0
to
http://
That's ok