Giter Site home page Giter Site logo

Error in Assignment2 about dapr-workshop HOT 3 CLOSED

edwinvw avatar edwinvw commented on May 26, 2024
Error in Assignment2

from dapr-workshop.

Comments (3)

EdwinVW avatar EdwinVW commented on May 26, 2024

Hi @rawatmanish. Thank you for your interest in the workshop!

I have executed the steps in assignment 2 (with the same specs: Dapr CLI 1.7.1 , Dapr Runtime 1.7.3, .NET SDK 6.0.300) and was not able to reproduce the error. This is the log output I receive (as expected):

== APP == info: System.Net.Http.HttpClient.Default.LogicalHandler[100]
== APP ==       Start processing HTTP request GET http://localhost:3601/v1.0/invoke/vehicleregistrationservice/method/vehicleinfo/TX-TS-79
== APP == info: System.Net.Http.HttpClient.Default.ClientHandler[100]
== APP ==       Sending HTTP request GET http://localhost:3601/v1.0/invoke/vehicleregistrationservice/method/vehicleinfo/TX-TS-79
== APP == info: System.Net.Http.HttpClient.Default.ClientHandler[101]
== APP ==       Received HTTP response headers after 106.9157ms - 200
== APP == info: System.Net.Http.HttpClient.Default.LogicalHandler[101]
== APP ==       End processing HTTP request after 107.2138ms - 200
== APP == info: FineCollectionService.Controllers.CollectionController[0]
== APP ==       Sent speeding ticket to Andreas Trypaluk. Road: A12, Licensenumber: TX-TS-79, Vehicle: Mercedes C Class, Violation: 15 Km/h, Fine: 130 Euro, On: 10-09-2020 at 10:38:52.

Did you check the output of the VechicleRegistrationService? Did you see any errors there?

from dapr-workshop.

rawatmanish avatar rawatmanish commented on May 26, 2024

The above issue happensed in mac.( macOS Monterey 12.4). I tried in windows and it works

from dapr-workshop.

EdwinVW avatar EdwinVW commented on May 26, 2024

Did you check the output of the VechicleRegistrationService when running it on the Mac? Did you see any errors there?

Could you try and use 127.0.0.1 in stead of localhost as hostname in the URL on the Mac and try again?

This shoud be the URL then: http://127.0.0.1:3601/v1.0/invoke/vehicleregistrationservice/method/vehicleinfo/{licenseNumber}

from dapr-workshop.

Related Issues (17)

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.