Giter Site home page Giter Site logo

Comments (4)

s4w3d0ff avatar s4w3d0ff commented on May 23, 2024

When I try the mongoTicker.py example I get the following error:

2017-06-13T11:47:06-0700 dropping connection to peer tcp4:104.20.13.48:443 with abort=True: WebSocket opening handshake timeout (peer did not finish the opening handshake in time)

Since the WAMP application did not connect to the server, the ticker data isn't being updated. This is most likely the problem.

See #115

from python-poloniex.

hockeyadc avatar hockeyadc commented on May 23, 2024

I tried it again and added:

from twisted.internet.ssl import CertificateOptions options = CertificateOptions() app_runner = ApplicationRunner(u"wss://api.poloniex.com:443", u"realm1", ssl=options)

But now I get the error:
Traceback (most recent call last):
File "D:/Users/live/PycharmProjects/PoloniexMongoDB/Poloniex to DB.py", line 107, in
print("USDT_BTC: last= %s" % ticker()['last'])
TypeError: 'NoneType' object is not subscriptable

from python-poloniex.

amorallife avatar amorallife commented on May 23, 2024

@hockeyadc do you have spaces in your python filename? formatting might be trying to subscript a non string data type... or the channel isn't able to be subscribed to - hard to tell which its saying

from python-poloniex.

s4w3d0ff avatar s4w3d0ff commented on May 23, 2024

see #195

from python-poloniex.

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.