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

grpc-web cannot be used #1489

Open
COLUD4 opened this issue May 10, 2024 · 1 comment
Open

grpc-web cannot be used #1489

COLUD4 opened this issue May 10, 2024 · 1 comment
Labels

Comments

@COLUD4
Copy link

COLUD4 commented May 10, 2024

Hello! I have deployed a local node and I want to be able to use the grpc-web port. How should I set it up to use it?

app.toml
###############################################################################

gRPC Configuration

###############################################################################

[grpc]

Enable defines if the gRPC server should be enabled.

enable = true

Address defines the gRPC server address to bind to.

address = "0.0.0.0:9090"

MaxRecvMsgSize defines the max message size in bytes the server can receive.

The default value is 10MB.

max-recv-msg-size = "10485760"

MaxSendMsgSize defines the max message size in bytes the server can send.

The default value is math.MaxInt32.

max-send-msg-size = "2147483647"

###############################################################################

gRPC Web Configuration

###############################################################################

[grpc-web]

GRPCWebEnable defines if the gRPC-web should be enabled.

NOTE: gRPC must also be enabled, otherwise, this configuration is a no-op.

NOTE: gRPC-Web uses the same address as the API server.

enable = true

###############################################################################

Copy link

linear bot commented May 10, 2024

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

No branches or pull requests

1 participant