Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
283 views
in Technique[技术] by (71.8m points)

azure functions - Failed to initialize OneDS

I have a Azure Function which uses MIP SDK and I am getting the following error when calling MIP.CreateMipContext(...):

Failed to initialize OneDS (mipns::OneDSHelper::OneDSHelper:srccoreapi_impldiagnosticonedsoneds_helper.cpp:173

Surprisingly, the error occurs only when running on Azure. When running locally, everything is fine.

I am using MIP SDK v1.8.86 and .NET Core 3.1.

Any ideas what that OneDS is or what is causing the error?

question from:https://stackoverflow.com/questions/65922652/failed-to-initialize-oneds

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

OneDS is the library used for diagnostic data and to send audit events for AIP Analytics. I reviewed the source for that error, and the failing function does accept the logpath, the base of which will be the path you set when creating the MipContext. Can you check to make sure you're able to write to that location?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...