You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (Jira)" <ji...@apache.org> on 2021/05/07 01:06:00 UTC

[jira] [Resolved] (PHOENIX-6459) phoenixdb ignores cookies set by the server

     [ https://issues.apache.org/jira/browse/PHOENIX-6459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Elser resolved PHOENIX-6459.
---------------------------------
    Resolution: Fixed

> phoenixdb ignores cookies set by the server
> -------------------------------------------
>
>                 Key: PHOENIX-6459
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6459
>             Project: Phoenix
>          Issue Type: Bug
>          Components: python
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Major
>             Fix For: python-phoenixdb-1.0.1
>
>
> We saw an issue where phoenixdb was unable to communicate with PQS sitting behind Knox (post KNOX-843). We saw a situation where phoenixdb would try to openConnection() and then call connectionSync(). However, the connectionSync would fail, saying that the connection with the ID we just created doesn't exist.
> Reading KNOX-843 a little more closely, we can see that the implementation of the stickiness is dependent on a Knox cookie which Knox will set. Switching over to using the requests.Session seems to fix the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)