public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
	"Bertorello, Marco" <me@marcobertorello.it>,
	chris@itg.uy
Subject: Re: [PVE-User] New Mobile App
Date: Tue, 22 Sep 2020 20:18:55 +0200	[thread overview]
Message-ID: <989e0a2e-50f1-8e15-0378-b6b488dd45f8@proxmox.com> (raw)
In-Reply-To: <0eca6cfc-96c5-ab78-1dea-0e2dc2f043b7@marcobertorello.it>

On 22.09.20 16:18, Bertorello, Marco wrote:
> Hi PVE users, great news:
> 
> https://forum.proxmox.com/threads/new-mobile-app-for-proxmox-ve.76317/
> 
> Unfortunately, I cannot test this app because my servers are behind a
> reverse proxy running on standard 443/HTTPS port, while for the app
> https and :8006 are implied.
> 
> I hope this will change in future, the app seems very cool!

OK, I checked it. While in general other ports than 8006 work just
fine, there's a bug with the https 443 one.

The reason for this is that the dart Uri.hasPort[0] property is queried
when checking if the passed URL has no port added and thus the implied
8006 port should be added[1]. For https and port 443 the port is detected
as "default" and omitted, thus this is always false for that, argh!

So, if I do a reverse proxy on port 444 it works, on 444 not.

We'll fix this with the next release.

cheers,
Thomas

[0]: https://api.dart.dev/stable/2.9.1/dart-core/Uri/hasPort.html
[1]: https://git.proxmox.com/?p=flutter/proxmox_login_manager.git;a=blob;f=lib/proxmox_login_form.dart;h=2a4f5011279944ca508aeb69ed11f5d3d6a4ae36;hb=HEAD#l470





  parent reply	other threads:[~2020-09-22 18:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 14:18 Bertorello, Marco
2020-09-22 14:27 ` Chris Sutcliff
2020-09-22 14:44 ` tony
2020-09-22 15:44 ` Thomas Lamprecht
2020-09-22 18:18 ` Thomas Lamprecht [this message]
2020-09-23 16:18   ` Thomas Lamprecht
2020-09-23 17:30     ` Bertorello, Marco
2020-09-23 18:22     ` Gianni Milo
2020-09-24  6:09       ` Thomas Lamprecht
2020-09-24 11:10         ` tony

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=989e0a2e-50f1-8e15-0378-b6b488dd45f8@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=chris@itg.uy \
    --cc=me@marcobertorello.it \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal