question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

couldn't find service

See original GitHub issue
[root@VM-12-11-centos dapr]# dapr list
  APP ID    HTTP PORT  GRPC PORT  APP PORT  COMMAND               AGE  CREATED              PID   
  serviceb  92         40407      93        dotnet run --urls...  3m   2022-03-16 22:03.27  2152  
[root@VM-12-11-centos dapr]# dapr invoke --app-id serviceb --method do --verb GET
{"errorCode":"ERR_DIRECT_INVOKE","message":"fail to invoke, id: serviceb, err: couldn't find service: serviceb"}
✅  App invoked successfully
[root@VM-12-11-centos dapr]# dapr --version
CLI version: 1.6.0 
Runtime version: 1.6.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
darraghjonescommented, Feb 5, 2023

Hmmm…i found this in the logs:

[c4-dapr-game-manager-dapr_7589d6eb-8]: time="2023-02-05T21:54:27.403732Z" level=debug msg="no mDNS apps to refresh." app_id=c4-dapr-game-manager instance=DESKTOP-SE6C36R scope=dapr.contrib type=log ver=1.9.6

when i disconnected by VPN, things started working 😕

0reactions
darraghjonescommented, Feb 5, 2023

I’m having a similar issue (in my case I’m using tye, but I"m not sure that’s relevant)

C:\>dapr list
  APP ID                HTTP PORT  GRPC PORT  APP PORT  COMMAND  AGE  CREATED              PID
  c4-dapr-game-manager  62008      62007      61999              10m  2023-02-05 21:22.50  25552
  c4-dapr-web           62002      62001      61995              10m  2023-02-05 21:22.50  25020
  c4-dapr-actor-host    62005      62004      61997              10m  2023-02-05 21:22.50  44616

C:\>dapr invoke -a c4-dapr-game-manager -m games -v GET
error invoking app c4-dapr-game-manager: 500 Internal Server Error

C:\>curl http://localhost:62008/v1.0/invoke/c4-dapr-game-manager/method/games
{"errorCode":"ERR_DIRECT_INVOKE","message":"fail to invoke, id: c4-dapr-game-manager, err: couldn't find service: c4-dapr-game-manager"}

C:\>dapr -v
CLI version: 1.9.1
Runtime version: 1.9.6
Read more comments on GitHub >

github_iconTop Results From Across the Web

New Windows Service installed, fails to start: "System error ...
My built-in service installer uses three properties: ServiceName, ... On installing, I found that it writes a full-service path to the ...
Read more >
How to troubleshoot Windows Installer errors
The service should start without errors. Try to install or to uninstall again. Method 3: Check your version of Windows Installer, and upgrade...
Read more >
How to Fix the Windows Defender "The Service Couldn't ...
Type services.msc and click OK to open the Services app. Next, locate and right-click on Windows Defender Service or Windows Defender Firewall.
Read more >
We Couldn't Connect to the Update Service: Solved
We couldn't connect to the update service is an error message displayed when a new Windows update cannot be installed.
Read more >
Full Fixes – We Couldn't Connect to the Update Service ...
The first solution is to restart your Windows Update Service and see if that fixes the “we couldn't connect to the update service”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found