Giter VIP home page Giter VIP logo

requestsws's Introduction

Hi ๐Ÿ‘‹, I'm Jonathan

A developer from Denmark ๐Ÿ‡ฉ๐Ÿ‡ฐ

  • ๐Ÿ”ญ Iโ€™m currently primarily working on Better Lectio

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available on my Github

  • ๐Ÿ“ซ You can reach me on my Discord

My Discord:

Discord Presence

My Github stats:



requestsws's People

Contributors

jona799t avatar smartmanoj avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

smartmanoj

requestsws's Issues

Broken pipe

Exception ignored in thread started by: <bound method Session.heartbeat of <requestsWS.session.Session object at 0x7fd3f66d3fa0>>
Traceback (most recent call last):
  File "/home/ssh-key-2021-12-25/.local/lib/python3.8/site-packages/requestsWS/session.py", line 149, in heartbeat
    self.ws.send(payload)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 242, in send
    return self.send_frame(frame)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 267, in send_frame
    l = self._send(data)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 437, in _send
    return send(self.sock, data)
  File "/usr/lib/python3/dist-packages/websocket/_socket.py", line 117, in send
    return sock.send(data)
  File "/usr/lib/python3.8/ssl.py", line 1173, in send
    return self._sslobj.write(data)
BrokenPipeError: [Errno 32] Broken pipe

def keepConnection(self, wsUrl, interval, data=None, json=None):

keepConnection should reconnect if server closed

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.