Broken URL for HTTP(S) connection

Post Reply
jrb
Starting out
Posts: 37
Joined: Thu Feb 03, 2011 5:40 am

Broken URL for HTTP(S) connection

Post by jrb »

When clicking on the Notes Station button on the desktop the redirected web page goes to https://xxxx.myqnapcloud.com:8085/qnote. The 8085 port is either hard coded as it's not my configured port or perhaps just a random number.

The configured port is the standard SSL port 443.

Temp fix change the URL manually to the correct port http://xxxx.myqnapcloud.com/qnote/.

QNAP please fix this basic item.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Broken URL for HTTP(S) connection

Post by pwilson »

jrb wrote:When clicking on the Notes Station button on the desktop the redirected web page goes to https://xxxx.myqnapcloud.com:8085/qnote. The 8085 port is either hard coded as it's not my configured port or perhaps just a random number.

The configured port is the standard SSL port 443.

Temp fix change the URL manually to the correct port http://xxxx.myqnapcloud.com/qnote/.

QNAP please fix this basic item.
There is nothing wrong with this "basic item". this issue is caused by "you" . It is using whatever port "you" configured for it:
Image

By default this is Port 8081/TCP. Sounds like you changed the WebServer SSL port from the default 8081/TCP to 8085/TCP for whatever reason.
Check with http://canyouseeme.org to ensure that port 8085/TCP is open in your Router, and that it is port-forwarded to your NAS.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
jrb
Starting out
Posts: 37
Joined: Thu Feb 03, 2011 5:40 am

Re: Broken URL for HTTP(S) connection

Post by jrb »

The configured port is 443 - when changing the port number the URL doesn't update accordingly. Not sure where the port reference 8085 is actually coming from. Not part of my setup! For reference phpMyAdmin has the same issue.

This issue only occurs when logged into QTS on HTTPS (443) connection. When trying on the standard web port (80) without making any changes to the configuration the icon buttons work. Seems to be isolated when using the HTTPS connection only. In the old firmware terminal it gave you a manual choice to select the appropriate URL (HTTP or HTTPS) where the script takes care of it now but it seems to be broken somewhere. It is pulling the port number 8085 from somewhere!
Capture.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Broken URL for HTTP(S) connection

Post by pwilson »

jrb wrote:The configured port is 443 - when changing the port number the URL doesn't update accordingly. Not sure where the port reference 8085 is actually coming from. Not part of my setup! For reference phpMyAdmin has the same issue.

This issue only occurs when logged into QTS on HTTPS (443) connection. When trying on the standard web port (80) without making any changes to the configuration the icon buttons work. Seems to be isolated when using the HTTPS connection only. In the old firmware terminal it gave you a manual choice to select the appropriate URL (HTTP or HTTPS) where the script takes care of it now but it seems to be broken somewhere. It is pulling the port number 8085 from somewhere!
Capture.JPG
Notes Station runs on WebServer, not on Admin WebUI.

Default HTTP: 80
Default HTTPS: 8081

Check the screenshot provided the first time. Check out the Web Server section of the fine manual. It will confirm the information I provided, in fact it will show you the identical screenshot I provided.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
jrb
Starting out
Posts: 37
Joined: Thu Feb 03, 2011 5:40 am

Re: Broken URL for HTTP(S) connection

Post by jrb »

Notes Station runs on WebServer, not on Admin WebUI
Yes you are correct - that's the problem. I mistakenly thought that all QNAP apps were on the Admin WebUI server. Photo, File, Music, Video, Download and Surveillance stations are all on the same webserver so there must be a reason why Note is on the other server.

From a personal perspective it would be better if all the apps were on the same webserver so you don't need to open another hole in the firewall.
qdrop
New here
Posts: 7
Joined: Mon Mar 02, 2015 7:00 pm

Re: Broken URL for HTTP(S) connection

Post by qdrop »

jrb wrote:From a personal perspective it would be better if all the apps were on the same webserver so you don't need to open another hole in the firewall.
+1

check this link here:

http://forum.qnap.com/viewtopic.php?f=24&t=103803

Rgds
User avatar
marshalleq
Easy as a breeze
Posts: 303
Joined: Mon Jul 23, 2012 2:44 pm
Contact:

Re: Broken URL for HTTP(S) connection

Post by marshalleq »

In case anyone else has this problem, it seems that the QNotes application actually auto selects the wrong port ((443) in my case) when using SSL. I had to go into the app and manually set 8081 for the external port in there, then external access worked fine. Of course you need your firewall rule to match.
TS669-L (3GB RAM) fw 4.3.2.0050 Build 20170104 with 6x4TB Seagate ST4000VN000-1H41SC43 2x2TB Hitachi HDS723020BLA642 2x8TB ST8000VN0022-2EL112
QNAP UX-500P External 5 Bay USB3 Expansion Cabinet
Raspberry Pi 1,2 & 3
Mac Mini
Apple TV 3/4
Windows
Sabayon Linux
Ubuntu Linux
Android
Docker
Ryzen 1800x custom system

Web
https://www.tech-knowhow.com

Twitter
@Marshalleq
@TechKn0wH0w
Post Reply

Return to “Notes Station”