Activation process inside an azure environment

115 views
Skip to first unread message

Gonzalo Oviedo

unread,
Oct 26, 2021, 6:37:11 PM10/26/21
to doubango-ai
Hi everyone,

I'm trying to activate my license (already bought) inside an Azure webapp environment. I made the following:
1) Downloaded the assets folder from the github repo
2) Downloaded windows binaries
3) Uploaded everything into the same folder inside the app
4) Opened Azure console and executed the command: 
./runtimeKey --type azure-instance --assets ./assets

The full stack trace of the error is the following:

*[COMPV INFO]: [UltMrzSdkEngine] Call: ultimateMrzSdk::UltMrzSdkEngine::init
*[COMPV INFO]: [UltMrzSdkEngine] jsonConfig: {"assets_folder": "./assets","host_type": "azure-instance"}
*[COMPV INFO]: [UltMrzSdkEngine] **** Copyright (C) 2011-2021 Doubango Telecom <https://www.doubango.org> ****

*[COMPV INFO]: [CompVBase] Initializing [base] modules (v 1.0.0, nt -1)...
*[COMPV INFO]: [CompVBase] sizeof(compv_scalar_t)= #8
*[COMPV INFO]: [CompVBase] sizeof(float)= #4
*[COMPV INFO]: [CompVBase] Windows dwMajorVersion=6, dwMinorVersion=2
*[COMPV INFO]: Initializing window registery
*[COMPV INFO]: [ImageDecoder] Initializing image decoder...
*[COMPV INFO]: [CompVCpu] H: 'GenuineIntel', S: '', M: '', MN: ''
*[COMPV INFO]: [CompVBase] CPU features: (intel);[x86];[x64];mmx;sse;sse2;sse3;ssse3;sse41;sse42;avx;avx2;fma3;erms;bmi1;bmi2;popcnt;cmov;aes;rdrand;avx512_f;avx512_cd;avx512_vl;avx512_bw;avx512_dq;
*[COMPV INFO]: [CompVBase] CPU cores: #1
*[COMPV INFO]: [CompVBase] CPU cache1: line size: #64B, size :#32KB
*[COMPV INFO]: [CompVBase] CPU Phys RAM size: #2047GB
*[COMPV INFO]: [CompVBase] CPU endianness: LITTLE
*[COMPV INFO]: [CompVBase] Binary type: X86_64
*[COMPV INFO]: [CompVBase] Intrinsic enabled
*[COMPV INFO]: [CompVBase] Assembler enabled
*[COMPV INFO]: [CompVBase] OS name: Windows
*[COMPV INFO]: [CompVBase] Math Fast Trig.: true
*[COMPV INFO]: [CompVBase] Math Fixed Point: true
*[COMPV INFO]: [CompVMathExp] Init
*[COMPV INFO]: [CompVBase] Default alignment: #64
*[COMPV INFO]: [CompVBase] Best alignment: #64
*[COMPV INFO]: [CompVBase] Heap limit: #262144KB (#256MB)
*[COMPV INFO]: [CompVParallel] Initializing [parallel] module...
*[COMPV INFO]: [CompVParallel] [Parallel] module initialized
*[COMPV INFO]: [CompVBPS D:\home\site\wwwroot\license> ase] [Base] modules initialized
*[COMPV INFO]: [CompVCore] Initializing [core] module (v 1.0.0)...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 1 and name = 'FAST (Features from Accelerated Segment Test)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 8 and name = 'ORB (Oriented FAST and Rotated BRIEF)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 27 and name = 'Sobel edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 28 and name = 'Scharr edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 29 and name = 'Prewitt edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 20 and name = 'Canny edge detector'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 30 and name = 'Hough standard (STD)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 31 and name = 'Kernel-based Hough transform (KHT)'...
*[COMPV INFO]: [CompVFeature] Registering feature factory with id = 41 and name = 'Standard Histogram of oriented gradients (S-HOG)'...
*[COMPV INFO]: [CompVMatcher] Registering matcher factory with id = 0 and name = 'Brute force matcher'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 1 and name = 'PLSL (Parallel Light Speed Labeling)'...
*[COMPV INFO]: [CompVConnectedComponentLabeling] Registering connected component labeling factory with id = 19 and name = 'LMSER (Linear Time Maximally Stable Extremal Regions)'...
*[COMPV INFO]: [CompVGL] Initializing [gl] module (v 1.0.0)...
*[COMPV INFO]: [CompVGL] GL module initialized
*[COMPV INFO]: [CompVGpu] Initializing [gpu] module (v 1.0.0)...
*[COMPV INFO]: [CompVCamera] Initializing [camera] module (v 1.0.0)...
*[COMPV INFO]: [CompVCamera] Camera plugin path: D:\home\site\wwwroot\license\CompVPluginMFoundation.dll
*[COMPV INFO]: [CompVDrawing] Initializing [drawing] module (v 1.0.0)...
*[COMPV INFO]: [CompVDrawing] /!\ No jpeg decoder found
*[COMPV INFO]: [CompVDrawing] Drawing module initialized
*[COMPV INFO]: [CompVGpu] GPU enabled: true
*[COMPV INFO]: /!\ Code in file 'source\ultimate_base_engine.cxx' in function 'ultimateBase::UltBaseEngine::init' starting at line #75: Not optimized for GPU -> GPGPU computing not enabled or deactivated
*[COMPV INFO]: [UltBaseOpenCL] Trying to load [OpenCL.dll]
*[COMPV INFO]: [UltBaseOpenCL] Failed to load [OpenCL.dll]
*[COMPV INFO]: [UltBaseAWS] Before execution
*[COMPV INFO]: [UltBaseAWS] After execution
***[COMPV ERROR]: function: "ultimateBase::UltBaseAWS::init()" 
file: "source\ultimate_base_aws.cxx" 
line: "264" 
message: [UltBaseAWS] curl_easy_perform() failed: Couldn't connect to server
***[COMPV ERROR]: function: "ultimateBase::UltBaseLicenseGeneratorSetHostType()" 
file: "C:\Projects\GitHub\ultimate\ultimateBase\lib\include\ultimate_base_license_generator.h" 
line: "168" 
message: Operation Failed (COMPV_ERROR_CODE_E_THIRD_PARTY_LIB) -> Cannot retrieve AWS/Azure data
***[COMPV ERROR]: function: "ultimateMrzSdk::UltMrzSdkEnginePrivate::updateLicenseInfo()" 
file: "source\ultimate_mrz_sdk_private_engine.cxx" 
line: "581" 
message: Operation Failed (COMPV_ERROR_CODE_E_THIRD_PARTY_LIB) -> 
***[COMPV ERROR]: function: "ultimateMrzSdk::UltMrzSdkEnginePrivate::init()" 
file: "source\ultimate_mrz_sdk_private_engine.cxx" 
line: "95" 
message: Operation Failed (COMPV_ERROR_CODE_E_THIRD_PARTY_LIB) -> Failed to update the license info
***[COMPV ERROR]: function: "ultimateMrzSdk::UltMrzSdkEngine::init()" 
file: "source\ultimate_mrz_sdk_public_engine.cxx" 
line: "138" 
message: Operation Failed (COMPV_ERROR_CODE_E_THIRD_PARTY_LIB) -> Failed to initialize the engine
****[ULTMRZ_SDK FATAL]: function: "main()" 
file: "main.cxx" 
line: "92" 
message: Assertion failed!

