{"action":"created","issue":{"url":"https://api.github.com/repos/peatio/peatio/issues/409","labels_url":"https://api.github.com/repos/peatio/peatio/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/peatio/peatio/issues/409/comments","events_url":"https://api.github.com/repos/peatio/peatio/issues/409/events","html_url":"https://github.com/peatio/peatio/issues/409","id":55382325,"number":409,"title":"I can not withdraw cryptocoins...","user":{"login":"italiangirl","id":10442353,"avatar_url":"https://avatars.githubusercontent.com/u/10442353?v=3","gravatar_id":"","url":"https://api.github.com/users/italiangirl","html_url":"https://github.com/italiangirl","followers_url":"https://api.github.com/users/italiangirl/followers","following_url":"https://api.github.com/users/italiangirl/following{/other_user}","gists_url":"https://api.github.com/users/italiangirl/gists{/gist_id}","starred_url":"https://api.github.com/users/italiangirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/italiangirl/subscriptions","organizations_url":"https://api.github.com/users/italiangirl/orgs","repos_url":"https://api.github.com/users/italiangirl/repos","events_url":"https://api.github.com/users/italiangirl/events{/privacy}","received_events_url":"https://api.github.com/users/italiangirl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-01-24T19:41:29Z","updated_at":"2015-01-31T23:44:27Z","closed_at":null,"body":"hello :)\r\n\r\ni have set everything up in production environment and runs well.\r\nDepositing cryptocoins (for example dogecoins) is working perfectly.\r\n\r\nBUT, I am trying to withdraw coins now, and its completely unsuccessfully.\r\n\r\nI do fill in the form to withdraw coins, and enter the freshly generated google authenticator password but then I get this error:\r\n\r\nWe're sorry, but something went wrong.\r\n\r\nthe interesting thing is, I only get this error when  I am entering the true authenticator password.\r\n\r\nWhen I do enter intentionally a wrong authenticator password, then it says \r\n\r\nTwo factor authentication failed.\r\n\r\nwhich is expected.\r\n\r\nWhat can i do to fix this to withdraw coins? \r\nActually I would also prefer to deactivate sms, google auth if it makes it easier.\r\n\r\nnow I checked the daemons: bundle exec rake daemons:status\r\nbut all running.\r\n\r\nstats.rb: running [pid 21382]\r\npeatio:amqp:notification: running [pid 21390]\r\npeatio:amqp:order_processor:1: running [pid 21402]\r\npeatio:amqp:market_data: running [pid 21410]\r\nglobal_state.rb: running [pid 21418]\r\nk.rb: running [pid 21426]\r\npeatio:amqp:trade_executor:1: running [pid 21438]\r\nhot_wallets.rb: running [pid 21446]\r\nwithdraw_audit.rb: running [pid 21488]\r\npeatio:amqp:deposit_coin: running [pid 21498]\r\npeatio:amqp:withdraw_coin: running [pid 21528]\r\npayment_transaction.rb: running [pid 21572]\r\npeatio:amqp:pusher:1: running [pid 21596]\r\npeatio:amqp:matching: running [pid 21624]\r\nwebsocket_api.rb: running [pid 21632]\r\n\r\n\r\n_________________________\r\nthis is my currencies.yml:\r\n\r\n- id: 1\r\n  key: renminbi\r\n  code: cny\r\n  symbol: \"¥\"\r\n  coin: false\r\n  assets:\r\n    accounts:\r\n      -\r\n        bank: '招商银行'\r\n        address: '6225 0885 6022 3501'\r\n        password: '111111'\r\n        tel: '95555'\r\n- id: 2\r\n  key: satoshi\r\n  code: btc\r\n  symbol: \"฿\"\r\n  coin: true\r\n  quick_withdraw_max: 5000\r\n  rpc: http://doge-supermann:freundlich99@127.0.0.1:22555\r\n  blockchain: https://dogechain.info/tx/#{txid}\r\n  address_url: https://dogechain.info/address/#{address}\r\n  assets:\r\n    accounts:\r\n      -\r\n        address: DT37NjkpULDHtQ2vxKYCAvm2W391kgLr4w\r\n\r\n_____________-\r\n\r\nand this is dogecoin.conf\r\n\r\nserver=1\r\ndaemon=1\r\nlisten=1\r\n\r\nrpcallowip=127.0.0.1\r\n\r\nrpcuser=doge-supermann\r\nrpcpassword=freundlich99\r\nrpcssl=0\r\n\r\ntestnet=0\r\n\r\naddnode=dogepool.pw\r\n\r\nmaxconnections=20\r\n\r\nwalletnotify=/usr/local/sbin/rabbitmqadmin publish routing_key=peatio.deposit.coin payload='{\"txid\":\"%s\", \"channel_key\":\"satoshi\"}'\r\n\r\n--"},"comment":{"url":"https://api.github.com/repos/peatio/peatio/issues/comments/72343047","html_url":"https://github.com/peatio/peatio/issues/409#issuecomment-72343047","issue_url":"https://api.github.com/repos/peatio/peatio/issues/409","id":72343047,"user":{"login":"italiangirl","id":10442353,"avatar_url":"https://avatars.githubusercontent.com/u/10442353?v=3","gravatar_id":"","url":"https://api.github.com/users/italiangirl","html_url":"https://github.com/italiangirl","followers_url":"https://api.github.com/users/italiangirl/followers","following_url":"https://api.github.com/users/italiangirl/following{/other_user}","gists_url":"https://api.github.com/users/italiangirl/gists{/gist_id}","starred_url":"https://api.github.com/users/italiangirl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/italiangirl/subscriptions","organizations_url":"https://api.github.com/users/italiangirl/orgs","repos_url":"https://api.github.com/users/italiangirl/repos","events_url":"https://api.github.com/users/italiangirl/events{/privacy}","received_events_url":"https://api.github.com/users/italiangirl/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T23:44:27Z","updated_at":"2015-01-31T23:44:27Z","body":"@foalford \r\n\r\nthanks!! this particular problem is now solved.\r\nBut I still can not withdraw coins. \r\n\r\nDo you know what these errors in the log-files mean?\r\npeatio:amqp:withdraw_coin.log:\r\n\r\n\r\nE, [2015-02-01T00:05:44.047085 #2883] ERROR -- : Resource temporarily unavailable - read would block (IO::EAGAINWaitReadable)\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/cruby/socket.rb:41:in `read_nonblock'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/cruby/socket.rb:41:in `block in read_fully'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/cruby/socket.rb:40:in `loop'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/cruby/socket.rb:40:in `read_fully'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/transport.rb:199:in `read_next_frame'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/reader_loop.rb:63:in `run_once'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/reader_loop.rb:33:in `block in run_loop'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/reader_loop.rb:30:in `loop'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/bunny-1.2.1/lib/bunny/reader_loop.rb:30:in `run_loop'\r\n______________________________________________________________________\r\n\r\nwithdraw_audit.rb.log:\r\n\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/querying.rb:36:in `find_by_sql'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/relation.rb:587:in `exec_queries'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/relation.rb:471:in `load'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/relation.rb:220:in `to_a'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/relation/delegation.rb:12:in `each'\r\n/home/peatio/lib/daemons/withdraw_audit.rb:17:in `<top (required)>'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/application.rb:203:in `load'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/application.rb:203:in `start_load'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/application.rb:298:in `start'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/controller.rb:70:in `run'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons.rb:147:in `block in run'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `call'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons/cmdline.rb:109:in `catch_exceptions'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-1.1.9/lib/daemons.rb:146:in `run'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/daemons-rails-1.2.1/lib/daemons/rails.rb:16:in `run'\r\nlib/daemons/withdraw_audit_ctl:6:in `<main>'\r\nI, [2015-02-01T00:05:42.819738 #2820]  INFO -- : *** below you find all exception objects found in memory, some of them may have been thrown in your application, others may just be in memory because they are standard exceptions ***\r\nE, [2015-02-01T00:05:42.820389 #2820] ERROR -- : stream closed (IOError)\r\n\r\nE, [2015-02-01T00:05:42.820509 #2820] ERROR -- : failed to allocate memory (NoMemoryError)\r\n\r\nE, [2015-02-01T00:05:42.820559 #2820] ERROR -- : stack level too deep (SystemStackError)\r\n\r\nE, [2015-02-01T00:05:42.820718 #2820] ERROR -- : exception reentered (fatal)\r\n\r\nE, [2015-02-01T00:05:42.831751 #2820] ERROR -- : Value will be available once the pipeline executes. (Redis::FutureNotReady)\r\n\r\nE, [2015-02-01T00:05:42.839272 #2820] ERROR -- : Mysql2::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2): SELECT `withdraws`.* FROM `withdraws`  WHERE `withdraws`.`aasm_state` = 'submitted' (ActiveRecord::StatementInvalid)\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `query'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `block in execute'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract_adapter.rb:442:in `block in log'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n/home/peatio/vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.12/lib/active_record/connection_adapters/abstract_adapter.rb:437:in `log'"}}