SelfhostedPro / Yacht

A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.
MIT License
3.34k stars 158 forks source link

[Bug Report] "Not Found: undefined" when trying to log in #711

Closed Betonhaus closed 2 weeks ago

Betonhaus commented 2 weeks ago

Describe the bug When attempting to log in to the page, a red error message labelled "Not Found: undefined" pops up and login fails

To Reproduce Steps to reproduce the behavior: go to the page when it's proxied to /yacht on the server

Expected behavior login completes and application is useable

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context reversed proxied through Nginx Proxy Manger, with the following custom code:

location /yacht/ {
    proxy_pass http://yacht:8000/;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
}
Betonhaus commented 2 weeks ago

i see github has a malware problem now

Betonhaus commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

wickedyoda commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

Try reporting the post, I already remove dthe links.

Betonhaus commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

Try reporting the post, I already remove dthe links.

I could only report two before I was blocked from reporting more

SelfhostedPro commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

You could definitely try rancher if that’s what you’d prefer. They have different target audiences though.

Betonhaus commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

You could definitely try rancher if that’s what you’d prefer. They have different target audiences though.

I was mostly alarmed by the spam. I was trying to check out RTancher but it does seem to be different then what I need. Yacht works perfectly, I just wish i could put it behind a proxy with a different base url

SelfhostedPro commented 2 weeks ago

You should be able to. It’s just a matter of setting up the proxy correctly. Can you check to see what url network requests in your browser go to when you click login (should be to /yacht/api/ with the config you’re using.

wickedyoda commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

You could definitely try rancher if that’s what you’d prefer. They have different target audiences though.

I was mostly alarmed by the spam. I was trying to check out RTancher but it does seem to be different then what I need. Yacht works perfectly, I just wish i could put it behind a proxy with a different base url

Ill follow up tomorrow, I run mine on an AWS system thats ubuntu with docker, then only thing I have exposed in the nginx container 80 and 443. But I access my yacht container by a https://subdomain.domain.url by pointing it internally to the internal IP of the AWS system and port of yacht. I can link the container for nginx and my settings tomorrow. But I dont change the api settings in the config, i leave them as they are.

wickedyoda commented 2 weeks ago

maybe I should be trying Rancher, this project having such a bad spammer problem is alarming

You could definitely try rancher if that’s what you’d prefer. They have different target audiences though.

I was mostly alarmed by the spam. I was trying to check out RTancher but it does seem to be different then what I need. Yacht works perfectly, I just wish i could put it behind a proxy with a different base url

I normally watch github pretty close and get messages about most of the stuff posted through discord webhooks, but I hadnt seen those messages and they are rare. I have seen them spam other repos before but this is the first time for ours.

Betonhaus commented 2 weeks ago

to be honest it was the first time I had seen these spammers and I didn't understand why they were on this specific repo. I was trying to think why they would be on this particular one and I guess I made false assumptions.

it looks like yacht works fine when you proxy it to a normal subdomain (like yacht.mysite.com instead of mysite.com/yacht) which I suppose is the accepted practice, so there is really nothing buggy on yacht aside from not being intended for a rare and improper use case

wickedyoda commented 2 weeks ago

We have a discord if you would like to join and speak directly, https://discord.gg/JfsebxqKDW