Skip to content
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] When using a non-80 or 443 port, the laf-server throws an error. #1830

Open
1 of 2 tasks
jveay opened this issue Jan 29, 2024 · 4 comments
Open
1 of 2 tasks

[bug] When using a non-80 or 443 port, the laf-server throws an error. #1830

jveay opened this issue Jan 29, 2024 · 4 comments

Comments

@jveay
Copy link
Contributor

jveay commented Jan 29, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Environment

Linux (self-host)

What happened

ERROR [BucketDomainTaskService] HttpError: HTTP request failed
image

How to reproduce

1/Modify ingress-nginx-controller to use ports other than 80 or 443.

2/Create a storage bucket.

image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@0fatal
Copy link
Contributor

0fatal commented Feb 4, 2024

image
you should change the conf of the mongodb collection Region

change the endpoint, add your port

@jveay
Copy link
Contributor Author

jveay commented Feb 15, 2024

@0fatal The storageconf port on the database side has been modified.

@0fatal
Copy link
Contributor

0fatal commented Feb 21, 2024

@jveay you cannot just modify the port in ingress controller. you should change the value of helm deployment.

Run the following command to reinstall nginx ingress

sealos run docker.io/labring/ingress-nginx:v1.8.1 \ -e HELM_OPTS="--set controller.hostNetwork=true --set controller.kind=DaemonSet --set controller.service.enabled=false --set hostPort.enabled=true --set hostPort.ports.http=80 --set hostPort.ports.https=443"

@jveay
Copy link
Contributor Author

jveay commented Feb 22, 2024

The error remains the same when modifying the Helm deployment configuration after redeploying according to the command.
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants