Incorrect response with RpcErrors
See original GitHub issueI have a problem with request validation: If request value is non-JsonRpc object(no version property) library return null value. At specification JSON-RPC 2.0 (https://www.jsonrpc.org/specification), if we can not parse or validate request, we sould return response object with error data
for req
for batch
i think problem in RpcRequestHandler.HandleRequestAsync on error request processing: if result has any error, we don`t should test id of default value
Issue Analytics
- State:
- Created 6 months ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
RPC error troubleshooting guidance - Windows Client
Learn how to troubleshoot Remote Procedure Call (RPC) errors that occur during computer-to-computer communication.
Read more >RPC errors - Forum - Server & Application Monitor (SAM)
This error can occur when the remote Server is unable to receive or respond to RPC Requests. Verify there is no firewall preventing...
Read more >How to Fix "The RPC Server is Unavailable" Error in ...
Method 2: Check the firewall on your computer. Firewalls can block traffic requested by RPC and therefore cause RPC server unavailable problem.
Read more >Troubleshooting “RPC Server Unavailable” Errors on ...
“ The RPC server is unavailable ” error appears on Windows when a communication error occurs between two computers in a network.
Read more >How to fix an “RPC server is unavailable” error
Possible solutions to RPC server unavailable error · 1. Search for the Services app and Open it. Open the Services app · 2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try https://github.com/edjCase/JsonRpc/releases/tag/5.1.7
For examlpe, if i send empty json “{}”, library is correct parse input, and return RpcRequestParseResult with null-value id. RpcRequestHandler.HandleRequestAsync not write responce, because responce no have id. In specification, if we have invalid request we MUST send responce with null id property.