Comments (3)
Just noting that I also get this when running my oh-so-fancy new jade-service-runner-cli
(generated with the tool over at https://github.com/gregdhill/go-openrpc)
$ jade-service-runner-cli --http-addr 'http://localhost:8002' listServices
(
$ jade-service-runner-cli --help
This is an auto-generated CLI interface for an Open-RPC compliant API.
Open-RPC Version: 1.1.2
Run 'jade-service-runner-cli completion --help' to learn about auto-auto-completion! It's easy!
Usage:
jade-service-runner-cli [command]
Available Commands:
completion Generates bash completion scripts
help Help about any command
installService
listInstalledServices
listRunningServices
listServices
startService
Flags:
--config string config file (default is $HOME/.jade-service-runner-cli.yaml)
-h, --help help for jade-service-runner-cli
--http-addr string Address for JSON-RPC HTTP calls (default "http://localhost:8545")
-t, --toggle Help message for toggle
Use "jade-service-runner-cli [command] --help" for more information about a command.
)
from jade-service-runner.
seems pretty odd, maybe missing content type application/json ?
from jade-service-runner.
$ curl --max-time 5 -X POST -H 'Content-Type: application/json' -d '{"method": "listServices", "params":[], "id": "0"}' localhost:8002
curl: (28) Operation timed out after 5001 milliseconds with 0 bytes received
$ http --verbose --timeout 5 --json post http://localhost:8002 id=0 method=list_services params:=[] Content-Type:application/json
http: error: Request timed out (5.0s).
and the gen'd CLI is also definitely setting the header.
from jade-service-runner.
Related Issues (20)
- Feat: Jade Service Runner supports user defined RPC restrictions HOT 1
- installService example in README is missing version param
- Create a issue template for adding a new service to the config
- environments typo in openrpc.json for listServices(filter) HOT 2
- Error handling in jade-service-runner `serviceManager` HOT 1
- Feat: Service Runner needs to support resolving bad Manifest files
- ethereum network not working HOT 1
- something wrong with SERVICE_DIR caching (?) HOT 2
- ECONNREFUSED when -d=/external/media/ HOT 2
- Add more information about custom RPC services
- invalid args (noops) are ignored, not errored on
- configurable and separate DIRs for service concerns
- result has error in it HOT 2
- listing services with multiple names different versions errors HOT 1
- Add OpenETC and Hyperledger Besu node support HOT 1
- Update to latest core-geth HOT 1
- The automated release is failing 🚨 HOT 1
- How can i run jade-service-runner on https HOT 1
- ม.ร.ว.ณัชพล วงษ์เปลี่ยนผัน นานณัชพล วงษ์เปลี่ยนผัน
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jade-service-runner.