Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intermittent issue faced. any solution to this? #71

Open
shivamspj opened this issue Oct 27, 2021 · 0 comments
Open

intermittent issue faced. any solution to this? #71

shivamspj opened this issue Oct 27, 2021 · 0 comments

Comments

@shivamspj
Copy link

2021-10-26 15:02:51,606 : ERROR : Traceback (most recent call last):
File "websocket_app.py", line 306, in run_forever
File "websocket_app.py", line 53, in read
File "websocket_app.py", line 272, in read
File "websocket_core.py", line 344, in recv_data_frame
File "websocket_core.py", line 378, in recv_frame
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

` server_url = conf['SignalHubUrl']

        handler = logging.StreamHandler()

        handler.setLevel(logging.DEBUG)

        hub_connection = HubConnectionBuilder() \

            .with_url(server_url) \

            .configure_logging(logging.DEBUG, socket_trace=False,handler=handler) \

            .with_automatic_reconnect({

            "type": "interval",

            "keep_alive_interval": 10,

            "reconnect_interval": 5,

            "max_attempts": 50

        }).build()



        hub_connection.on_open(lambda: print("connection opened and handshake received ready to receive messages"))



        hub_connection.start()



        hub_connection.on("APINotificationGeo_worker_multi", self.api_signalling)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant