Code Monkey home page Code Monkey logo

Comments (4)

nayato avatar nayato commented on August 24, 2024

If you're running test without specifying standalone protocol gateway address, test output should have more details. Likely cause: protocol gateway has to be started as admin in order to provision its performance counters. Try running VS as admin or if you're using standalone protocol gateway - run that process as admin.

from azure-iot-protocol-gateway.

nayato avatar nayato commented on August 24, 2024

@icecog have you tried to verify my suspicion?

from azure-iot-protocol-gateway.

icecog avatar icecog commented on August 24, 2024

Terribly sorry Max, must have missed the first mail!

Yes, that did fix that right up! Thank you!

Such a simple problem, any way to detect this and provide a warning or a test for to bad devs like me?

from azure-iot-protocol-gateway.

palashsharma25 avatar palashsharma25 commented on August 24, 2024

Hi ,
I am getting the following error even after giving the address "127.0.0.1" and runing as administrator,Please help in resolving:
Test Name: Microsoft.Azure.Devices.ProtocolGateway.Tests.EndToEndTests.BasicFunctionalityTest
Test FullName: Microsoft.Azure.Devices.ProtocolGateway.Tests.EndToEndTests.BasicFunctionalityTest
Test Source: G:\azure-iot-protocol-gateway-master\test\ProtocolGateway.Tests\EndToEndTests.cs : line 179
Test Outcome: Failed
Test Duration: 0:05:17.968

Result StackTrace:
at Microsoft.Azure.Devices.ProtocolGateway.Tests.Extensions.TaskExtensions.d__1.MoveNext() in G:\azure-iot-protocol-gateway-master\test\ProtocolGateway.Tests\Extensions\TaskExtensions.cs:line 34
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.Azure.Devices.ProtocolGateway.Tests.EndToEndTests.d__26.MoveNext() in G:\azure-iot-protocol-gateway-master\test\ProtocolGateway.Tests\EndToEndTests.cs:line 273
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Result Message: System.TimeoutException : The operation has timed out.

from azure-iot-protocol-gateway.

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.