taxmeifyoucan / eth-rpc-proxy Goto Github PK
View Code? Open in Web Editor NEWAutomatized setup for providing public Ethereum RPC endpoint
Automatized setup for providing public Ethereum RPC endpoint
hi y'all, i'm using this on a fresh Ubuntu VPS but having issues with the nginx proxy. after configuring everything and starting it, i can see letsencrypt creating the cert for my configured domain, and dShackle connecting to my rpc node successfully.
yet i can't access it remotely. neither mydomain.com/networkId
nor myIp:443/networkId
work. e.g. sending
curl -X POST "https://mydomain.com/networkId" \
-H "Content-Type: application/json" \
--data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'
results in curl: (7) Failed to connect to [...] port 443 after 159 ms: Connection refused
, and on the server it says
[error] 23#23: *5 open() "/usr/share/nginx/html/networkId" failed (2: No such file or directory), client: [...], server: localhost, request: "POST /networkId HTTP/1.1", host: "mydomain.com"
if i send the request directly to the rpc node, it works fine. dshackle shows the correct block height of the network in the logs, so i assume it's something with the nginx config not proxying the request correctly.
could you please help me and point me in the right direction?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.