[haiku-bugs] Re: [Haiku] #11070: Webpositive won't open links for localhost on port other than 80

  • From: "jprostko" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Jul 2014 14:38:26 -0000

#11070: Webpositive won't open links for localhost on port other than 80
----------------------------------------+----------------------------
   Reporter:  jprostko                  |      Owner:  pulkomandy
       Type:  bug                       |     Status:  closed
   Priority:  normal                    |  Milestone:  R1/alpha5
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:  fixed                     |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Old description:

> Hello,
>
> I was using Fossil in Haiku, and noticed that its web interface via
> `fossil ui` no longer works in Web+.  (Note that `fossil ui`
> automatically launches Web+ after it is entered in the terminal.)
>
> I get the following error dialog box in Web+ after running `fossil ui`
> from the command line...
>
> '''Error loading http://localhost:8080/doc/tip/www/index.wiki: Connection
> refused'''
>

> If I run `fossil ui --port 80`, then it works perfectly.  Any port other
> than 80 results in the "connection refused" error message.  Qupzilla
> loads the URL just fine regardless of the port, so it only affects Web+.
> Also, using 127.0.0.1 instead of localhost does not at all remedy the
> problem, as I tried that as well to be thorough.
>
> Steps to reproduce:
>
> $ pkgman install fossil
> $ mkdir repos fossil
> $ cd repos
> $ fossil clone http://fossil-scm.org fossil.fsl
> $ cd ../fossil
> $ fossil open ../repos/fossil.fsl
> $ fossil ui
>

> Please note this is a GCC2 hybrid build, hrev47571, running HaikuWebKit
> 1.4.1-3.
>
> (The About window for Web+ needs updated, as it mentions HaikuWebKit
> 1.4.0 still.)

New description:

 Hello,

 I was using Fossil in Haiku, and noticed that its web interface via
 `fossil ui` no longer works in Web+.  (Note that `fossil ui` automatically
 launches Web+ after it is entered in the terminal.)

 I get the following error dialog box in Web+ after running `fossil ui`
 from the command line...

 '''Error loading http://localhost:8080/doc/tip/www/index.wiki: Connection
 refused'''


 If I run `fossil ui --port 80`, then it works perfectly.  Any port other
 than 80 results in the "connection refused" error message.  Qupzilla loads
 the URL just fine regardless of the port, so it only affects Web+.  Also,
 using 127.0.0.1 instead of localhost does not at all remedy the problem,
 as I tried that as well to be thorough.

 Steps to reproduce:

 $ pkgman install fossil
 $ mkdir repos fossil
 $ cd repos
 $ fossil clone http://fossil-scm.org fossil.fsl
 $ cd ../fossil
 $ fossil open ../repos/fossil.fsl
 $ fossil ui


 Please note this is a GCC2 hybrid build, hrev47571, running HaikuWebKit
 1.4.1-3.

 (The About window for Web+ needs updated, as it mentions HaikuWebKit 1.4.0
 still.)

--

Comment (by jprostko):

 Replying to [comment:4 pulkomandy]:
 > Ok, found the problem (on our side obviously). Fixed in hrev47586.
 Thanks for reporting!

 Thanks for the fix.  I probably could have been more thorough by trying to
 host a web server on port 8080 as well to check its behavior, but I am
 glad this was enough information for you to be able to solve the problem.

 Confirmed as fixed for me as well.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11070#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: