Jump to content
linuxserver.io

[Support] Linuxserver.io - Heimdall

188 posts in this topic Last Reply

Recommended Posts

17 minutes ago, Hoopster said:

The behavior you are seeing would seem to indicate that port 80 externally is somehow being redirected to port 280 internally.

 

I dont have anything in my router like that.  Could it somehow be related to the reverse proxy? 

 

 

Edited by SPOautos

Share this post


Link to post
3 minutes ago, SPOautos said:

I dont have anything in my router like that.  Could it somehow be related to the reverse proxy?

Perhaps.  I am no expert on reverse proxy/SWAG so, unfortunately, I could not tell you what to look for there.  Perhaps someone with more experience there will chime in on this thread.

 

I do all my remote access to Docker container WebUIs via WireGuard as it is not frequent.

Share this post


Link to post
4 minutes ago, Hoopster said:

Perhaps.  I am no expert on reverse proxy/SWAG so, unfortunately, I could not tell you what to look for there.  Perhaps someone with more experience there will chime in on this thread.

 

I do all my remote access to Docker container WebUIs via WireGuard as it is not frequent.

 

In the file appdata/heimdall/nginx/site-confs it has "listen 80 default_server listen 443 ssl; "  Does that do anything related to my Heimdall and port 80?

 

 

Edited by SPOautos

Share this post


Link to post
2 minutes ago, SPOautos said:

 

In the file appdata/heimdall/nginx/site-confs it has "listen 80 default_server listen 443 ssl; "  Does that do anything related to my Heimdall and port 80?

Yeah, mine says the same.  I don't think that's it.  I have had Heimdall running on both server IP address:port and now under a completely separate IP address and in both cases everything behaved as it should. Remote access always displayed unRAID GUI.

 

Reverse proxy is the only difference as I have never implemented that. 

Share this post


Link to post
3 minutes ago, Hoopster said:

Yeah, mine says the same.  I don't think that's it.  I have had Heimdall running on both server IP address:port and now under a completely separate IP address and in both cases everything behaved as it should. Remote access always displayed unRAID GUI.

 

Reverse proxy is the only difference as I have never implemented that. 

 

How do you put Heimdall on a completely seperate IP address?  Maybe I should consider doing that

Share this post


Link to post
Just now, SPOautos said:

 

How do you put Heimdall on a completely seperate IP address?  Maybe I should consider doing that

I set up a VLAN (192.168.3.x) following this guide.  UnRAID server is on 192.168.1.x LAN

 

VLAN shows up as br0.3 in Docker container network type.  Once selected, you can assign a fixed IP address (as I do) or let the VLAN DHCP assign it.

 

image.thumb.png.00f1aaf989c861a4a3c136f3cce4a536.png

 

NOTE: if you want to try this, it may not be necessary to setup a VLAN.  It may work fine for you on br0 (no setup necessary).  For me and others, IP addresses on br0 cause call traces and server lockups which a VLAN solves.  It seems hardware dependent and your hardware may not cause the problem.

 

 I have several docker containers assigned IP addresses on the 192.168.3.x VLAN subnet.

Share this post


Link to post
42 minutes ago, Hoopster said:

I set up a VLAN (192.168.3.x) following this guide.  UnRAID server is on 192.168.1.x LAN

 

VLAN shows up as br0.3 in Docker container network type.  Once selected, you can assign a fixed IP address (as I do) or let the VLAN DHCP assign it.

 

image.thumb.png.00f1aaf989c861a4a3c136f3cce4a536.png

 

NOTE: if you want to try this, it may not be necessary to setup a VLAN.  It may work fine for you on br0 (no setup necessary).  For me and others, IP addresses on br0 cause call traces and server lockups which a VLAN solves.  It seems hardware dependent and your hardware may not cause the problem.

 

 I have several docker containers assigned IP addresses on the 192.168.3.x VLAN subnet.

 

Thanks for the info.....I may do that.  So going this route since you select the new vlan in the docker template as the network type then you cant run it in a reverse proxy setup....is that correct?  I suppose why you aren't running a reverse proxy

Edited by SPOautos

Share this post


Link to post

When setting up Heimdall with the Swag reverse proxy, are you supposed to edit the name of both the Heimdall.subdomain conf file and the Heimdall.subfolder conf file (in the swag sample files)?  Basically where you take the .sample off the end?  If so, is there anything else besides the name that needs to be changed in either of those files?

 

 

Edited by SPOautos

Share this post


Link to post
2 hours ago, SPOautos said:

When setting up Heimdall with the Swag reverse proxy, are you supposed to edit the name of both the Heimdall.subdomain conf file and the Heimdall.subfolder conf file (in the swag sample files)?  Basically where you take the .sample off the end?  If so, is there anything else besides the name that needs to be changed in either of those files?

 

 

You might be better off not posting the same issue in multiple threads. It's hard to follow what has been done.

 

You only enable one of the reverse proxy configs depending on if you want to do subdomain or subfolder. There are instructions if you have to do something to do proxy conf or not.

 

You can easily check if this is a port forward error or reverse proxy by stopping one of the two containers and test what happens if you try to access your IP/domain from the outside.

Share this post


Link to post
3 hours ago, saarg said:

You might be better off not posting the same issue in multiple threads. It's hard to follow what has been done.

 

You only enable one of the reverse proxy configs depending on if you want to do subdomain or subfolder. There are instructions if you have to do something to do proxy conf or not.

 

You can easily check if this is a port forward error or reverse proxy by stopping one of the two containers and test what happens if you try to access your IP/domain from the outside.

 

With the subdomain vs subfolder config, I suppose I dont understand the difference and why/when I would use one or the other. All the other apps in the reverse proxy used a subfolder....but since Heimdall is actually a subdomain webpage I access at server.mydomain.com does that mean I should have only used the subdomain configs? 

 

I'll do the 'stopping each container' test in just a little while and report back.

 

You are correct about two threads, I suppose being support threads, when I had a question more SWAG related I thought I should post it there....since they are app specific supports threads I was trying to keep them on topic of their specific app, not being sure which app is causing the issue. But your correct....definitely not the best way to troubleshoot a issue.

 

 

Edited by SPOautos

Share this post


Link to post
4 hours ago, SPOautos said:

 

With the subdomain vs subfolder config, I suppose I dont understand the difference and why/when I would use one or the other. All the other apps in the reverse proxy used a subfolder....but since Heimdall is actually a subdomain webpage I access at server.mydomain.com does that mean I should have only used the subdomain configs? 

 

I'll do the 'stopping each container' test in just a little while and report back.

 

You are correct about two threads, I suppose being support threads, when I had a question more SWAG related I thought I should post it there....since they are app specific supports threads I was trying to keep them on topic of their specific app, not being sure which app is causing the issue. But your correct....definitely not the best way to troubleshoot a issue.

 

 

Why have you created subdomains in the swag container if you use subfolder?

You only activate one of the configs, not both.

Share this post


Link to post
2 hours ago, saarg said:

Why have you created subdomains in the swag container if you use subfolder?

You only activate one of the configs, not both.

 

I believe I had to activate the subdomain file in order to change the domain from heimdall.mydomain.com to server.mydomain.com 

 

However, since I used the subdomain file, should I switch the subfolder file back to only being a sample file?

 

Just to check it....I removed the subfolder file and kept only the subdomain file. It pulls up fine at my url server.myurl.com, however when I type in my router ip address it does something odd....it no longer shows my Heimdall page but it shows this page and I still dont think this should be coming up when I type in my routers internet ip (over cellular).....

1307680033_heimdallwithinternetip.thumb.jpg.5ccc95ed840b5dd52862e916c5d17f93.jpg

 

 

I'll try to flip it and rename the subfile and not have the subdomain, but I cant right now, I'll have to do it later tonight. I dont know enough about things like this to just 'know' what these things do, I just have to try it both ways and see what happens.

Edited by SPOautos

Share this post


Link to post
4 hours ago, SPOautos said:

 

I believe I had to activate the subdomain file in order to change the domain from heimdall.mydomain.com to server.mydomain.com 

 

However, since I used the subdomain file, should I switch the subfolder file back to only being a sample file?

 

Just to check it....I removed the subfolder file and kept only the subdomain file. It pulls up fine at my url server.myurl.com, however when I type in my router ip address it does something odd....it no longer shows my Heimdall page but it shows this page and I still dont think this should be coming up when I type in my routers internet ip (over cellular).....

1307680033_heimdallwithinternetip.thumb.jpg.5ccc95ed840b5dd52862e916c5d17f93.jpg

 

 

I'll try to flip it and rename the subfile and not have the subdomain, but I cant right now, I'll have to do it later tonight. I dont know enough about things like this to just 'know' what these things do, I just have to try it both ways and see what happens.

You will get that page when you just use the IP as nginx, the webserver doesn't know what you want and serves the default landing page. Don't enable the subfolder again. That is probably what have caused all this.

 

Regarding the subdomains, I didn't mean the server one, but all the others you made. No point if you use subfolder for those apps.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.