Comments (4)
Do you execute geth with that specific command? Could you go to your browser console and tell me the output
from explorer.
Ok so i'm actually in a command line environment so i did some minor changes to access it from outside.
Although i tried the vanilla settings with a cl browser and it didn't work aswell.
Running geth with:
/home/eth/geth --rpc --rpccorsdomain "http://0.0.0.0:8000" > /home/eth/.ethereum/gethlog.log 2>&1 &
And i changed this into package.json:
"start": "http-server ./app -a 45.32.184.76 -p 8000 -c-1",
To be honest i didn't think about looking at the js console, here's the output :
web3.min.js:2 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
2016-04-14 21:23:54.229 http://45.32.184.76:8000/bower_components/web3/dist/web3.min.js Failed to load resourcei.send @ web3.min.js:2
2016-04-14 21:23:54.315 http://45.32.184.76:8000/bower_components/web3/dist/web3.min.js Failed to load resourcei.send @ web3.min.js:2
2016-04-14 21:23:54.317 angular.js:12416Error: CONNECTION ERROR: Couldn't connect to node http://localhost:8545, is it running?
at Object.e.exports.InvalidConnection (web3.min.js:1)
at i.send (web3.min.js:2)
at s.send (web3.min.js:2)
at i.get (web3.min.js:2)
at new <anonymous> (mainController.js:4)
at Object.e [as invoke] (angular.js:4473)
at Q.instance (angular.js:9093)
at L (angular.js:8205)
at g (angular.js:7637)
at g (angular.js:7641)(anonymous function) @ angular.js:12416
2016-04-14 21:23:54.417 http://45.32.184.76:8000/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
Hope this helps, thanks for the quick response.
from explorer.
Geth needs to run on the client, not server side. Also, if you’re accessing the site in chrome as ’45.32.184.76:8000’, it you need to make the rpccorsdomain the same, because that’s how the geth knows to let requests from that domain through.
On Apr 14, 2016, at 12:32 PM, BitterLox [email protected] wrote:
Ok so i'm actually in a command line environment so i did some minor changes to access it from outside.
Although i tried the vanilla settings with a cl browser and it didn't work aswell.
Running geth with:
/home/eth/geth --rpc --rpccorsdomain "http://0.0.0.0:8000" > /home/eth/.ethereum/gethlog.log 2>&1 &And i changed this into package.json:
"start": "http-server ./app -a 45.32.184.76 -p 8000 -c-1",My chrome console outputs this:
web3.min.js:2 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
2016-04-14 21:23:54.229 http://45.32.184.76:8000/bower_components/web3/dist/web3.min.js Failed to load resourcei.send @ web3.min.js:2
2016-04-14 21:23:54.315 http://45.32.184.76:8000/bower_components/web3/dist/web3.min.js Failed to load resourcei.send @ web3.min.js:2
2016-04-14 21:23:54.317 angular.js:12416Error: CONNECTION ERROR: Couldn't connect to node http://localhost:8545, is it running?
at Object.e.exports.InvalidConnection (web3.min.js:1)
at i.send (web3.min.js:2)
at s.send (web3.min.js:2)
at i.get (web3.min.js:2)
at new (mainController.js:4)
at Object.e as invoke
at Q.instance (angular.js:9093)
at L (angular.js:8205)
at g (angular.js:7637)
at g (angular.js:7641)(anonymous function) @ angular.js:12416
2016-04-14 21:23:54.417 http://45.32.184.76:8000/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)
Hope this helps, thanks for the quick response.—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub #8 (comment)
from explorer.
Ok thanks for clearing it up.
from explorer.
Related Issues (20)
- Page http://localhost:8000 did not loaded on browser HOT 4
- Add transaction trace page
- crashed when open the page HOT 2
- npm install doesn't work. HOT 1
- How to create prod build HOT 1
- Run Public Site Without Exposing 8545 HOT 4
- Information about peers
- What version of nodejs and npm should you be using for this to operate/work/function?
- TypeError('The header content contains invalid characters') HOT 2
- Does it only run in google chrome ? I've try run it in firefox , ie and safari ,none of them work
- How to run it on mobile browser?
- Not show blocks HOT 1
- Welcome to use my explorer: http://eth.luchenqun.com/ HOT 1
- Etherparty Explorer deployed on IPFS HOT 1
- Errors while installing. geth -rpc -rpccorsdomain "http://localhost:8000"
- Cannot connect to chain on port other than 8545 HOT 1
- On URL reload gives 404 error
- How can I use the explorer if geth is inside a container?
- does not work with the version v1.10.17 of geth
- Still getting "Allow Access to Geth and Refresh the Page" 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 explorer.