Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - oddhome

#1
Error
====================
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 76, in connect
    self.connection.connect()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/websocket.py", line 32, in connect
    proxy_type = self.proxy_type
  File "/usr/local/lib/python3.5/dist-packages/websocket/_core.py", line 220, in connect
    options.pop('socket', None))
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 126, in connect
    sock = _ssl_socket(sock, options.sslopt, hostname)
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 253, in _ssl_socket
    sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname)
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 232, in _wrap_sni_socket
    server_hostname=hostname,
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 76, in connect
    self.connection.connect()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/websocket.py", line 32, in connect
    proxy_type = self.proxy_type
  File "/usr/local/lib/python3.5/dist-packages/websocket/_core.py", line 220, in connect
    options.pop('socket', None))
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 126, in connect
    sock = _ssl_socket(sock, options.sslopt, hostname)
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 253, in _ssl_socket
    sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname)
  File "/usr/local/lib/python3.5/dist-packages/websocket/_http.py", line 232, in _wrap_sni_socket
    server_hostname=hostname,
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bot_trade_cryptobridge.py", line 100, in <module>
    keys={"active": wif, "owner": wif, "memo": wif}
  File "/root/.local/lib/python3.5/site-packages/bitshares-0.2.1-py3.5.egg/bitshares/bitshares.py", line 148, in __init__
  File "/root/.local/lib/python3.5/site-packages/bitshares-0.2.1-py3.5.egg/bitshares/bitshares.py", line 181, in connect
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 46, in __init__
    self.connect()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 80, in connect
    self.next()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 136, in next
    self.connect()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 80, in connect
    self.next()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 135, in next
    self.url = self.find_next()
  File "/usr/local/lib/python3.5/dist-packages/grapheneapi/api.py", line 116, in find_next
    raise NumRetriesReached
grapheneapi.exceptions.NumRetriesReached
#2
please guide me to dev for pybitshares withdraw BTC to external wallet
#3
Thank you very much. it work.
#4
i can run on my desktop work successful and upload to server run fail please help


Traceback (most recent call last):
  File "/var/web/tools/bot_trade_cryptobridge.py", line 65, in <module>
    print(market.sell(bid, amount))
  File "/usr/local/lib/python3.5/dist-packages/bitshares/market.py", line 513, in sell
    tx = self.bitshares.finalizeOp(order, account["name"], "active")
  File "/usr/local/lib/python3.5/dist-packages/bitshares/bitshares.py", line 292, in finalizeOp
    self.txbuffer.sign()
  File "/usr/local/lib/python3.5/dist-packages/bitshares/transactionbuilder.py", line 347, in sign
    signedtx.sign(self.wifs, chain=self.bitshares.rpc.chain_params)
  File "/usr/local/lib/python3.5/dist-packages/bitsharesbase/signedtransactions.py", line 21, in sign
    return super(Signed_Transaction, self).sign(wifkeys, chain)
  File "/usr/local/lib/python3.5/dist-packages/graphenebase/signedtransactions.py", line 186, in sign
    signature = sign_message(self.message, wif)
  File "/usr/local/lib/python3.5/dist-packages/graphenebase/ecdsa.py", line 180, in sign_message
    private_key = ec.derive_private_key(int(repr(priv_key), 16), ec.SECP256K1(), default_backend())
AttributeError: module 'cryptography.hazmat.primitives.asymmetric.ec' has no attribute 'derive_private_key'