drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-5745) Invalid "location" information in Drill web server
Date Wed, 20 Sep 2017 17:28:00 GMT

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

Arina Ielchiieva reassigned DRILL-5745:
---------------------------------------

    Assignee: Arina Ielchiieva

> Invalid "location" information in Drill web server
> --------------------------------------------------
>
>                 Key: DRILL-5745
>                 URL: https://issues.apache.org/jira/browse/DRILL-5745
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Web Server
>    Affects Versions: 1.11.0
>            Reporter: Paul Rogers
>            Assignee: Arina Ielchiieva
>            Priority: Minor
>
> The file {{ProfileResources.java}} has the following incorrect code line:
> {code}
>       this.location = "http://localhost:8047/profile/" + queryId + ".json";
> {code}
> This code makes three errors.
> 1. The "http" prefix ignores the fact that the Drillbit can have SSL enabled for the
web server.
> 2. In a browser, "localhost" refers to the the machine running the browser. This is valid
only if the browser runs on the same machine as the Drillbit, which is not, in general, true.
> 3. The port number is hardcoded to 8047, but it can be customized in the config file.
> Therefore, most of the time, the link won't work on a production server.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message