Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Plugin Development - Release Mode

Planned

Comments

5 comments

  • Andrey Terentyev
    • Network Optix team

    Hello,

    I add the output to a servers plugins folder and start the server, it enters a boot loop (starting and restarting)

    This with a great probability indicates crashing of the Server. Since a plugin runs in the Server's process, it seems the crash is caused by the plugin code.

    Could you please reproduce the issue with the sample analytics plugin of the Metadata SDK and once reproduced share the code with us using a cloud storage service you prefer? 

    0
  • Dlawlor

    Hi Andrey,

    Sorry if I wasn't clear, I am encountering the issue when building the sample analytics plugin of the Metadata SDK. I have not modified the example in any way, just built a version in both Debug and Release mode.

    The Debug build runs fine on my development server (NxWitness running on my laptop) but the release build does not run on the production systems (Various Windows 11 devices with the correct dependencies installed, c++ redis etc). These production systems load other plugins just fine, just causes a boot loop of the application if the Release build of the sample analytics plugin of the Metadata SDK is added to the plugins folder.

    If it is of use to you I can upload a zip of the copy of the Metadata SDK project that I am using?

     

    0
  • Andrey Terentyev
    • Network Optix team

    Hello Dlawlor,

    I've just tested in my lab in a Windows machine building code samples with the build_samples.bat script supplied with the Metadata SDK. Neither sample nor stub plugin caused any issue similar to the one you describe.

    Let's start with default settings.

    Please, build the plugins using the build_samples.bat script and check with the sample analytics plugin if the issue persists. 

     

    0
  • Andrey Terentyev
    • Network Optix team

    > If it is of use to you I can upload a zip of the copy of the Metadata SDK project that I am using?
    Yes, please.

    0
  • Dlawlor

    metavms-metadata_sdk-6.0.3.40736-universal.zip

    Attached is the metadata SDK I am using. I have tried to build using build_samples.bat but I cannot get the script to complete, likely as my build tools is v 14.44.35207. Altering the bat files to point to the correct folders and tools still resulted in the following exit message: Suitable MSVC version is not found. Please, set up the environment manually.

    I have previously built this sample project using CMake (cmake .. -G "Visual Studio 17 2022") and then building with visual studio the solution file output from the above.

    0

Please sign in to leave a comment.