Giter Club home page Giter Club logo

Comments (9)

akn9050 avatar akn9050 commented on May 19, 2024

PCS login is working now

from mcw-iot-and-the-smart-city.

akn9050 avatar akn9050 commented on May 19, 2024

there is one more issue after login with PCS during Solution deployment.

Issue: Stuck while running pcs command to deploy solution

Description

After running PCS command, provided solution name, after that selected subscription and press enter but after that nothing is happening.
snag_13113cfc

from mcw-iot-and-the-smart-city.

toddwhitehead avatar toddwhitehead commented on May 19, 2024

Confirmed same issue, after selecting subscription never prompted for location

from mcw-iot-and-the-smart-city.

akn9050 avatar akn9050 commented on May 19, 2024

yes

from mcw-iot-and-the-smart-city.

joelhulen avatar joelhulen commented on May 19, 2024

I believe this may be a problem with the provided VM. Could you please try the steps that lead to the PCS login from either a new VM (using Windows 10 or Server 2016 with the latest build of Visual Studio) or your own machine and see if you get past this? This will help verify the issue is with the specific VM image we are using.

from mcw-iot-and-the-smart-city.

toddwhitehead avatar toddwhitehead commented on May 19, 2024

The issue is an issue with the underlying pcs code (Azure/pcs-cli#414) which is actively being addressed and hopefully fixed soon.

from mcw-iot-and-the-smart-city.

toddwhitehead avatar toddwhitehead commented on May 19, 2024
      I believe this may be a problem with the provided VM. Could you please try the steps that lead to the PCS login from either a new VM (using Windows 10 or Server 2016 with the latest build of Visual Studio) or your own machine and see if you get past this? This will help verify the issue is with the specific VM image we are using.

Issue seems to be related to version of node installed in base image vm. I confirmed if you uninstall and install latest v8 (https://nodejs.org/dist/latest-v8.x/node-v8.14.0-win-x64.zip) version of node, pcs works as expected.

Interestingly the current docs for installing remote-mon locally (https://docs.microsoft.com/en-us/azure/iot-accelerators/iot-accelerators-remote-monitoring-deploy-local) note that node v8 is required and not to use v10.

I'm running this workshop early next week so will have to use this as a workaround until root cause can be identified.

from mcw-iot-and-the-smart-city.

joelhulen avatar joelhulen commented on May 19, 2024

Looks like the issue is now closed, yet it's not available until the next release: Azure/pcs-cli#414

from mcw-iot-and-the-smart-city.

akn9050 avatar akn9050 commented on May 19, 2024

This issue is no more. Facing issue in Exercise 3 task 5 when running simulator web app.

  1. In first run it was showing error environment variable PCS_IOTHUB_CONNSTRING not available. This is not described to add for WebService project in lab guide.

  2. After adding environment PCS_IOTHUB_CONNSTRING. Popup new error in 2nd run environment varible PCS_STORAGEADAPTER_WEBSERVICE_URL not available. I added this also.

  3. In 3rd run getting another error.
    ##Error
    System.NullReferenceException
    HResult=0x80004003
    Message=Object reference not set to an instance of an object.
    Source=Microsoft.Azure.IoTSolutions.DeviceSimulation.Services

  4. And in In Exercise 3 task 5.4, when doing get method for http://localhost:9003/v1/simulations/1. Then getting status 500 instead of 200.

from mcw-iot-and-the-smart-city.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.