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/04/30 19:08:00 UTC

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

Josh Elser created PHOENIX-6459:
-----------------------------------

             Summary: 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


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)