• DNS issue

    From Sys64738@1:103/705 to All on Tue Nov 30 04:55:26 2021
    Having trouble reaching the web version of my BBS through my DNS. Everything works until this point:

    11/30 04:53:18a 2816 Request: GET / HTTP/1.1
    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:19a 1092 Session thread terminated (1 clients, 4 threads remain, 141 served)
    11/30 04:53:19a 2816 Session thread terminated (0 clients, 2 threads remain, 141 served)

    Any advice on what I'm doing wrong?

    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Sys64738 on Tue Nov 30 13:52:56 2021
    Re: DNS issue
    By: Sys64738 to All on Tue Nov 30 2021 04:55:27

    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.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to echicken on Tue Nov 30 17:05:44 2021
    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.

    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Sys64738 on Tue Nov 30 18:28:12 2021
    Re: DNS issue
    By: Sys64738 to echicken on Tue Nov 30 2021 05:05 pm

    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.

    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.
    --
    digital man

    Rush quote #30:
    You can do a lot in a lifetime if you don't burn out too fast
    Norco, CA WX: 69.9øF, 48.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Sys64738 on Wed Dec 1 03:55:42 2021
    Re: DNS issue
    By: Sys64738 to echicken on Tue Nov 30 2021 17:05:45

    Does c:\sbbs\web\root exist?

    It does.

    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?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to Digital Man on Tue Nov 30 23:36:18 2021
    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?


    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to echicken on Tue Nov 30 23:38:22 2021
    Re: DNS issue
    By: echicken to Sys64738 on Wed Dec 01 2021 03:55:43

    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?

    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.


    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Sys64738 on Tue Nov 30 22:26:50 2021
    Re: DNS issue
    By: Sys64738 to Digital Man on Tue Nov 30 2021 11:36 pm

    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.

    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,::

    That's fine.

    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?

    Nope, no issue.
    --
    digital man

    Breaking Bad quote #41:
    Academy hire you right out of the womb? You guys get younger every year!
    Norco, CA WX: 70.2øF, 22.0% humidity, 1 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to Digital Man on Wed Dec 1 08:09:10 2021
    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)
    12/1 08:04:02a 2652 !ERROR sending C:\sbbs\web\root\error\400.html
    12/1 08:04:02a 2028 HTTP connection accepted from: XXX.X.XX.XXX port 50965
    12/1 08:04:02a 2028 Hostname: XXX.X.XX.XXX.net [XXX.X.XX.XXX]
    12/1 08:04:02a 2364 Request:
    12/1 08:04:02a 2364 !ERROR: 400 Bad Request (line 3254)
    12/1 08:04:02a 2364 !ERROR sending C:\sbbs\web\root\error\400.html
    12/1 08:04:02a 1724 HTTP connection accepted from: XXX.X.XX.XXX port 50966
    12/1 08:04:02a 1724 Hostname: XXX.X.XX.XXX.net [XXX.X.XX.XXX]
    12/1 08:04:03a 2028 Request:
    12/1 08:04:03a 2028 !ERROR: 400 Bad Request (line 3254)
    12/1 08:04:03a 2028 !ERROR sending C:\sbbs\web\root\error\400.html
    12/1 08:04:03a 1724 Request:
    12/1 08:04:03a 1724 !ERROR: 400 Bad Request (line 3254)
    12/1 08:04:03a 1724 !ERROR sending C:\sbbs\web\root\error\400.html
    12/1 08:04:03a 2652 Session thread terminated (3 clients, 7 threads remain, 161 served)
    12/1 08:04:03a 2364 Session thread terminated (2 clients, 6 threads remain, 161 served)
    12/1 08:04:03a 2028 Session thread terminated (1 clients, 4 threads remain, 161 served)
    12/1 08:04:03a 1724 Session thread terminated (0 clients, 2 threads remain, 161 served)

    I replaced my public ip address with X's for obvious reasons, but this is the feedback I receive.


    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Sys64738 on Wed Dec 1 14:26:12 2021
    Re: DNS issue
    By: Sys64738 to Digital Man on Tue Nov 30 2021 23:36:19

    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 believe that's effectively the same as the default (blank). It's using all interfaces. This is fine unless you have some reason to change it.

    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

    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?

    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?

    You could try making yours blank again, but it shouldn't make a difference.
    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to Sys64738 on Wed Dec 1 14:37:38 2021
    Re: DNS issue
    By: Sys64738 to echicken on Tue Nov 30 2021 23:38:23

    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.

    I guess I'm going down the wrong path then. Looked like a 'file not found' error, but perhaps error #2 means something else in this context.

    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.
    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Sys64738 on Wed Dec 1 10:12:32 2021
    Re: DNS issue
    By: Sys64738 to Digital Man on Wed Dec 01 2021 08:09 am

    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)

    The received request was blank. My guess: you have something acting as an http proxy and it's not doing a good job.

    I replaced my public ip address with X's for obvious reasons, but this is the feedback I receive.

    Your public IP address is public (i.e. not a protected secret). <shrug>
    --
    digital man

    Breaking Bad quote #29:
    2 day drive to the nearest ocean and you're eating raw fish, is all I'm sayen. Norco, CA WX: 82.7øF, 16.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Xerxes@1:103/705 to Sys64738 on Wed Dec 1 17:56:48 2021
    Re: DNS issue
    By: Digital Man to Sys64738 on Wed Dec 01 2021 10:12 am


    The received request was blank. My guess: you have something acting as an http proxy and it's not doing a good job.


    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...


    _______________________________________
    Sysop of KN6Q BBS --- https://kn6q.org

    ---
    þ Synchronet þ KN6Q BBS - https://kn6q.org - Sysop Xerxes
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to echicken on Thu Dec 2 08:13:42 2021
    Re: DNS issue
    By: echicken to Sys64738 on Wed Dec 01 2021 14:26:13

    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?

    I read in some message forum that Microsoft blocked it for some reas or another on Windows 11. I may not be remembering it correctly, but I opted just to change the port instead of hunting down whatever was blocking/using it.

    You could try making yours blank again, but it shouldn't make a difference.

    I'll try it.

    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to echicken on Thu Dec 2 08:15:02 2021
    Re: DNS issue
    By: echicken to Sys64738 on Wed Dec 01 2021 14:37:39

    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 thought the same thing. So, I went to a machine not connected to my LAN and got the same result.
    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to Xerxes on Thu Dec 2 08:18:16 2021
    Re: DNS issue
    By: Xerxes to Sys64738 on Wed Dec 01 2021 17:56:49

    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.

    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...

    Yes. I had been working all night prior to typing that message. lol

    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Xerxes@1:103/705 to Sys64738 on Thu Dec 2 12:37:40 2021
    Re: DNS issue
    By: Sys64738 to Xerxes on Thu Dec 02 2021 08:18 am

    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.


    To be clear, if you are not running Nginx (or another reverse proxy) I'm not recommending it to resolve your issue - if you add it to the mix you'll probably just be proxying to your same problem.

    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.

    Xerxes

    _______________________________________
    Sysop of KN6Q BBS --- https://kn6q.org

    ---
    þ Synchronet þ KN6Q BBS - https://kn6q.org - Sysop Xerxes
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Sys64738@1:103/705 to Xerxes on Fri Dec 3 08:05:56 2021
    Re: DNS issue
    By: Xerxes to Sys64738 on Thu Dec 02 2021 12:37:40

    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.

    I understand. I'm sure I'll figure it out. Thanks for the info.
    SYS64738

    ---
    þ Synchronet þ TEXNet
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)