Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet api running with https urls won't show in Dashboard; is it normal ? #207

Open
vRITHNER opened this issue May 19, 2022 · 0 comments
Open

Comments

@vRITHNER
Copy link

Ask your question here

Hello,
I quite new to Dapr and I'm playing with the distributed-calculator tutorial;
all applications are running fine except the csharp one:
dapr run --app-id subtractapp --app-port 7001 --dapr-http-port 3504 dotnet Subtract.dll
in the frontend, a subtract operation trashes the frontend app:
d

ata: {
== APP == errorCode: 'ERR_DIRECT_INVOKE',
== APP == message: 'fail to invoke, id: subtractapp, err: rpc error: code = Internal desc = app channel is not initialized'

from postman, a direct call return this:
{
"errorCode": "ERR_DIRECT_INVOKE",
"message": "invoke API is not ready"
}

From there, I came back to app root folder and I run :
dapr run --app-id subtractapp --app-port 7001 --dapr-http-port 3504 dotnet run
The frontend still crash but with a different error:

{
"errorCode": "ERR_DIRECT_INVOKE",
"message": "fail to invoke, id: subtractapp, err: the server closed connection before returning the first response byte. Make sure the server returns 'Connection: close' response header before closing the connection"
}
I figured out it should be related to https url endpoint so this time, I run :
dapr run --app-id subtractapp --app-port 7001 --dapr-http-port 3504 dotnet run --app-ssl

This time it worked fine from both Postman or Frontend

Everything is working fine but I can't see the SSL app in the Dashboard
Question: is it normal ?

Thanks
-Vince

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant