680 questions
Tooling
0
votes
5
replies
34
views
How can I make a Docker container running on Windows (WSL2) accessible from a Raspberry Pi on the same network?
I was running a WASP node (for IOTA) inside Docker on Windows using WSL2. I wanted to access its JSON-RPC API from a Raspberry Pi on the same local network. However, despite exposing ports in Docker, ...
0
votes
1
answer
96
views
How to access project's worksheet details via JSON RPC API?
I'm currently building a pipeline to integrate Odoo with one of my services. As part of this, I need to access the content of the worksheet linked to a project task.
I've been exploring the JSON-RPC ...
1
vote
1
answer
152
views
Correct format for JSONRPC for Clangd
I am attempting to send JSON to Clangd on my desktop using Python. I see in the terminal window that Clangd says:
I[15:52:46.580] Warning: Missing Content-Length header, or zero-length message.
"...
1
vote
1
answer
101
views
Is the ngx.socket.tcp() call limited in any way when called from an nginx location context?
I'm very new to using the local sock = ngx.socket.tcp() call that is provided by the nginx lua packages provided on Ubuntu Noble (i.e. the libnginx-mod-http-lua package). I've been able to get some ...
1
vote
1
answer
136
views
Odoo JsonRPC : Get m2m, m2o or one2many nested field with read method
With odoo jsonrpc default api, is there a way to get directly nested field content on odoo like many2many, many2one or one2many in a single read call :
{
"jsonrpc": "2.0",
&...
0
votes
1
answer
396
views
How to get live suggestions from an LSP like pyright and metals without any code editor
I am trying to create a web based code editor which can edit a single python file. Now while editing, i wanted to integrate pyright which is an LSP for python but i am unable to find any documentation ...
0
votes
1
answer
434
views
Making a Language Server Protocol (LSP) Client from scratch - no response from server
I have the following typescript code to launch the Deno Language Server and try to get it to format a file for me. However the lsp server never responds to my semantic token request. Am I doing ...
0
votes
1
answer
61
views
JSON-RPC v2 response result: is bool a valid return type?
I'm trying to determine what are the valid types for the JSON-RPC v2 response result.
According to the specification:
result
This member is REQUIRED on success. This member MUST NOT exist
if there ...
1
vote
1
answer
315
views
Connecting to a Typescript JSON RPC server via a Go client
I have a typescript JSON RPC server and a Go client. I followed various tutorials to set up the server and client, however I'm having trouble communicating between the two. I'm currently trying to ...
3
votes
1
answer
179
views
How to fix discrepancy in transaction nonce after Hedera Testnet reset?
Prior to the Testnet reset, the transaction nonce on an EVM account was being picked up correctly.
However, after the Testnet reset, there is a discrepancy:
eth_getTransactionCount(address, 'latest') ...
0
votes
1
answer
1k
views
JsonRpcProvider failed to detect network and cannot start up to deploy Smart contract using EthersJs to Ganache
SimpleStorage.sol
// I'm a comment!
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
// pragma solidity ^0.8.0;
// pragma solidity >=0.8.0 <0.9.0;
contract SimpleStorage {
uint256 ...
2
votes
1
answer
239
views
How can I catch errors on the server side of a jsonrpc server?
Suppose I have a basic golang jrpc server over tcp:
package main
import (
"fmt"
"net"
"net/rpc"
"net/rpc/jsonrpc"
)
type Arith int
type Args ...
0
votes
1
answer
262
views
JsonRpcProvider broadcasted sending function
Would you please give me advice on what is a method to broadcast my signed TX into the network? Can find any %send% method for provider instance
Here is my code snippet:
export async function ...
3
votes
0
answers
587
views
`The JSON-RPC connection with the remote party was lost before the request could complete.` error when I use ML.NET Model Builder
I am using .NET Model Builder to use ML.NET Text Classification. And whenever I click train, later it gives me an error saying The JSON-RPC connection with the remote party was lost before the request ...
0
votes
1
answer
184
views
asking the mempool to a bitcoin node on testnet via rpc and using the rust library hyper 1.1.0
I need to use bitcoin-rpc protocol to request the list of the transactions in the mempool to a running bitcoin node on testnet. I also need hyper for some specific reasons (I need a low level library)....