• Missing HostName

    From Thomas Bampi@VERT to All on Saturday, October 13, 2018 19:07:26
    Hello all, some users have told me that when they click on the link to access the ftp from the home page instead of appearing as a
    link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of the server; what happened? I read on the forum that is the host name that is missing but checking on the sbbs.ini is present ..... can someone help me?
    My Synchronet is version 3.17 on windows xp 32 bit

    Thank you
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to Thomas Bampi on Saturday, October 13, 2018 14:55:46
    Hello all, some users have told me that when they click on the link to access the ftp from the home page instead of appearing as a
    link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of the server; what happened? I read on the forum that is the host name that is missing but checking on the sbbs.ini is present ..... can someone help me? My Synchronet is version 3.17 on windows xp 32 bit

    Thank you
    Thomas

    Do you have your FTP server running on a different system? When I go directly to fto://velenobbs.net I see your Files Directory, but when I go to http://velenobbs.net and look at the File Libraries is show ftp://192.168.1.1/00index.html?$jn7qg90z but the connection times out. Maybe try removing [Global] Hostname = blah blah blah and just leave it as Hostname =

    ---
    þ Synchronet þ Twisted Truckers BBS web asmf-etrucker.com:81 telnet asmf-etrucker.com
  • From Nelgin@VERT/EOTLBBS to Thomas Bampi on Saturday, October 13, 2018 21:26:12
    Thomas wrote:
    Hello all, some users have told me that when they click on the link to access
    the ftp from the home page instead of appearing as a
    link "ftp://velenobbs.net/" appears "ftp://192.168.1.1/" which is l ip of the
    server; what happened? I read on the forum that is the host name that is missing but checking on the sbbs.ini is present ..... can someone help me? My Synchronet is version 3.17 on windows xp 32 bit

    It looks like the hostname is obtained from /sbbs/web/lib/nightshade/leftnav_html.ssjs

    If you can't resolve the issue, you could always hard code the hostname into the ssjs file. Did you try typing hostname from a command prompt and seeing what it returns, if anything?

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Thomas Bampi@VERT to Mortifis on Sunday, October 14, 2018 11:02:12
    Do you have your FTP server running on a different system? When I go directly to fto://velenobbs.net I see your Files Directory, but when I go
    to
    http://velenobbs.net and look at the File Libraries is show ftp://192.168.1.1/00index.html?$jn7qg90z but the connection times out.
    Maybe try removing [Global] Hostname = blah blah blah and just leave it as Hostname =

    Hi, no, the FTP server is always on the same machine; I tried to remove the name from the sbbs.ini file under the heading "[Global] Hostname =" but the situation does not change ....... :-(

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Nelgin on Sunday, October 14, 2018 11:09:28
    It looks like the hostname is obtained from /sbbs/web/lib/nightshade/leftnav_html.ssjs

    If you can't resolve the issue, you could always hard code the hostname
    into
    the ssjs file. Did you try typing hostname from a command prompt and
    seeing
    what it returns, if anything?


    Hello, if you type hostname from the command prompt, the result is the machine's name: srvbbs01
    I noticed that even if I go to the "web telnet" function and call the bbs
    with a connect the system tries to recall it with the IP address instead of
    the name it seems that the problem is because it can not solve the hostname
    .. ....

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thomas Bampi on Sunday, October 14, 2018 02:17:51
    Re: Re: Missing HostName
    By: Thomas Bampi to Nelgin on Sun Oct 14 2018 11:09 am


    It looks like the hostname is obtained from /sbbs/web/lib/nightshade/leftnav_html.ssjs

    If you can't resolve the issue, you could always hard code the hostname
    into
    the ssjs file. Did you try typing hostname from a command prompt and
    seeing
    what it returns, if anything?


    Hello, if you type hostname from the command prompt, the result is the machine's name: srvbbs01
    I noticed that even if I go to the "web telnet" function and call the bbs with a connect the system tries to recall it with the IP address instead of the name it seems that the problem is because it can not solve the hostname

    What do you have set in SCFG->Networks->Internet->Address?

    digital man

    Synchronet "Real Fact" #84:
    The Electronic Frontier Foundation used to run Synchronet (circa 1993).
    Norco, CA WX: 58.9øF, 89.0% humidity, 0 mph SSE wind, 0.13 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Sunday, October 14, 2018 11:18:27
    Which Web UI are you using for Synchronet? If it's the old runemaster web UI, then web/root/index.ssjs will contain this code to generate that URL:

    if((host = http_request.vhost)==undefined)
    host = http_request.host;
    if(host==undefined || !host.length)
    host = system.host_name;

    Hello, yes, it's the old version and there are the codes you showed me in the index.ssjs file :-) What can I do?

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Sunday, October 14, 2018 11:53:05
    Hi Digital man,

    What do you have set in SCFG->Networks->Internet->Address?



    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Sunday, October 14, 2018 11:53:30
    What do you have set in SCFG->Networks->Internet->Address?

    on my SCFG-> Networks-> Internet-> Address the following name is given: "velenobbs.net"; now I tried to completely rewrite the name and save and now everything works properly! Probably making some updates, something has been corrupted ......

    Thanks Digital man!

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Sunday, October 14, 2018 14:34:56
    What do you have set in SCFG->Networks->Internet->Address?


    hi digital man, I checked in detail .... after rewriting the name
    under: SCFG-> Networks-> Internet-> Address now if I connect with the
    local LAN the name is correct example ftp://velenobbs.net but if I
    connect from the outside it still appears as ip address what can be
    there that from outside does not report the name but ip?

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thomas Bampi on Sunday, October 14, 2018 20:11:40
    Re: Re: Missing HostName
    By: Thomas Bampi to Digital Man on Sun Oct 14 2018 02:34 pm



    What do you have set in SCFG->Networks->Internet->Address?


    hi digital man, I checked in detail .... after rewriting the name
    under: SCFG-> Networks-> Internet-> Address now if I connect with the
    local LAN the name is correct example ftp://velenobbs.net but if I
    connect from the outside it still appears as ip address what can be
    there that from outside does not report the name but ip?

    It'd take some debugging to find out the cause. Try adding some log() lines to the .ssjs file to find out where it's getting that address from.

    digital man

    Synchronet "Real Fact" #42:
    Rob Swindell was laughed out of a FidoNet Net103 (OC, Calif.) meeting in 1992. Norco, CA WX: 64.5øF, 80.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Monday, October 15, 2018 18:59:05
    hi digital man, I checked in detail .... after rewriting the name
    under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be
    there that from outside does not report the name but ip?

    It'd take some debugging to find out the cause. Try adding some log()
    lines
    to the .ssjs file to find out where it's getting that address from.


    Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thomas Bampi on Monday, October 15, 2018 13:31:54
    Re: Re: Missing HostName
    By: Thomas Bampi to Digital Man on Mon Oct 15 2018 06:59 pm

    hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?

    It'd take some debugging to find out the cause. Try adding some log()
    lines
    to the .ssjs file to find out where it's getting that address from.


    Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....

    log(LOG_DEBUG, "host = " + http_request.host);

    This would add a debug-level log message to your web server's log output which would log the host name provided by the client (e.g. browser) in the HTTP request.

    Also, there's a link to your FTP service on the default web UI's front page (under "Additional Services") - do you have a similar link on the front page and it is correct?

    Do you have this problem if you use the default theme (not nightshade)?

    BTW, when I attempt to go to http://velenobbs.net, I get this page:


    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>503 Service Unavailable</title>
    </head><body>
    <h1>Service Unavailable</h1>
    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    </body></html>

    That doesn't appear to be a default Synchronet web server error document.



    digital man

    This Is Spinal Tap quote #10:
    Dozens of people spontaneously combust each year... just not widely reported. Norco, CA WX: 71.4øF, 11.0% humidity, 11 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Thomas Bampi on Monday, October 15, 2018 15:42:59
    Re: Re: Missing HostName
    By: Digital Man to Thomas Bampi on Mon Oct 15 2018 01:31 pm

    Re: Re: Missing HostName
    By: Thomas Bampi to Digital Man on Mon Oct 15 2018 06:59 pm

    hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?

    It'd take some debugging to find out the cause. Try adding some log()
    lines
    to the .ssjs file to find out where it's getting that address from.


    Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....

    log(LOG_DEBUG, "host = " + http_request.host);

    This would add a debug-level log message to your web server's log output which would log the host name provided by the client (e.g. browser) in the HTTP request.

    Also, there's a link to your FTP service on the default web UI's front page (under "Additional Services") - do you have a similar link on the front page and it is correct?

    Do you have this problem if you use the default theme (not nightshade)?

    BTW, when I attempt to go to http://velenobbs.net, I get this page:


    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>503 Service Unavailable</title>
    </head><body>
    <h1>Service Unavailable</h1>
    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    </body></html>

    That doesn't appear to be a default Synchronet web server error document.

    Okay, a Synchronet web server is now responding at http://velenobbs.net/ and I see that the "telnet" and "ftp" links under "Additional Services" are both pointing to 192.168.1.1. This tells me that most likely, you have "192.168.1.1" (i.e. for a HostName value) in your ctrl/sbbs.ini file. Have you double-checked that?

    digital man

    Synchronet "Real Fact" #4:
    Synchronet version 3 is written mostly in C, with some C++, x86 ASM, and Pascal.
    Norco, CA WX: 73.4øF, 9.0% humidity, 12 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Thomas Bampi@VERT to Digital Man on Tuesday, October 16, 2018 11:34:22
    hi digital man, I checked in detail .... after rewriting the name under: SCFG-> Networks-> Internet-> Address now if I connect with the local LAN the name is correct example ftp://velenobbs.net but if I connect from the outside it still appears as ip address what can be there that from outside does not report the name but ip?

    It'd take some debugging to find out the cause. Try adding some log()
    lines
    to the .ssjs file to find out where it's getting that address from.


    Ok, excuse my ignorance how do I insert the log lines in the .ssjs file? can you give me an example so I can bring back what you ask? Thanks....

    log(LOG_DEBUG, "host = " + http_request.host);

    This would add a debug-level log message to your web server's log output which would log the host name provided by the client (e.g. browser) in the HTTP request.

    Also, there's a link to your FTP service on the default web UI's front page (under "Additional Services") - do you have a similar link on the front page and it is correct?

    Do you have this problem if you use the default theme (not nightshade)?

    BTW, when I attempt to go to http://velenobbs.net, I get this page:


    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>503 Service Unavailable</title>
    </head><body>
    <h1>Service Unavailable</h1>
    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    </body></html>

    That doesn't appear to be a default Synchronet web server error document.

    Okay, a Synchronet web server is now responding at http://velenobbs.net/ and I see that the "telnet" and "ftp" links under "Additional Services" are both pointing to 192.168.1.1. This tells me that most likely, you have "192.168.1.1" (i.e. for a HostName value) in your ctrl/sbbs.ini file. Have you double-checked that?



    Hi Digital man, gave the page:

    "<! DOCTYPE HTML PUBLIC" - // IETF // DTD HTML 2.0 // EN ">
    <Html> <head>
    <title> 503 Service Unavailable </ title>
    </ Head> <body>
    <h1> Service Unavailable </ h1>
    <p> The server is temporarily unable to service your
    request two to maintenance downtime or capacity
    problems. Please try again later. </ P>
    </ Body> </ html> "

    because every night from 22.15 Italian time starts to maintain the system and all the automatic synchronization services are blocked.
    By checking well I also understood why he gave me the error that I reported to you; in practice, the web goes through a proxypass apache and on that instead of giving the name "velenobbs.net" I gave the IP address of the machine to which it points; now everything works properly.
    Sorry for the inconvenience but the complexity of the system is increasing....

    Bye
    Thomas

    F. KrueGer
    --- SBBSecho 3.06-Win32
    * Origin: Veleno BBS - http://velenobbs.net (2:333/808)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net