Being the "curl_easy_perform() failed: Couldn't connect to server" the most relevant part.

Is there anything I'm missing? I've read somewhere about libcurl and some dlls that should be somewhere in the app, but I don't have a binary folder.
Any help would be really appreciated.

Cheers,
Gonzalo.

Mamadou DIOP

unread,
Oct 26, 2021, 6:54:56 PM10/26/21
to Gonzalo Oviedo, doubango-ai

Hi,

The support team will contact you. Some information may be confidential.

regards,

--
You received this message because you are subscribed to the Google Groups "doubango-ai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango-ai...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/6364e9f2-ea21-4eb5-9395-159ca1a0fe82n%40googlegroups.com.

Mamadou DIOP

unread,
Oct 26, 2021, 7:22:36 PM10/26/21
to Gonzalo Oviedo, doubango-ai

Feedback: The activation requires a dedicated server or a Virtual Machine on AWS and Azure. The process will fail if neither is found.

Gonzalo Oviedo

unread,
Oct 26, 2021, 7:47:06 PM10/26/21
to Mamadou DIOP, doubango-ai
Ok,

We're getting up and ready a virtual machine inside Azure (ubuntu). 
I'll reply back whenever I have the data you asked for before.

Gonzalo Oviedo

unread,
Oct 27, 2021, 10:10:26 AM10/27/21
to Mamadou DIOP, doubango-ai
Dear all,

We're struggling to make the software work inside of a Linux VM on a dotnet environment (csharp).
I'm constantly seeing this message:
Oct 27 14:07:19 Bitsion-PRO-SRV-MRZ dotnet-example[16191]:        ---> System.DllNotFoundException: Unable to load shared library 'ultimateMRZ-SDK' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libultimateMRZ-SDK: cannot open shared object file: No such file or directory
Oct 27 14:07:19 Bitsion-PRO-SRV-MRZ dotnet-example[16191]:          at Bitsion.Doubango.Common.Mrz.Sdk.ultimateMrzSdkPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_ultimateMrzSdk(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)

Of course I've added the mentioned file to the current folder, and also the linux (.so) version without success.
Am I missing something?

Best regards,

Mamadou DIOP

unread,
Oct 27, 2021, 12:23:57 PM10/27/21
to Gonzalo Oviedo, doubango-ai
Please do not send the same message multiple times. This will not speed up the response. 

In your previous message you explained that you made some copies of folders (binaries, assets...). That's a bad idea, checkout the whole Github repo and do not make any changr in the structure. 

This said, try the native (C++) sample at https://github.com/DoubangoTelecom/ultimateMRZ-SDK/tree/master/samples/c%2B%2B/recognizer and check if it works.




Sent from my Galaxy


-------- Original message --------
From: Gonzalo Oviedo <gov...@bitsion.com>
Date: 10/27/21 16:10 (GMT+01:00)
To: Mamadou DIOP <diopm...@doubango.org>
Cc: doubango-ai <douba...@googlegroups.com>
Subject: Re: Activation process inside an azure environment

Dear all,

We're struggling to make the software work inside of a Linux VM on a dotnet environment (csharp).
I'm constantly seeing this message:
Oct 27 14:07:19 Bitsion-PRO-SRV-MRZ dotnet-example[16191]:        ---> System.DllNotFoundException: Unable to load shared library 'ultimateMRZ-SDK' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libultimateMRZ-SDK: cannot open shared object "ltr" class="gmail_signature" data-smartmail="gmail_signature">
Reply all
Reply to author
Forward
0 new messages