[ https://issues.apache.org/jira/browse/DRILL-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173544#comment-16173544 ]
ASF GitHub Bot commented on DRILL-5745: --------------------------------------- Github user arina-ielchiieva commented on the issue: https://github.com/apache/drill/pull/948 +1, LGTM. > 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 > Priority: Minor > Labels: ready-to-commit > Fix For: 1.12.0 > > > 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)