-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Issue with using port 3000 #868
Comments
if you change the webui flavor to vui is it still broken? |
(i want to know if is a client issue or something else) |
also (in webui) |
and generally troubleshoot-able issues are probably better off discussed in the discord, github isn't great for conversations |
This issue occurs when accessing via a browser from the external network. I tried changing the browser style to "vui," but it still didn't resolve the problem. Currently, I have resolved the issue by directly proxying port 4567 from the local network to port 4567 on the public network using Nginx. Therefore, my current assessment is that the WSS requests and the /api/graphql requests may be causing issues because they are directly reading the 4567 port set in the server address after being forwarded through the Nginx port. I believe this port should be the same as the browser's access port for it to make sense. Regarding Discord, I am currently unable to use it, but I will try to join when I use a personal device after some time. You know, the internet in China is not very convenient at certain times. |
you setup nginx to upgrade the connection? |
also why use 3000 and not 80 (or 443 if you setup ssl)? |
i cant speak for the default webui |
vui does not know, or care to know what port you are using, not will it change it |
so any redirecting that is happening is because you setup nginx wrong |
I upgraded the connection, but the upgrade was in vain due to the incorrect port for the request. If Nginx forwards from 4567 to 4567 for the upgrade, the connection works well. However, if it forwards from another port, such as 3000, to 4567 for the upgrade, it will fail. My proxy address is 3000, so the correct request should be: |
suwayomi isn't what is changing that to 4567, thats yr nginx setup doing some weird redirecting |
If that's the case, please close the issue. I will continue using port 4567, as port forwarding may not be suitable for this situation. |
forwarding with nginx on a different port works fine ive done it in the past, you probably just set it up wrong |
ok thanks I'm ready to redo it, this might be my personal mistake |
server {
include commonexpl.conf;
listen 443 ssl;
server_name tachidesk.*;
# you separate manifest.json to make pwa install work even with basic auth
location /manifest.json {
try_files $uri $uri/ /manifest.json;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
location / {
proxy_pass http://tachidesk:4567;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
# basic auth
auth_basic "Private Property";
auth_basic_user_file .htpasswd;
}
# ssl stuff
ssl_certificate /etc/letsencrypt/live/****/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/****/privkey.pem;
} is a simplified version of what i used to use |
I am currently using the configuration for port 4567, which is similar to this one. The usage is correct, and I can access it as soon as I enter. Thank you very much for your help. However, I will continue to research the situation of forwarding port 3000 to 4567. I will leave a message or join Discord later |
that one does 443(remote) to 4567(local) |
The issue I'm encountering hasn't even reached Nginx; the port in the requests made by the browser is incorrect from the start, and it's unrelated to Nginx. We're going in the wrong direction |
SUWAYOMI DOES NOT CHANGE THE PORT BY ITSELF |
the only ways it can use the wrong port are
|
its not 1 cause that cant happen in VUI and you had the same issue in VUI |
I'm sorry, I didn't realize that I needed to update the UI after modifying VUI. The problem is indeed resolved. It turns out I'm a bit of an idiot. You're the best, and I apologize for taking up your time. |
@schroda does webui not use the server address setting for the subscriptions? |
I'm very sorry; I didn't see the prompt to update the VUI. I had to manually update the UI in the "About" section. After updating the UI, all issues were resolved, and you had no errors. |
yea, i got that in yr last message. if part of webui is using a different address than elsewhere then there is an issue with webui that needs to be fixed. |
port 3000 is the default development port which will cause webUI to use 4567 as the servers port if not otherwise specified via the server address setting (settings > server > server address) |
@AndreasByrsting this issue was automatically closed because:
|
@AndreasByrsting this issue was not reopened because:
|
fixed with c42e51b |
Device information
Steps to reproduce
Expected behavior
requests use port 3000
Actual behavior
requets use port 4567
Other details
This is not a functional issue, so I did not write a ticket according to the format. Below are the problems I encountered during my first Docker deployment. Please assist me in addressing them.
Currently, the issue I am facing is that the address I access in my browser is https://comic.example:3000/. Apart from the GraphQL requests, all other requests are being correctly forwarded to the local network at 192.168.0.50:4567 via Nginx. However, the GraphQL and WebSocket requests keep trying to connect to https://comic.example:4567/api/graphql. The WSS requests are also being sent to port 4567, which is causing them to be unusable. I haven't found anywhere to modify this port (I am using the official Docker version 1.1.1). Could you please help me resolve this issue?
The text was updated successfully, but these errors were encountered: