edgelet_utils… Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required










0














I get a quite strange error message after executing Install-SecurityDaemon.
I deployed the IoT Edge module image to Azure Registry using Visual Studio Code. Then, I try to execute the IoT Edge solution in the simulator. Everything is ok.



I executed Install-SecurityDaemon. Everything went ok. But when I exec "iotedge list" command, I saw that only two main modules arrived but there is no module developed by me
PS C:WINDOWSsystem32> iotedge list
NAME STATUS DESCRIPTION CONFIG
edgeHub failed Failed (137) an hour ago mcr.microsoft.com/azureiotedge-hub:1.0
edgeAgent running Up 1 second mcr.microsoft.com/azureiotedge-agent:1.0



I'd seen the log and found only one error message:



11.11.2018 22:52:37 warn: edgelet_docker::runtime -- Attempt to pull image failed.
11.11.2018 22:52:42 info: edgelet_core::watchdog -- Checking edge runtime status
11.11.2018 22:52:42 info: edgelet_core::watchdog -- Edge runtime is running.
11.11.2018 22:52:43 warn: edgelet_docker::runtime -- Attempt to pull image failed.
11.11.2018 22:52:43 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:43.487711600 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
11.11.2018 22:52:43 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required
11.11.2018 22:52:55 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:55.502141500 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
11.11.2018 22:52:55 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required



Then I execute "docker login" command to be sure, that docker properly authorized in Azure registry. Everything was ok. Then, I reinstall SecurityDaemon. I got the same error.



Executing command



PS C:WINDOWSsystem32> docker pull warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64
0.0.1-amd64: Pulling from iot-edge-engine-simulator
Digest: sha256:4ba6ae6442ca974b2c52459b85c0861e9664f26990c6e87f20829954f4d67d09



Status: Image is up to date for warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64



return no errors. But if try to get manifest https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64 I really got the JSON with the error "unauthorized: authentication required".



In the Azure Portal after adding my module engineSimulator I saw another one iot_edge_engine_simulator with type "Module identity" which is not created by me. When I installed e.g. Microsoft module termoSensor - there is no such additional module.



So, I'm stuck, I don't know why the error occurs and what to do further.



Thank you for a help!










