682 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
94
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
141
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
99
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
131
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
0
answers
75
views
LimeSurvey upgrade to version 6.6.5 produces issues with export_responses API
I used LSRC2 JSON/RPC 2.0 API to connect to LimeSurvey and export the completed Surveys with LimeSurvey version 5.3.32 and C# as a programming language. I used the export_responses API method and ...
0
votes
0
answers
24
views
Get Request Headers in JSON RPC 2 in Dart
Please how do I get the headers of the incoming request in the following RPC 2 protocol?
import 'dart:io';
import 'package:json_rpc_2/json_rpc_2.dart';
import 'package:web_socket_channel/io.dart';
...
ololo's user avatar
- 2,190
0
votes
0
answers
23
views
Auto Client Reconnection to JSON RPC 2 Server in Dart
I have the following flutter client that connects to a Dart Server implemented with JSON RPC 2 protocol:
import 'dart:async';
import 'package:json_rpc_2/json_rpc_2.dart';
import 'package:...
0
votes
1
answer
371
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
429
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
57
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
309
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
178
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
234
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
260
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 ...