11/30 04:53:18a 2816 Sending file: C:\sbbs\web\root\ (8192 bytes)
11/30 04:53:18a 2816 !ERROR 2 opening C:\sbbs\web\root\
11/30 04:53:18a 2816 Sending file: C:\sbbs\web\root\ (8192 bytes)
11/30 04:53:18a 2816 !ERROR 2 opening C:\sbbs\web\root\
Does c:\sbbs\web\root exist?
The RootDirectory key under [Web] in ctrl/sbbs.ini points to your webserver's document root. Make sure it points to a valid path where publically accessible web documents (eg. index.html, index.xjs) live.
Re: DNS issue
By: echicken to Sys64738 on Tue Nov 30 2021 13:52:56
11/30 04:53:18a 2816 Sending file: C:\sbbs\web\root\ (8192 bytes) 11/30 04:53:18a 2816 !ERROR 2 opening C:\sbbs\web\root\
Does c:\sbbs\web\root exist?
It does.
The RootDirectory key under [Web] in ctrl/sbbs.ini points to your webserver's document root. Make sure it points to a valid path where publically accessible web documents (eg. index.html, index.xjs) live.
They do. That's what's confusing me. Everything seems to be in the right place, but something has to be amiss.
Does c:\sbbs\web\root exist?
It does.
Maybe compare the [web] section of your ctrl/sbbs.ini file with this one: https://gitlab.synchro.net/main/sbbs/-/blob/master/ctrl/sbbs.ini
See what's different and report back.
In ctrl/sbbs.ini, under [Web], there's a setting called IndexFileNames which usually looks like this:
IndexFileNames=index.html,index.ssjs,index.xjs
Does yours look like that?
Does c:\sbbs\web\root contain at least one of the files listed in your IndexFileNames setting?
Re: DNS issue
By: Digital Man to Sys64738 on Tue Nov 30 2021 18:28:12
Maybe compare the [web] section of your ctrl/sbbs.ini file with this one: https://gitlab.synchro.net/main/sbbs/-/blob/master/ctrl/sbbs.ini
See what's different and report back.
Something else that's peculiar is that I can access the web version from my local ip address, but I always get errors when I try to access it through my public ip or dns.
The only differences between the two sbbs.ini are what I have listed below:
Interface = 0.0.0.0,::
Port = 2048
; HTTPS interface(s)
TLSInterface = 0.0.0.0,::
I quit trying to use port 80 because I never could get it to give me access through my local ip. Needless to say, it wouldn't work with my public ip or dns.
The sbbs.ini listed at https://gitlab.synchro.net/main/sbbs/-/blob/master/ctrl/sbbs.ini shows no values for "Interface =" or "TLSInterface =". Mine has "0.0.0.0,::" for both. Could that be an issue?
Something else that's peculiar is that I can access the web version from my local ip address, but I always get errors when I try to access it through my public ip or dns.
What errors?
The only differences between the two sbbs.ini are what I have listed below:
Interface = 0.0.0.0,::
Port = 2048
; HTTPS interface(s)
TLSInterface = 0.0.0.0,::
I quit trying to use port 80 because I never could get it to give me access through my local ip. Needless to say, it wouldn't work with my
https://gitlab.synchro.net/main/sbbs/-/blob/master/ctrl/sbbs.ini shows no values for "Interface =" or "TLSInterface =". Mine has "0.0.0.0,::" for both. Could that be an issue?
IndexFileNames=index.html,index.ssjs,index.xjs
Yes, it looks exactly like that.
Does c:\sbbs\web\root contain at least one of the files listed in your
IndexFileNames setting?
Yes.
Something else that's peculiar is that I can access the web version from my local ip address, but I always get errors when I try to access it through my public ip or dns. This made me think there might be a problem with the port forwarding, but I've checked it out and everything is in order.
Re: DNS issue
By: Digital Man to Sys64738 on Tue Nov 30 2021 22:26:51
Something else that's peculiar is that I can access the web version from my local ip address, but I always get errors when I try to access it through my public ip or dns.
What errors?
Browser error: This site can't be reached.
Web Server errors:
12/1 08:04:02a 2652 HTTP connection accepted from: XXX.X.XX.XXX port 50963
12/1 08:04:02a 2652 Hostname: XXX.X.XX.XXX.net [XXX.X.XX.XXX]
12/1 08:04:02a 2364 HTTP connection accepted from: XXX.X.XX.XXX port 50964
12/1 08:04:02a 2364 Hostname: XXX.X.XX.XXX.net [XXX.X.XX.XXX]
12/1 08:04:02a 2652 Request:
12/1 08:04:02a 2652 !ERROR: 400 Bad Request (line 3254)
I replaced my public ip address with X's for obvious reasons, but this is the feedback I receive.
The received request was blank. My guess: you have something acting as an http proxy and it's not doing a good job.
Your public IP address is public (i.e. not a protected secret). <shrug>
Is there something else on this machine using port 80? Anything in the log when your webserver starts up when trying to use that port?
You could try making yours blank again, but it shouldn't make a difference.
Something else that's peculiar is that I can access the web version from my local ip address, but I always get errors when I try to access it through my public ip or dns. This made me think there might be a problem with the port forwarding, but I've checked it out and everything is in order.
It may not work from your LAN, but it may work from the outside. Depends on your router and doesn't necessarily indicate a problem.
I think DM might be right- I use Nginx as a reverse proxy and I know I've had this *exact* problem before, but unfortunately I don't remember exactly how I fixed it - but if that just so happens to be the case I can share my Nginx config for Synchronet with you (although it is nothing special).
Your public IP address is public (i.e. not a protected secret). <shrug>
I about spit out my coffee laughing at this - but he's right you know...
I think DM might be right- I use Nginx as a reverse proxy and I know I've had this *exact* problem before, but unfortunately I don't remember exactly how I fixed it - but if that just so happens to be the case I can share my Nginx config for Synchronet with you (although it is nothing special).
I may hit you up for that. I'm still trying other options.
I really really wish I could be more helpful - I did have this exact same problem, I remember distinctly - but it was over a year ago and I just can't remember what the ended up being.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 140:55:51 |
Calls: | 166 |
Files: | 5,389 |
Messages: | 223,239 |