unknown bio failure


  • Hi @admin and fellow traders,

    Today around 15:01 I got this error unknown bio failure and then HearBeat failure.

    2021-02-22T15:00:00, Short Stop loss modifed to, 14857.63
    FUT-NSE-NIFTY-25FEB21, 2021-02-22 15:00:00, 14739.05, 14741.6, 14722.5, 14725.1, 47850.0, 0, 14824.84, 14725.1, 14727.8, 14726.45, 2.7
    OPT-NSE-NIFTY-25FEB21-15000-CE, 2021-02-22 15:00:00, 31.0, 31.0, 27.55, 28.5, 302850.0, 0, 60.53, 28.35, 28.5, 28.4, 0.15
    OPT-NSE-NIFTY-25FEB21-15000-PE, 2021-02-22 15:00:00, 290.0, 303.95, 288.95, 303.3, 25275.0, 75, 200.51, 302.05, 303.6, 302.85, 1.55
    2021-02-22T15:01:00, Short Stop loss modifed to, 14859.17
    FUT-NSE-NIFTY-25FEB21, 2021-02-22 15:01:00, 14727.45, 14727.45, 14720.0, 14727.3, 23250.0, 0, 14824.48, 14724.2, 14727.3, 14725.75, 3.1
    OPT-NSE-NIFTY-25FEB21-15000-CE, 2021-02-22 15:01:00, 28.5, 28.95, 28.35, 28.6, 130425.0, 0, 60.43, 28.75, 28.85, 28.8, 0.1
    OPT-NSE-NIFTY-25FEB21-15000-PE, 2021-02-22 15:01:00, 304.0, 308.05, 302.45, 302.9, 51975.0, 75, 200.69, 303.0, 303.65, 303.3, 0.65
    Unhandled Error
    Traceback (most recent call last):
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/python/log.py", line 103, in callWithLogger
        return callWithContext({"system": lp}, func, *args, **kw)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/python/log.py", line 86, in callWithContext
        return context.call({ILogContext: newCtx}, func, *args, **kw)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/python/context.py", line 122, in callWithContext
        return self.currentContext().callWithContext(ctx, func, *args, **kw)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/python/context.py", line 85, in callWithContext
        return func(*args,**kw)
    --- <exception caught here> ---
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
        why = selectable.doRead()
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/internet/tcp.py", line 243, in doRead
        return self._dataReceived(data)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
        rval = self.protocol.dataReceived(data)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/protocols/tls.py", line 330, in dataReceived
        self._flushReceiveBIO()
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/protocols/tls.py", line 300, in _flushReceiveBIO
        self._flushSendBIO()
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/twisted/protocols/tls.py", line 252, in _flushSendBIO
        bytes = self._tlsConnection.bio_read(2 ** 15)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/OpenSSL/SSL.py", line 1888, in bio_read
        self._handle_bio_errors(self._from_ssl, result)
      File "/software/Anaconda/3.8/lib/python3.8/site-packages/OpenSSL/SSL.py", line 1863, in _handle_bio_errors
        raise ValueError("unknown bio failure")
    builtins.ValueError: unknown bio failure
    
    HeartBeats Failed
    

    It was working fine last weeks and only today it gave such an error. Did this happen to anyone.. I checked the network and thats not the issue.

    Any help/idea would be greatly appreciated.


  • Dear @pavank @rajanprabu our team is working on websocket we will update you once it is fixed.


  • @rajanprabu @admin I'm facing the same issue since last week every 10-15 min.

    please do needful