[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2019-02-25 Thread Sorabh Hamirwasia (JIRA)


[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16777405#comment-16777405
 ] 

Sorabh Hamirwasia commented on DRILL-6245:
--

[~harisekhon] - Can you provide exact steps and behavior to reproduce this 
issue. As explained by [~vdonapati] we see this issue only when Drill's 
webserver is moved from https to http endpoint.

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.17.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-28 Thread Hari Sekhon (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16417646#comment-16417646
 ] 

Hari Sekhon commented on DRILL-6245:


If I use a fresh browser such as Firefox or go Chrome Incognito to avoid using 
the existing cookie, log in again on the http login page (and I double checked 
it's http and not https, firefox even warned about it), then I am able to get 
to the query page normally.

What's weird if I don't think this node has ever been https so I don't 
understand how it could have gotten a secure cookie set.

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-27 Thread Venkata Jyothsna Donapati (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415907#comment-16415907
 ] 

Venkata Jyothsna Donapati commented on DRILL-6245:
--

[~harisekhon] No, This problem arises only when we try to establish a 
connection using https and then if we try to disable ssl and try to connect 
using http. Are you able to reproduce the issue otherwise too?

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-27 Thread Hari Sekhon (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415305#comment-16415305
 ] 

Hari Sekhon commented on DRILL-6245:


[~vdonapati] - What I don't understand is the login page is non-SSL on this dev 
cluster (I just double checked) and so it's not a case of going from https to 
http, it's http the whole time, both on the login page and the query page.

Is this a bug with Apache Drill trying to set a secure cookie when it should be 
setting a normal one?

Perhaps Drill is assuming SSL and always sets a secure cookie regardless 
without checking, thereby breaking authenticated non-SSL?

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-26 Thread Venkata Jyothsna Donapati (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16414207#comment-16414207
 ] 

Venkata Jyothsna Donapati commented on DRILL-6245:
--

[~shamirwasia] , [~karthikm], [~parthc]

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-26 Thread Venkata Jyothsna Donapati (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16414206#comment-16414206
 ] 

Venkata Jyothsna Donapati commented on DRILL-6245:
--

Yes, chrome prevents non secure hosts touching secure cookies. So when the 
https connection is established secure cookie is added. But when we try to 
establish a http connection after https connection, chrome prevents it from 
modifying the secure cookie and leads to this issue. Of course, manually 
deleting the secure cookie is resolving the issue.   

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-26 Thread Hari Sekhon (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16414109#comment-16414109
 ] 

Hari Sekhon commented on DRILL-6245:


I've got this same problem on MapR 5.2 with Drill 1.10 without SSL using Chrome 
65 (which according to the docs prevents setting secure cookies). This works 
fine in IE 11.

Some URL requests seemed to append jsessionid to the path, so trying the same 
explicitly on the /query path does allow that page to be returned:

http://host.domain.com:8047/query;jsessionid=

Of course submitting a query still kicks out to the Login page again but it 
does imply that the cookie isn't being sent back and forth so might be the 
above issue [~vdonapati] mentioned.

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Assignee: Venkata Jyothsna Donapati
>Priority: Minor
> Fix For: 1.14.0
>
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DRILL-6245) Clicking on anything redirects to main login page

2018-03-14 Thread Venkata Jyothsna Donapati (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-6245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16398936#comment-16398936
 ] 

Venkata Jyothsna Donapati commented on DRILL-6245:
--

This might the root cause: 
[https://stackoverflow.com/questions/2163828/reading-cookies-via-https-that-were-set-using-http]

> Clicking on anything redirects to main login page
> -
>
> Key: DRILL-6245
> URL: https://issues.apache.org/jira/browse/DRILL-6245
> Project: Apache Drill
>  Issue Type: Bug
>Reporter: Venkata Jyothsna Donapati
>Priority: Minor
>
> When the Drill Web UI is accessed using https and then by http protocol, the 
> Web UI is always trying to redirect to main login page if anything is clicked 
> on index page. However, this works fine if the cookies are cleared.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)