Comments (2)
Hello, try giving your host more tries at booting the selfTest image by adding this to your /etc/systemd/system/codiusd.service file:
Environment="CODIUS_SELF_TEST_RETRIES=10"
from codiusd.
Hello, this was fixed using by setting the correct hostname on my server. But now my other server has the same issue. Codius upload tool says this: 504 Gateway Timeout: The codius host never responded to the request.
However when I do all updates for 1.2.5 and do
systemctl restart hyperd
systemctl restart nginx
systemctl restart codiusd && journalctl -u codiusd -f
I get the message that everything went perfect... but when I do a check of everything I get this.
`
codiusd
2018-08-22T20:54:33.671Z codiusd:App info starting codiusd...
2018-08-22T20:54:33.846Z connector:leveldown-store info initialize database. path=/var/lib/codius/connector.db
2018-08-22T20:54:33.850Z connector:route-broadcaster info generated random routing secret.
2018-08-22T20:54:33.859Z connector:accounts info add account. accountId=parent
2018-08-22T20:54:33.861Z connector:accounts info add account. accountId=child
2018-08-22T20:54:33.876Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=child
2018-08-22T20:54:33.876Z connector:accounts warn DEPRECATED: plugin accessed deprecated _store property. accountId=child
RTNETLINK answers: File exists
RTNETLINK answers: File exists
2018-08-22T20:54:33.903Z connector:balance-middleware warn (!!!) balance middleware NOT enabled for account, this account can spend UNLIMITED funds. accountId=parent
2018-08-22T20:54:33.905Z connector:balance-middleware warn (!!!) balance middleware NOT enabled for account, this account can spend UNLIMITED funds. accountId=child
2018-08-22T20:54:33.918Z connector:accounts info setting ilp address. oldAddress=unknown newAddress=g.mofu.child.ctTCsf9n7ttB4YpM-5y3w7m64clOjpnbbwqDh57QvEA.local.R_qa9ac0pyuAx0W1NHqNC9xWW9Lk3QPwzpFuX8YWBeE
2018-08-22T20:54:33.928Z connector:admin-api info listen called
2018-08-22T20:54:33.929Z connector:app info connector ready (republic attitude). address=g.mofu.child.ctTCsf9n7ttB4YpM-5y3w7m64clOjpnbbwqDh57QvEA.local.R_qa9ac0pyuAx0W1NHqNC9xWW9Lk3QPwzpFuX8YWBeE
2018-08-22T20:54:33.956Z codiusd:HttpServer info listening at https://codius.gaetanoherman.be
2018-08-22T20:54:33.991Z codiusd:SelfTest error { FetchError: request to https://codius.gaetanoherman.be/pods?duration=300 failed, reason: connect ECONNREFUSED 127.0.0.1:443
at ClientRequest. (/usr/lib/node_modules/codiusd/node_modules/node-fetch/lib/index.js:1345:11)
at ClientRequest.emit (events.js:182:13)
at TLSSocket.socketErrorListener (_http_client.js:391:9)
at TLSSocket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
message:
'request to https://codius.gaetanoherman.be/pods?duration=300 failed, reason: connect ECONNREFUSED 127.0.0.1:443',
type: 'system',
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED' }
2018-08-22T20:54:33.996Z codiusd:SelfTest error Error: Self test failed: Upload Status=false Http Connection=false WebSocket Connection=false
at SelfTest.run (/usr/lib/node_modules/codiusd/src/services/SelfTest.ts:202:13)
at process._tickCallback (internal/process/next_tick.js:68:7)`
from codiusd.
Related Issues (20)
- Feature request: Maintenance mode HOT 2
- Average load based on core count instead of lucky number HOT 1
- Check if host is full before taking payment for pod. HOT 1
- Generic questions on Codius HOT 4
- Transaction fee is higher than hosting income
- Codiusd requires CODIUS_PUBLIC_URI to be set HOT 27
- Minor issue in controller/static.ts for formatFreeMem HOT 1
- Request an user specific landing page HOT 2
- request: add last successful pod in /info
- request: allow contract version checking HOT 2
- Codius CNAME support HOT 2
- Peerfinder / peers is not working correctly with 1.2.3 HOT 2
- vars should be gaurded
- Feature Request: Provide Operational Metrics out of CodiusD in a Commonly Available, Standardized Format
- DEFAULT_BOOTSTRAP_PEERS needs updating HOT 1
- Codiusd times out / stops responding to request from Nginx HOT 16
- TypeError: Cannot read property 'length' of undefined
- hyperd depreciation HOT 2
- Host offline after updating to 1.1.3 HOT 4
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 codiusd.