Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Michael Gerfen
    @gerfen
    When I try to "Build and Push to IotEdge Solution" from VS Code, I get an "Size of createOptions too big. The maxium size of createOptions is 4K" error. Any ideas on how to resolve the error?
    Michael Gerfen
    @gerfen
    FWIW, I've reviewed my deployment.template.json file and none of the "createOptions" are anywhere close to 4k in size.
    Wei Shen
    @adashen
    @gerfen there is a bug and we are fixing. The work around currently, is to remove the spaces and line breaks in your createOptions string. The fix will be released soon.
    Michael Gerfen
    @gerfen
    @adashen Thanks! I'll give it a try.
    Michael Gerfen
    @gerfen
    @adashen Removing the spaces and line breaks did indeed fix the issue. Thanks again!
    cdjc
    @cdjc
    Is there a way to have more than one deployment.template.json file? How would I enable the context menu for an alternative deployment file?
    cdjc
    @cdjc
    I see there's change in package.json to enable context-dependent commands on deployment.template.debug.json but this is not yet released (I'm using 1.5.1). I wonder why not make the regexp less strict: deployment.template(\..*)?.json
    Wei Shen
    @adashen
    @cdjc Thanks for the suggestion. The next release candidate will support mutiple deployment templates. (*.template.json) And you can trigger the build through command palette. Since these template files are not created/managed by our work flow and managed by the extension. We didn't give much shortcut there. But user have the freedom to trigger the commands through command palette.
    Eli
    @Scythen
    Hi all, just starting out with IoT Edge and I have a question about the modules folder in the VS Code solution. Is there any way to have the modules one level deeper? something like:
    modules
    --My1stModule
    ----module
    ----tests
    --My2ndModule
    ----module
    ----tests
    I would like to do this so that I can keep each module in a git repo and them map them into different solutions using git submodules.
    each repo would have its own tests project and module.
    Eli
    @Scythen
    I tried to add the extra level but the image placeholder in the deployment template does not seem to support this structure.
    Wei Shen
    @adashen
    @Scythen you can just put module.json directly under the Module folder. And make sure the docker file path and contextPath in it has correct reference. And project code could in deeper folder
    Marc Jacobi
    @obiwanjacobi
    Installed latest vscode extention (1.7.0) and ran pip install --upgrade iotedgehubdev but build edge solution still comes back with error: Unable to load the service index for source https://api.nuget.org/v3/index.json
    What am I missing?
    Ray Fang
    @LazarusX
    @obiwanjacobi what's the result of docker run --rm busybox ping api.nuget.org? Let's make sure internet is accessible within containers first.
    Marc Jacobi
    @obiwanjacobi
    @LazarusX Unable to find image 'busybox:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). See 'docker run --help'.
    Run from cmd prompt (not admin) Connection problem?
    Ray Fang
    @LazarusX
    @obiwanjacobi Yes. Look like your Docker daemon has issues with internet connection. It even failed to pull the busybox image.
    Marc Jacobi
    @obiwanjacobi
    @LazarusX Thanx for pointing me in the right direction. I could not find the problem so I reinstalled Docker and HyperV and that fixed it.
    I have a whole lot of (orphaned?) virtual network connections that may not help either... Thanx!
    Mohammadreza Sakhavar
    @MSProgrammer
    hey every one , merry xmas
    buddies , is this module take over on Edge view ?
    i want to modify edge file type , and want to VSCODE know it , is possible with this , module ?
    thak you all
    Wei Shen
    @adashen
    @MSProgrammer can you provide more information about "This module" and what is the "edge file type" ?
    Tayo Carvalhal
    @lucarv
    can't run simulator for solution, get:
    Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9229).
    Wei Shen
    @adashen
    Hi Tayo, Can you give more info where the error is shown. It seems a node debugger port. are you trying to attach to the port for node module?
    Tayo Carvalhal
    @lucarv
    it is shown in VSC as I followed the tutorial at https://docs.microsoft.com/en-us/azure/iot-edge/how-to-vs-code-develop-module step by step
    Wei Shen
    @adashen
    @lucarv Are you trying to attach to node module for debugging? If so please make sure you are using the debug flavor image of node module and port 9229 is accessible externally. You can verify this by opening http://<target-machine-IP>:9229/json on the debugger machine. This URL should show information about the Node.js module to be debugged.
    Mohammadreza Sakhavar
    @MSProgrammer
    شیسی
    SG
    @SaravananGajendran
    @MSProgrammer , I get access denied error when i start build the azure iot edge module from VS2019.. C:\Users\471231\Documents\Visual Studio 2019\iotedgehubdev\v0.13.0\iotedgehubdev start -d "C:\projects\poc\test-project\AzureIotEdgeApp1\obj\tmp_deployment_for_local_debug.json" .. Can you please help me on this
    SG
    @SaravananGajendran
    Hi, I get access denied error when i start build the azure iot edge module from VS2019.. C:\Users\471231\Documents\Visual Studio 2019\iotedgehubdev\v0.13.0\iotedgehubdev start -d "C:\projects\poc\test-project\AzureIotEdgeApp1\obj\tmp_deployment_for_local_debug.json" .. Can you please help me on this
    SG
    @SaravananGajendran
    @SaravananGajendran , The issue was my corporate antivirus was deleting the iotedgehuddev.exe and now its been excluded from the scanning list.