Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:07
    wcs1only closed #334
  • 16:07
    wcs1only commented #334
  • 15:57
    wcs1only closed #402
  • 15:57
    wcs1only commented #402
  • 15:53
    wcs1only commented #461
  • 15:49
    wcs1only synchronize #461
  • 15:48

    wcs1only on master

    Update golang extension in devc… (compare)

  • 15:48
    wcs1only closed #463
  • Jul 31 00:59
    CodeMonkeyLeet opened #463
  • Jul 29 23:10
    wcs1only synchronize #460
  • Jul 29 23:10

    wcs1only on npm_and_yarn

    middleware quickstart: Fix erro… Update 1.3.0 release (#462) Merge branch 'master' into depe… (compare)

  • Jul 27 00:27

    wcs1only on release-1.3

    Update 1.3.0 release (compare)

  • Jul 26 23:51

    wcs1only on master

    Update 1.3.0 release (#462) (compare)

  • Jul 26 23:51
    wcs1only closed #462
  • Jul 26 23:08
    wcs1only synchronize #462
  • Jul 26 23:07
    wcs1only opened #462
  • Jul 26 23:07

    wcs1only on v1.3.0

    Update 1.3.0 release (compare)

  • Jul 23 23:35
    orizohar review_requested #461
  • Jul 23 23:35
    orizohar synchronize #461
  • Jul 23 19:00
    jasonviviano synchronize #461
Yaron Schneider
@yaron2
@alexthissen_twitter thanks but the credit for the compose demo goes to @jjcollinge :)
Piotr Jasiak
@jasiu001

@yaron2 there are logs from python dapr container:

time="2020-06-04T10:43:14.753592248Z" level=warning msg="either no actor state store or multiple actor state stores are specified in the configuration, actor stores specified: 0" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime type=log ver=0.7.1
time="2020-06-04T10:43:14.758082483Z" level=error msg="error getting topics from app: json: cannot unmarshal object into Go value of type string" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime type=log ver=0.7.1
time="2020-06-04T10:43:14.758268391Z" level=info msg="app is subscribed to the following topics: [ ]" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime type=log ver=0.7.1
time="2020-06-04T10:43:14.76157139Z" level=warning msg="redis streams: BUSYGROUP Consumer Group name already exists" instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.contrib type=log ver=0.7.1
time="2020-06-04T10:43:14.761621849Z" level=info msg="Initialized service discovery to kubernetes" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime type=log ver=0.7.1
time="2020-06-04T10:43:14.761704967Z" level=warning msg="actors: state store must be present to initialize the actor runtime" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime.actor type=log ver=0.7.1
time="2020-06-04T10:43:14.761724849Z" level=warning msg="failed to init actors: state store does not support transactions which actors require to save state - please see https://github.com/dapr/docs" app_id=python-subscriber instance=python-subscriber-854d6cd5d-nkmmb scope=dapr.runtime type=log ver=0.7.1

I skipped level=info messages

on node subscriber, I see the same issue
time="2020-06-04T10:43:16.020609301Z" level=error msg="error getting topics from app: json: cannot unmarshal object into Go value of type string" app_id=node-subscriber instance=node-subscriber-5795596d54-vm46j scope=dapr.runtime type=log ver=0.7.1
Piotr Jasiak
@jasiu001
react-form dapr container contains following error
time="2020-06-04T10:40:38.835240649Z" level=error msg="error getting topics from app: invalid character '<' looking for beginning of value" app_id=react-form instance=react-form-67bb587584-kg5n7 scope=dapr.runtime type=log ver=0.7.1
Yaron Schneider
@yaron2
@jasiu001 you are running the samples from master branch, they represent the master branch of the runtime. There's a change in subscriptions for 0.8.0, and you are using Dapr 0.7.1. Go to the samples repo and see the table with all the versions and click 0.7.0. then rerun the samples
Piotr Jasiak
@jasiu001
@yaron2 ok, now it works, thank you
Yaron Schneider
@yaron2
no prob @jasiu001
Nils Schmidt
@nachtmaar
Hi, am trying out an example for Azure EventHubs, I can already sent events to the binding, however when trying to read from the binding, I see the following error (in local mode): == DAPR == time="2020-06-25T14:29:41.812585+02:00" level=error msg="failed to init input bindings: app channel not initialized" app_id=input instance=C02XJ2RAJGH6 scope=dapr.runtime type=log ver=0.8.0. Any ideas what is wrong?
David Barkol
@dbarkol
@nachtmaar , any chance you can share your component file for the input binding (without the sensitive details)?
9 replies
LukePammant
@LukePammant
Anyone using F# or know where I can find an F# example? I'm starting to learn it and would like to use it in conjunction with Dapr and Actors
Moaid Hathot
@MoaidHathot
I'm trying to run a little sample that worked yesterday and dapr is failing with the wolloing error message. Nothing has changed and other components in dapr are working
Could not update sidecar metadata for cliPID: PUT http://127.0.0.1:4003/v1.0/metadata/cliPID giving up after 5 attempts
Updating metadata for app command: demo\Corona\output-service\run.bat
The component itself is a small Asp.Net Core 3.1 server and it seems it is starting up ok. Full log:
PS S:\Programming\Github\Architecture-next-2020-dapr> dapr run --app-id output-service --app-port 5004 --port 4003 demo\Corona\output-service\run.bat
Starting Dapr with id output-service. HTTP Port: 4003. gRPC Port: 53753
== APP ==

== APP == S:\Programming\Github\Architecture-next-2020-dapr>cd demo\Corona\output-service\src\Output-Service\Output-service

== APP ==

== APP == S:\Programming\Github\Architecture-next-2020-dapr\demo\Corona\output-service\src\Output-Service\Output-Service>dotnet run

== DAPR == time="2020-06-29T22:05:02.6386177+03:00" level=info msg="starting Dapr Runtime -- version 0.8.0 -- commit 74db927" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6386177+03:00" level=info msg="log level set to: info" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6386177+03:00" level=info msg="metrics server started on :53754/" app_id=output-service instance=Moaid scope=dapr.metrics type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6405553+03:00" level=info msg="loading default configuration" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6405553+03:00" level=info msg="standalone mode configured" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6405553+03:00" level=info msg="app id: output-service" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6405553+03:00" level=info msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6415546+03:00" level=info msg="found component statestore (state.redis)" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6415546+03:00" level=info msg="found component pubsub (pubsub.redis)" app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== DAPR == time="2020-06-29T22:05:02.6415546+03:00" level=info msg="application protocol: http. waiting on port 5004.  This will block until the app is listening on that port." app_id=output-service instance=Moaid scope=dapr.runtime type=log ver=0.8.0

== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Now listening on: https://localhost:5005

== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Now listening on: http://localhost:5006

== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Application started. Press Ctrl+C to shut down.

== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Hosting environment: Development

== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Content root path: S:\Programming\Github\Architecture-next-2020-dapr\demo\Corona\output-service\src\Output-Service\Output-Service

Could not update sidecar metadata for cliPID: PUT http://127.0.0.1:4003/v1.0/metadata/cliPID giving up after 5 attempts
Updating metadata for app command: demo\Corona\output-service\run.bat
== APP == info: Microsoft.Hosting.Lifetime[0]

== APP ==       Application is shutting down...

== APP == Terminate batch job (Y/N)?

Could not update sidecar metadata for appCommand: PUT http://127.0.0.1:4003/v1.0/metadata/appCommand giving up after 5 attempts
You're up and running! Both Dapr and your app logs will appear here.


terminated signal received: shutting down
Error exiting Dapr: TerminateProcess: Access is denied.
Error exiting App: TerminateProcess: Access is denied.
Moaid Hathot
@MoaidHathot
Found the issue. The port that Asp.Net core was using was different than what the sidecar was expecting.
Thanks!
524308450
@524308450
Hi, guys,Who can help me solve this problem?
2 replies
image.png
image.png
image.png
dairlair
@dairlair
Guys, I publish two similar events to the dapr. Both of them are handled by the same Flask application, just a two different routes. But one route receives data from Dapr with "datacontenttype":"application/json" and another route receives data with "datacontenttype":"text/plain". Why?
2 replies
Tugay Ersoy
@Admiralkheir
Hi, I have a problem with pub/sub messaging, Running 2 service on my local machine with local dapr, all have a different port (grpc, metrics, etc) one service published event then subscriber triggering and returning 500 (for testing pub/sub mechanism) after that I didn't notice any triggering for my subscriber but according to document, it must triggering again https://github.com/dapr/docs/tree/master/howto/consume-topic, help pls ty.
11 replies
Kai Walter
@KaiWalter
@programaka nice batch processing sample you showed in community call 22. AGIC https://docs.microsoft.com/en-us/azure/application-gateway/ingress-controller-overview would be a nice addition to make it 100% Azure w/o the need to host ingress in AKS.
Robert Lamberson
@R-Lamberson
Hello, I am using the dapr.aspnetcore component to attempt to setup a pub/sub scenario. I have it using azure service bus and registered the subscriptions successfully with that however it doesn't appear to be routing correctly. I am using the TopicAttribute and the HttpPost(route) to set the configuration information but the component doesn't appear to be posting to the correct location (receiving a 404 response and logging doesn't show the route pattern expected). Any thoughts on what could be causing the route metadata to not be used
2 replies
image.png
image.png
sandeep-eroad
@sandeep-eroad
is there a configuration file example to setup Postgres as state store?
I am using asp.net
Rakhimov Abdurasul
@war-and-peace
image.png
Did someone know how to setup devcontainer for visual studio code. I have tried to do it but got the above result. Does anybody know how to fix it?
victormarante
@victormarante

Hi, I just started experimenting with Dapr and ran in to this issue when following the quickstart guide on official docs:
Starting Dapr with id nodeapp. HTTP Port: 64731. gRPC Port: 64732
== DAPR == time="2020-10-08T13:25:11.0551615+02:00" level=info msg="starting Dapr Runtime -- version 0.11.2 -- commit c704551" app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0561613+02:00" level=info msg="log level set to: info" app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0561613+02:00" level=info msg="metrics server started on :64733/" app_id=nodeapp instance=WL11477 scope=dapr.metrics type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0571628+02:00" level=info msg="standalone mode configured" app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0571628+02:00" level=info msg="app id: nodeapp" app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0571628+02:00" level=info msg="mTLS is disabled. Skipping certificate request and tls validation" app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == DAPR == time="2020-10-08T13:25:11.0571628+02:00" level=info msg="application protocol: http. waiting on port 5000. This will block until the app is listening on that port." app_id=nodeapp instance=WL11477 scope=dapr.runtime type=log ver=0.11.2  == APP == System.ComponentModel.Win32Exception (5): Access is denied.  == APP == at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)  == APP == at System.Diagnostics.Process.Start()  == APP == at Microsoft.DotNet.Cli.Utils.Command.Execute()  == APP == at Microsoft.DotNet.Tools.Run.RunCommand.Execute()  == APP == at Microsoft.DotNet.Tools.Run.RunCommand.Run(String[] args)  == APP == at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)  == APP == at Microsoft.DotNet.Cli.Program.Main(String[] args)

I'm on Windows 10 and using self-hosted mode if that helps.

vinayada1
@vinayada1
@victormarante
System.ComponentModel.Win32Exception (5): Access is denied.  == APP == at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
Looks like some permissions issue. Could you check the permissions for your account?
David Aronchick
@aronchick
I'm running into a problem with this sample - dapr/python-sdk#126

``` grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "ERR_STATE_SAVE: BadRequest, Message: {"Errors":["The request payload is invalid. Ensure to provide a valid request payload."]}
ActivityId: e1e37248-e1df-4e7a-90b8-5e582feb6ece, Request URI: /apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, RequestStats:
RequestStartTime: 2020-10-11T22:04:31.6118857Z, RequestEndTime: 2020-10-11T22:04:31.6118857Z, Number of regions attempted:1
ResponseTime: 2020-10-11T22:04:31.6118857Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-eastus2-fd33.documents.azure.com:14107/apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, LSN: 13, GlobalCommittedLsn: 13, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 0, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 13, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert
, SDK: Microsoft.Azure.Documents.Common/2.11.0"
debug_error_string = "{"created":"@1602453871.615790094","description":"Error received from peer ipv6:[::1]:21000","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"ERR_STATE_SAVE: BadRequest, Message: {"Errors":["The request payload is invalid. Ensure to provide a valid request payload."]}\r\nActivityId: e1e37248-e1df-4e7a-90b8-5e582feb6ece, Request URI: /apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, RequestStats: \r\nRequestStartTime: 2020-10-11T22:04:31.6118857Z, RequestEndTime: 2020-10-11T22:04:31.6118857Z, Number of regions attempted:1\r\nResponseTime: 2020-10-11T22:04:31.6118857Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-eastus2-fd33.documents.azure.com:14107/apps/9d960ad9-f20b-4902-93d4-459ab6603ec2/services/bf335208-1012-4dec-9ebc-d42034d40ebd/partitions/528c1457-8af4-4f01-91c4-688140e63c6e/replicas/132468441018334959p/, LSN: 13, GlobalCommittedLsn: 13, PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 0, RequestCharge: 1.24, ItemLSN: -1, SessionToken: 13, UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert\r\n, SDK: Microsoft.Azure.Documents.Common/2.11.0","grpc_status":2}"

```

everything works when accessing via CLI and HTTP
Per Ökvist
@perokvist
Would it be possible to call an app not located on the same node as daprd from ACI ? Getting daprd running on ACI with components is demod here(https://github.com/mchmarny/dapr-demos/tree/master/dapr-aci), but could for ex pub/sub be used calling out ?
1 reply
Next, is the any sample using dapr on Web Apps (linux) with compose ?
Adam Nowak
@adam-nowak-vineti
As I understand it, for service invocation, Dapr presently only supports POST/GET/PUT/DELETE. Are there any plants to support PATCH? If not, is there a way or a plan for extending Dapr to support other Verbs?
Maciek Misztal
@mmisztal1980
hi all, I'm looking for an up-to-date sample on pub-sub using C#, preferably coverring the publisher and subscriber (in C#) - can anyone point me to some reading material?
RevathiNeminathan
@RevathiNeminathan
Hi , I am trying to launch dapr side car with blank application (dapr run --app-id myapp --dapr-http-port 3500) but side car is refusing connection to http port as well grpc .
1 reply
RevathiNeminathan
@RevathiNeminathan
Can anyone help me on tracing using zipkin inside kubernetes(minikube)? I added annotation to enable trace but I don't see tracing details in zipkin. Please find my yaml file below. Note: I can see tracing details for distributed- calculator , only problem with my simple dotnet core application. apiVersion: apps/v1
kind: Deployment
metadata:
name: subtract1app
labels:
app: subtract1app
spec:
replicas: 1
selector:
matchLabels:
app: subtract1app
template:
metadata:
labels:
app: subtract1app
annotations:
dapr.io/enabled: "true"
dapr.io/app-id: "subtract1app"
dapr.io/app-port: "7300"
dapr.io/config: "daprconfig"
spec:
containers:
  - name: subtract1app
    image: testdapr2:latest
    ports:
    - containerPort: 7300
    imagePullPolicy: Always
borag
@borag
Hi guys dapr.io/docs is getting 404
tuapuikia
@tuapuikia
I tried the https://github.com/dapr/quickstarts.git app. May I know how to achieve the redis stream exactly-once in dapr?
Sunkanmi Ijatuyi #CloudGist Youtuber
@nightworkerjs_twitter
Hello everyone
Please how can I dynamically set the query value of my inputbinding?
I need to take user input from a user interface and use it to query instead of setting the query value from the inputbinding.yaml file
MHatemAbdelhamid
@MHatemAbdelhamid

Hi Guys,
I am trying to implement a pub/sub using dapr
I always recieve empty message any clue why is this happening?

so for example when I publish a string:
await daprClient.PublishEventAsync<String>("pubsub", "topicName", "somedata");

I recieve it using http:

    [HttpPost("image/add")]
    public  async Task<ActionResult> recieveApi(String data)
    {


        Console.WriteLine("Data added");
        Console.WriteLine(data);
        return Ok() ;
    }

The subscriper API is triggered but with empty data, I have been in this error since a few days and can't find a solution.

any clue what might be causing this?
I tracked all the warning until, they are all solved but still nothing is recieved.
I am using redis as the pubsub.

Robert Chanphakeo
@RobertChanphakeo
@MHatemAbdelhamid same issue here, empty message
Aaron Crawfis
@AaronCrawfis

Please move to Dapr Discord

📢 The Dapr community has moved to Discord (https://aka.ms/dapr-discord). This Gitter community will no longer be monitored and maintained. Please post questions/comments over at Discord and we'll be happy to answer there!
Farhad Nowzari
@farhadnowzari
Hi everyone, I have an issue. I'm using dapr with dotnet core and has added the topic attribute to the endpoint but when I receive data through the topic the dto is empty it is like it is not initialize at all but when I do a post to the endpoint everything is fine. any ideas?