When I apply labels and protections using the MIP SDK, the program stops in CommitAsync.

정용우 100 Reputation points
2025-03-12T06:52:46.4766667+00:00

Hello, I'm using the MIP SDK to label it as C#. As I implemented and tested the feature, the CommitAsync function generated hang, so I couldn't process it. What should I check? I also post the MIP SDK log. Currently, it's stopped in the log I attached and there's no action. I use MIP SDK version 1.14.128 and .NET Framework 4.8

Info	2025-03-11 16:13:42.549	auth_info_store.cpp:76	TestApp (16624)	"Found OAuth2 challenge in cache. Domain: api.aadrm.com IssuerId: '' Challenge: 'Bearer resource=""https://aadrm.com"", realm="""", authorization=""https://login.microsoftonline.com/common/oauth2/authorize""'"	mipns::AuthInfoStore::FindChallenge	14184
Trace	2025-03-11 16:13:42.549	protection_auth_challenge_provider.cpp:223	TestApp (16624)	"Trimming '/oauth2/authorize' from authority 'https://login.microsoftonline.com/common/oauth2/authorize'"	mipns::ProtectionAuthChallengeProvider::GetChallengeFromAuthHeader	14184
Trace	2025-03-11 16:13:42.549	protection_auth_challenge_provider.cpp:223	TestApp (16624)	"Trimming '/oauth2/authorize' from authority 'https://login.microsoftonline.com/common/oauth2/authorize'"	mipns::ProtectionAuthChallengeProvider::GetChallengeFromAuthHeader	14184
Info	2025-03-11 16:13:42.549	auth_request_transformer.cpp:155	TestApp (16624)	"Requesting auth token from app. Resource: 'https://aadrm.com', Authority: 'https://login.microsoftonline.com/common', Scope: '', Claims: ''"	mipns::AuthRequestTransformer::GetAuthToken	14184
Info	2025-03-11 16:13:42.549	auth_request_transformer.cpp:169	TestApp (16624)	"Authentication response time (seconds): 0.0001384"	mipns::AuthRequestTransformer::GetAuthToken	14184
Trace	2025-03-11 16:13:42.550	http_client_base.cpp:80	TestApp (16624)	"Adding HTTP operation '1823e09d-551b-4ffa-bcaa-0fc8d7d5f3bf'"	mipns::HttpClientBase::AddOperation	14184
Trace	2025-03-11 16:13:42.896	http_client_base.cpp:92	TestApp (16624)	"Removing HTTP operation 'OneDS_HTTP-5'"	mipns::HttpClientBase::RemoveOperation	11400
Info	2025-03-11 16:13:42.896	http_client_base.cpp:44	TestApp (16624)	"HTTP response time (seconds): 0.943337 ID: OneDS_HTTP-5"	mipns::HttpClientBase::SendAsync::<lambda_bbfd2e2e0e3cff79745408d7f010e245>::operator ()	11400
Trace	2025-03-11 16:13:42.896	default_task_dispatcher_delegate.cpp:95	TestApp (16624)	"Cancelling task 'OneDS_Task-11' if not yet started"	mipns::DefaultTaskDispatcherDelegate::CancelTask	11400
Trace	2025-03-11 16:13:42.896	default_task_dispatcher_delegate.cpp:58	TestApp (16624)	"Dispatching task 'OneDS_Task-12' to event loop"	mipns::DefaultTaskDispatcherDelegate::DispatchTask	11400
Trace	2025-03-11 16:13:42.897	oneds_impl.cpp:216	TestApp (16624)	"Executing OneDS task 'OneDS_Task-12'"	mipns::DoTaskDispatcherQueue::<lambda_d4d148ccfa8086e2b0a90ea9e7726597>::operator ()	32744
Trace	2025-03-11 16:13:42.897	http_client_base.cpp:80	TestApp (16624)	"Adding HTTP operation 'OneDS_HTTP-6'"	mipns::HttpClientBase::AddOperation	32744
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
838 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.