The error "Response closed without grpc-status (Headers only)" typically indicates a problem with the gRPC connection.
Here are some general steps you can take:
1. Check your gRPC connection: Ensure that you have correctly configured your gRPC connection to the access nodes. The access node API URL should be correct.
2. Check the Access Node API URLs. The Access Nodes APIs hosted by DapperLabs are accessible at:
- Testnet
access.devnet.nodes.onflow.org:9000
- Mainnet
access.mainnet.nodes.onflow.org:9000
- Local Emulator
127.0.0.1:3569
Make sure you are using the correct URL for your needs. An error will be returned if the host is unreachable.
3. Check the rate limits: If you are using public (community) access nodes, be aware that there are rate limits. Once the limit has reached, the client will receive an RPC error ResourceExhausted in the gRPC response.
If the problem persists, you may want to consult the Flow documentation or reach out to the Flow community on Discord for further assistance.