Giter Club home page Giter Club logo

Comments (10)

shal avatar shal commented on July 24, 2024

Closed via https://github.com/rubykube/peatio/issues/1182

from workbench.

rraallvv avatar rraallvv commented on July 24, 2024

@jdowning100 I'm having this issue with Peatio 1-8-stable, all daemons seem to be working, and I can create an address with jsonrpc. Still Peatio is not showing the generated addresses, nor showing any error on the logs.

$ god status
amqp:deposit_coin: up
amqp:deposit_coin_address: up
amqp:market_ticker: up
amqp:matching: up
amqp:order_processor: up
amqp:pusher_market: up
amqp:pusher_member: up
amqp:slave_book: up
amqp:trade_executor: up
amqp:withdraw_coin: up
coins: up
global_state: up
hot_wallets: up
k: up
payment_transaction: up
websocket_api: up
withdraw_audit: up
$ curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getnewaddress", "params": [] }' -H 'content-type: text/plain;' http://user:password@localhost:8332
{"result":"37q6EnJdWg7jWFhJQdg4YGoxbWnm4CTqKM","error":null,"id":"curltest"}

from workbench.

rraallvv avatar rraallvv commented on July 24, 2024

By the way, would this issue have to do with whether URL_SCHEME and FORCE_SECURE_CONNECTION are https and 'true' respectively in config/application.yml? Where can I see if the bitcoin daemon is receiving those jsonrpc requests?

from workbench.

Joan1590 avatar Joan1590 commented on July 24, 2024

Hi !, I installed this code,

I Can Solved your Questions, The problem with bitcoin is, cause the rpc no allow your docker IP, then, you need add the IP to the bitcoin.conf,

example:

printtoconsole=1

server=1
listen=1
daemon=1

rpcallowip=172.18.0.255/0
rpcuser=admin
rpcpassword=changeme

@rraallvv
@jdowning100

from workbench.

rraallvv avatar rraallvv commented on July 24, 2024

@Joan1590 Thanks. Although in my case I think that's not what causes the problem, I can get a new address using curl, both, with BTC and also with ETH via JSONRPC.

from workbench.

Joan1590 avatar Joan1590 commented on July 24, 2024

@rraallvv the IP for docker is different that your VPS or your Server, you can see the docker log, with that command "docker logs workbench_deposit_coin_address_1"
i see the error 403 in there, I guess that is.

from workbench.

rraallvv avatar rraallvv commented on July 24, 2024

Can you check if the request was made via HTTPS?

I'm suspecting the 403 responce has to do with option config.force_ssl in config/environments/production.rb and the environment var FORCE_SECURE_CONNECTION because in my case it's working with RAILS_ENV=development

from workbench.

Joan1590 avatar Joan1590 commented on July 24, 2024

The request was made via http, not https

from workbench.

rraallvv avatar rraallvv commented on July 24, 2024

Hmm... thanks, I'll take a closer look to the logs then. I was enable to enable the logger for production too.

from workbench.

asadhayat1068 avatar asadhayat1068 commented on July 24, 2024

Having the same problem. Have you guys solved this??

from workbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.