Comments (4)
Which methods have you overridden?
Perhaps you are missing try/except in your code?
from python-bittrex-websocket.
It looks like i just need to call enable_log() to show the errors.
It seems that few errors trigger the on_error() function. What types of errors is this for?
from python-bittrex-websocket.
Related to wrong signalr invoking, what errors are you getting?
from python-bittrex-websocket.
The only errors I get through on_error() is for disconnections.
[2019-01-30 08:23:36,125][ERROR] Exception = <class 'websocket._exceptions.WebSocketConnectionClosedException'>, Message = .
[2019-01-29 06:56:18,279][ERROR] Connection timeout after 10 seconds. Sending a reconnection signal.
[2019-01-29 06:57:48,579][ERROR]
Unhandled Exception = <class 'requests.exceptions.HTTPError'>, Message = <524 Server Error: Origin Time-out for url: https://socket.bittrex.com/signalr/negotiate?connectionData=%5B%7B%22name%22%3A+%22c2%22%7D%5D&clientProtocol=1.5>.
Auto-reconnection is disabled for unhandled exceptions.
Report to https://github.com/slazarov/python-bittrex-websocket.
These aren't a problem though. I think I have fixed my problem by enabling log.
It would be useful to have an on_close() that runs when auto-reconnection is disabled. That way I could restart the connection manually. Right now I am intercepting log messages to alert my app that the websocket is closed. Having on_close() would just be cleaner with less code.
from python-bittrex-websocket.
Related Issues (20)
- QueryExchangeState Market Name is None. HOT 9
- Nonetype object not subscriptable HOT 1
- SubscribeToSummaryDeltas error HOT 2
- SSL Fail HOT 27
- Example not finished properly on Ubuntu HOT 4
- Are updates to Order Book provided in real-time or using a polling interval? HOT 3
- Authentication and trade executions HOT 2
- authenticate callback exception HOT 9
- SSL: CERTIFICATE_VERIFY_FAILED HOT 7
- SubscribeToSummaryDeltas read operation timed out
- ImportError: cannot import name 'six' HOT 1
- on monitoring new listings HOT 2
- Lastest price bug HOT 2
- Unhandled Exception <[Errno 104] Connection reset by peer> HOT 2
- Unhandled Exception Message = <'PassthroughUuid'> HOT 1
- AttributeError: 'ReconnectEvent' object has no attribute 'invoke' HOT 1
- Issue with IndexError after authenticate() HOT 1
- Auto-reconnection is disabled for unhandled exceptions when calling ws.query_summary_state()
- Websockets code to get tickers doesn't work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-bittrex-websocket.