share|improve this question




























    0














    I get a quite strange error message after executing Install-SecurityDaemon.
    I deployed the IoT Edge module image to Azure Registry using Visual Studio Code. Then, I try to execute the IoT Edge solution in the simulator. Everything is ok.



    I executed Install-SecurityDaemon. Everything went ok. But when I exec "iotedge list" command, I saw that only two main modules arrived but there is no module developed by me
    PS C:WINDOWSsystem32> iotedge list
    NAME STATUS DESCRIPTION CONFIG
    edgeHub failed Failed (137) an hour ago mcr.microsoft.com/azureiotedge-hub:1.0
    edgeAgent running Up 1 second mcr.microsoft.com/azureiotedge-agent:1.0



    I'd seen the log and found only one error message:



    11.11.2018 22:52:37 warn: edgelet_docker::runtime -- Attempt to pull image failed.
    11.11.2018 22:52:42 info: edgelet_core::watchdog -- Checking edge runtime status
    11.11.2018 22:52:42 info: edgelet_core::watchdog -- Edge runtime is running.
    11.11.2018 22:52:43 warn: edgelet_docker::runtime -- Attempt to pull image failed.
    11.11.2018 22:52:43 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:43.487711600 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
    11.11.2018 22:52:43 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required
    11.11.2018 22:52:55 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:55.502141500 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
    11.11.2018 22:52:55 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required



    Then I execute "docker login" command to be sure, that docker properly authorized in Azure registry. Everything was ok. Then, I reinstall SecurityDaemon. I got the same error.



    Executing command



    PS C:WINDOWSsystem32> docker pull warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64
    0.0.1-amd64: Pulling from iot-edge-engine-simulator
    Digest: sha256:4ba6ae6442ca974b2c52459b85c0861e9664f26990c6e87f20829954f4d67d09



    Status: Image is up to date for warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64



    return no errors. But if try to get manifest https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64 I really got the JSON with the error "unauthorized: authentication required".



    In the Azure Portal after adding my module engineSimulator I saw another one iot_edge_engine_simulator with type "Module identity" which is not created by me. When I installed e.g. Microsoft module termoSensor - there is no such additional module.



    So, I'm stuck, I don't know why the error occurs and what to do further.



    Thank you for a help!










    share|improve this question


























      0












      0








      0







      I get a quite strange error message after executing Install-SecurityDaemon.
      I deployed the IoT Edge module image to Azure Registry using Visual Studio Code. Then, I try to execute the IoT Edge solution in the simulator. Everything is ok.



      I executed Install-SecurityDaemon. Everything went ok. But when I exec "iotedge list" command, I saw that only two main modules arrived but there is no module developed by me
      PS C:WINDOWSsystem32> iotedge list
      NAME STATUS DESCRIPTION CONFIG
      edgeHub failed Failed (137) an hour ago mcr.microsoft.com/azureiotedge-hub:1.0
      edgeAgent running Up 1 second mcr.microsoft.com/azureiotedge-agent:1.0



      I'd seen the log and found only one error message:



      11.11.2018 22:52:37 warn: edgelet_docker::runtime -- Attempt to pull image failed.
      11.11.2018 22:52:42 info: edgelet_core::watchdog -- Checking edge runtime status
      11.11.2018 22:52:42 info: edgelet_core::watchdog -- Edge runtime is running.
      11.11.2018 22:52:43 warn: edgelet_docker::runtime -- Attempt to pull image failed.
      11.11.2018 22:52:43 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:43.487711600 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
      11.11.2018 22:52:43 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required
      11.11.2018 22:52:55 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:55.502141500 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
      11.11.2018 22:52:55 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required



      Then I execute "docker login" command to be sure, that docker properly authorized in Azure registry. Everything was ok. Then, I reinstall SecurityDaemon. I got the same error.



      Executing command



      PS C:WINDOWSsystem32> docker pull warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64
      0.0.1-amd64: Pulling from iot-edge-engine-simulator
      Digest: sha256:4ba6ae6442ca974b2c52459b85c0861e9664f26990c6e87f20829954f4d67d09



      Status: Image is up to date for warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64



      return no errors. But if try to get manifest https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64 I really got the JSON with the error "unauthorized: authentication required".



      In the Azure Portal after adding my module engineSimulator I saw another one iot_edge_engine_simulator with type "Module identity" which is not created by me. When I installed e.g. Microsoft module termoSensor - there is no such additional module.



      So, I'm stuck, I don't know why the error occurs and what to do further.



      Thank you for a help!










      share|improve this question















      I get a quite strange error message after executing Install-SecurityDaemon.
      I deployed the IoT Edge module image to Azure Registry using Visual Studio Code. Then, I try to execute the IoT Edge solution in the simulator. Everything is ok.



      I executed Install-SecurityDaemon. Everything went ok. But when I exec "iotedge list" command, I saw that only two main modules arrived but there is no module developed by me
      PS C:WINDOWSsystem32> iotedge list
      NAME STATUS DESCRIPTION CONFIG
      edgeHub failed Failed (137) an hour ago mcr.microsoft.com/azureiotedge-hub:1.0
      edgeAgent running Up 1 second mcr.microsoft.com/azureiotedge-agent:1.0



      I'd seen the log and found only one error message:



      11.11.2018 22:52:37 warn: edgelet_docker::runtime -- Attempt to pull image failed.
      11.11.2018 22:52:42 info: edgelet_core::watchdog -- Checking edge runtime status
      11.11.2018 22:52:42 info: edgelet_core::watchdog -- Edge runtime is running.
      11.11.2018 22:52:43 warn: edgelet_docker::runtime -- Attempt to pull image failed.
      11.11.2018 22:52:43 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:43.487711600 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
      11.11.2018 22:52:43 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required
      11.11.2018 22:52:55 info: edgelet_http::logging -- [mgmt] - - - [2018-11-11 19:52:55.502141500 UTC] "POST /modules?api-version=2018-06-28 HTTP/1.1" 500 Internal Server Error 141 "-" "-" pid(any)
      11.11.2018 22:52:55 warn: edgelet_utils::logging -- Get https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64: unauthorized: authentication required



      Then I execute "docker login" command to be sure, that docker properly authorized in Azure registry. Everything was ok. Then, I reinstall SecurityDaemon. I got the same error.



      Executing command



      PS C:WINDOWSsystem32> docker pull warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64
      0.0.1-amd64: Pulling from iot-edge-engine-simulator
      Digest: sha256:4ba6ae6442ca974b2c52459b85c0861e9664f26990c6e87f20829954f4d67d09



      Status: Image is up to date for warlibregistry.azurecr.io/iot-edge-engine-simulator:0.0.1-amd64



      return no errors. But if try to get manifest https://warlibregistry.azurecr.io/v2/iot-edge-engine-simulator/manifests/0.0.1-amd64 I really got the JSON with the error "unauthorized: authentication required".



      In the Azure Portal after adding my module engineSimulator I saw another one iot_edge_engine_simulator with type "Module identity" which is not created by me. When I installed e.g. Microsoft module termoSensor - there is no such additional module.



      So, I'm stuck, I don't know why the error occurs and what to do further.



      Thank you for a help!







      docker azure-devops azure-iot-hub azure-iot-edge






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 12 '18 at 5:07

























      asked Nov 11 '18 at 20:08









      Andrey Fedorov

      92




      92






















          1 Answer
          1






          active

          oldest

          votes


















          1














          I found the mistake. When I set the module I missed filling "Container Registry Settings". In the case of using your own container registry (not Microsoft), you MUST fill authorization parameters.



          In my case:
          NAME: WarlibRegistry
          ADDRESS: warlibregistry.azurecr.io
          USERNAME & PASSWORD from the "Access keys" section of your container registry.






          share|improve this answer




















            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53252741%2fedgelet-utils-get-https-warlibregistry-azurecr-io-v2-iot-edge-engine-simula%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            I found the mistake. When I set the module I missed filling "Container Registry Settings". In the case of using your own container registry (not Microsoft), you MUST fill authorization parameters.



            In my case:
            NAME: WarlibRegistry
            ADDRESS: warlibregistry.azurecr.io
            USERNAME & PASSWORD from the "Access keys" section of your container registry.






            share|improve this answer

























              1














              I found the mistake. When I set the module I missed filling "Container Registry Settings". In the case of using your own container registry (not Microsoft), you MUST fill authorization parameters.



              In my case:
              NAME: WarlibRegistry
              ADDRESS: warlibregistry.azurecr.io
              USERNAME & PASSWORD from the "Access keys" section of your container registry.






              share|improve this answer























                1












                1








                1






                I found the mistake. When I set the module I missed filling "Container Registry Settings". In the case of using your own container registry (not Microsoft), you MUST fill authorization parameters.



                In my case:
                NAME: WarlibRegistry
                ADDRESS: warlibregistry.azurecr.io
                USERNAME & PASSWORD from the "Access keys" section of your container registry.






                share|improve this answer












                I found the mistake. When I set the module I missed filling "Container Registry Settings". In the case of using your own container registry (not Microsoft), you MUST fill authorization parameters.



                In my case:
                NAME: WarlibRegistry
                ADDRESS: warlibregistry.azurecr.io
                USERNAME & PASSWORD from the "Access keys" section of your container registry.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 12 '18 at 7:30









                Andrey Fedorov

                92




                92



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53252741%2fedgelet-utils-get-https-warlibregistry-azurecr-io-v2-iot-edge-engine-simula%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Use pre created SQLite database for Android project in kotlin

                    Darth Vader #20

                    Ondo