question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TSSLSocket object has no attribute isOpen

See original GitHub issue

I got such error:

self = <thrift_sasl.TSaslClientTransport object at 0x7fc6bfa60ac8>

    def open(self):
>     if not self._trans.isOpen():
E     AttributeError: 'TSSLSocket' object has no attribute 'isOpen'

/usr/lib/python3.6/site-packages/thrift_sasl/__init__.py:67: AttributeError

Library versions:

impyla==0.14.0
thrift==0.11.0
thrift-sasl==0.3.0
thriftpy==0.3.9

Fixed this issue with changing library thrift-sasl==0.2.1

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Tagarcommented, Oct 23, 2019

I hope so too. Cloudera is taking lead on this. I have an open support case on this. Requesting thrift_sasl 0.4.0 release. Perhaps sometimes next week best case.

1reaction
tetamaocommented, Oct 14, 2019

still got the error 'TSSLSocket' object has no attribute 'isOpen' got new solutions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

'TSocket' object has no attribute 'isOpen' · Issue #268 - GitHub
Hello! I can't solve this problem with "AttributeError: 'TSocket' object has no attribute 'isOpen'" even with thrift_sasl == 0.2.1 ...
Read more >
impyla (0.14.0) ERROR - 'TSocket' object has no attribute ...
I had the same issue and useed the following packages: pip uninstall thrift-sasl pip uninstall impyla pip uninstall thrift pip install ...
Read more >
impyla (0.14.0) ERROR - 'TSocket' object has no attribute ...
Coding example for the question impyla (0.14.0) ERROR - 'TSocket' object has no attribute 'isOpen'
Read more >
Impyla kerberos based connection - Cloudera Community
AttributeError : 'TSocket' object has no attribute 'isOpen'. Where as the ... (-4) SASL(-4): no mechanism available: No worthy mechs found'").
Read more >
没有名为“thrift_sasl”的模块, Impala.error.hiveserver2error:重 ...
isOpen(): AttributeError: 'TSSLSocket' object has no attribute 'isOpen' 已经为测试设置了一个虚拟环境以确保我有隔离的包:。python中impyla包报'TSocket' has no ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found