How to make the wallet "online" ?



  • @codelyoko201 config looks to me like it should work. the connection time out instead of refused plus the same results on other randomly chosen ports for that ip to me implies firewall. i am not familiar with Google Cloud Platform so am unable to help.

    hopefully someone else here is or sees something i am missing.

    i would try to setup another service on the vps just to test the firewall. say a python simpleHttp server one liner which should use the same type of traffic.

    sorry i wasn't much help on this.



  • what version of the wallet are you running?



  • @codelyoko201
    nxt.allowedBotHosts=*;



  • @Blago i've already do it. Restart the burst several time but not works



  • @Quibus said in How to make the wallet "online" ?:

    what version of the wallet are you running?

    1.2.7, i think so

    (p/s: how can I earn REPUTATION? the forum made me waiting ~3min before i can reply each)



  • You should concider using a newer version of the wallet. 1.2.7 is very old. 1.3.6cg is the latest.



  • @Quibus said in How to make the wallet "online" ?:

    1.3.6cg

    hmm, on the github i just see 1.2.9, so i just unzip these files and run again ?



  • @codelyoko201 said in How to make the wallet "online" ?:

    .2.9, so i just unzip these files and run again ?

    Yes 1.2.9 is much better then 1.2.7 atleast. That fork you are looking at has not been developed on for a long time either.



  • @Quibus the 1.6.6cg was made by PoC Consortium , and i reallyyy don't know them except a thread on bitcointalk.
    Anyway, it's worth a try if it use mysql. I'll update when i'm done 😃



  • @Quibus it's not worth trying, because some error occurred



  • Windows or linux?



  • @Quibus debian



  • you shoud do it like its described here

    https://package.cryptoguru.org/



  • @Quibus said in How to make the wallet "online" ?:

    you shoud do it like its described here

    https://package.cryptoguru.org/

    yes, i tried... everything was great until a big error appear 😞



  • Do you wanna share the error message?



  • @Quibus sorry for 3 days delay, but the forum is inaccessible with me ( CF keeps saying 5xx error)
    I've remove burstcoincg , but i've keep the logs

    [INFO] 2017-11-10 08:27:11 LoggerConfigurator - logging enabled
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.maxRollback = "1440"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.isTestnet = "false"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.isOffline = "false"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.dbUrl = "jdbc:mariadb://localhost:3306/burstwallet"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - burst.enableSqlMetrics = "false"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.dbUrl = "jdbc:mariadb://localhost:3306/burstwallet"
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.dbUsername not defined
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.dbPassword not defined
    [FINE] 2017-11-10 08:27:11 nxt.db.sql.Db - Database jdbc url set to: jdbc:mariadb://localhost:3306/burstwallet
    [INFO] 2017-11-10 08:27:11 nxt.Nxt - nxt.dbMaximumPoolSize = "10"
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - HikariPool-1 - configuration:
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - allowPoolSuspension.............false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - autoCommit......................false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - catalog.........................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - connectionInitSql..............."SET NAMES utf8mb4;"
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - connectionTestQuery.............none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - connectionTimeout...............30000
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - dataSource......................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - dataSourceClassName.............none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - dataSourceJNDI..................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - dataSourceProperties............{useUnicode=true, password=<masked>, prepStmtCacheSqlLimit=2048, characterEncoding=utf8mb4, rewriteBatchedStatements=true, cachePrepStmts=true, useServerPrepStmts=false, prepStmtCacheSize=250}
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - driverClassName.................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - healthCheckProperties...........{}
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - healthCheckRegistry.............none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - idleTimeout.....................600000
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - initializationFailFast..........true
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - initializationFailTimeout.......1
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - isolateInternalQueries..........false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - jdbc4ConnectionTest.............false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - jdbcUrl.........................jdbc:mariadb://localhost:3306/burstwallet
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - leakDetectionThreshold..........0
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - maxLifetime.....................1800000
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - maximumPoolSize.................10
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - metricRegistry..................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - metricsTrackerFactory...........none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - minimumIdle.....................10
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - password........................<masked>
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - poolName........................"HikariPool-1"
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - readOnly........................false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - registerMbeans..................false
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - scheduledExecutor...............none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - scheduledExecutorService........internal
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - schema..........................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - threadFactory...................internal
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - transactionIsolation............default
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - username........................none
    [FINE] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariConfig - validationTimeout...............5000
    [INFO] 2017-11-10 08:27:11 com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
    [FINE] 2017-11-10 08:27:12 com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Cannot acquire connection from data source
    java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'root'@'localhost' (using password: NO)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:154)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:118)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.throwException(ExceptionMapper.java:92)
    at org.mariadb.jdbc.Driver.connect(Driver.java:111)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:375)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:204)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:445)
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516)
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:116)
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:72)
    at nxt.db.sql.Db.<clinit>(Db.java:130)
    at nxt.Nxt$Init.<clinit>(Nxt.java:245)
    at nxt.Nxt.init(Nxt.java:202)
    at nxt.Nxt.main(Nxt.java:193)
    Caused by: java.sql.SQLException: Could not connect: Access denied for user 'root'@'localhost' (using password: NO)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:774)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:701)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:406)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1029)
    at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:483)
    at org.mariadb.jdbc.Driver.connect(Driver.java:106)
    ... 11 more
    [SEVERE] 2017-11-10 08:27:13 com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
    java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'root'@'localhost' (using password: NO)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:154)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:118)
    at org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.throwException(ExceptionMapper.java:92)
    at org.mariadb.jdbc.Driver.connect(Driver.java:111)
    at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
    at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:375)
    at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:204)
    at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:445)
    at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516)
    at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:116)
    at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:72)
    at nxt.db.sql.Db.<clinit>(Db.java:130)
    at nxt.Nxt$Init.<clinit>(Nxt.java:245)
    at nxt.Nxt.init(Nxt.java:202)
    at nxt.Nxt.main(Nxt.java:193)
    Caused by: java.sql.SQLException: Could not connect: Access denied for user 'root'@'localhost' (using password: NO)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:774)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:701)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:406)
    at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1029)
    at org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:483)
    at org.mariadb.jdbc.Driver.connect(Driver.java:106)
    ... 11 more
    

    So, when I run the installer, it asks me for connection to database, and i've done with it, and change from the .conf does not work.

    The 1.2.9 wallet, i followed Vassilis's advice, change the port from 8125 to 8080 and it works!



  • @codelyoko201 said in How to make the wallet "online" ?:

    for user 'root'@'localhost' (using password: NO)

    Did you answer yes during install when it offered you to create the things for you using dbconfig-common
    if not run: dpkg-reconfigure burstcoincg

    But if you have it running now thats great.