dotnet / dotnet/aspnetcore

gRPC service fails when called from parent directory

Open
#53,223 0 comments 0 reactions 0 assignees View on GitHub
area-grpc
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

I am testing gRPC services, but am running into some trouble.

I am using the `grpc` template for the server and the documented client. I am using VS Code and am on Ubuntu 23.04 x64.

https://learn.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-8.0&tabs=visual-studio-code#create-the-greeter-client

If I launch the server as `./grpc`, everything works. If I launch it as `./child-directory/grpc`, it does not.

![image](https://github.com/dotnet/aspnetcore/assets/2608468/7ac8d4d5-188b-41cc-8b1a-d7543494d6fd)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.