You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2012/11/08 21:42:12 UTC
[jira] [Created] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Tyler Hobbs created THRIFT-1749:
-----------------------------------
Summary: Python TSSLSocket error handling obscures actual error
Key: THRIFT-1749
URL: https://issues.apache.org/jira/browse/THRIFT-1749
Project: Thrift
Issue Type: Bug
Components: Python - Library
Affects Versions: 0.9
Reporter: Tyler Hobbs
Assignee: Tyler Hobbs
If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell updated THRIFT-1749:
---------------------------------
Fix Version/s: 1.0
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Fix For: 1.0
>
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Tyler Hobbs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Hobbs updated THRIFT-1749:
--------------------------------
Patch Info: Patch Available
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496567#comment-13496567 ]
Hudson commented on THRIFT-1749:
--------------------------------
Integrated in Thrift #581 (See [https://builds.apache.org/job/Thrift/581/])
THRIFT-1749 Python TSSLSocket error handling obscures actual error
Patch: Tyler Hobbs (Revision 1407311)
Result = SUCCESS
roger : http://svn.apache.org/viewvc/?view=rev&rev=1407311
Files :
* /thrift/trunk/lib/py/src/transport/TSSLSocket.py
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Fix For: 1.0
>
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1749.
---------------------------------
Resolution: Fixed
Thanks Tyler!
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Tyler Hobbs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493611#comment-13493611 ]
Tyler Hobbs commented on THRIFT-1749:
-------------------------------------
No, thank you for the quick commit!
Should the fix version be marked as 1.0 (or 0.9.1, I'm not sure what the release plans are) here?
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1749) Python TSSLSocket error handling
obscures actual error
Posted by "Tyler Hobbs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Hobbs updated THRIFT-1749:
--------------------------------
Attachment: 1749-exc-message-v1.txt
Attached patch adds the original {{socket.error}} message to the {{TTransportException}} message.
> Python TSSLSocket error handling obscures actual error
> ------------------------------------------------------
>
> Key: THRIFT-1749
> URL: https://issues.apache.org/jira/browse/THRIFT-1749
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Affects Versions: 0.9
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Attachments: 1749-exc-message-v1.txt
>
>
> If there is an SSL error with TSSLSocket, such as an invalid certificate, a TTransportException is raised that doesn't include the original error message, making it impossible to diagnose the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira