🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266532

Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)

#266532
From: VanguardLH
Date: Sun, 07 Jan 2024 09:37
92 lines
5535 bytes
Ronald <ronald@nospam.me> wrote:

> Dialog is failing on a Neodome account setup that used to work.
>  Posting article failed: Socket Error # 0; (nameofserver username ok)(Finished)
>  Socket Error # 0; (nameofserver username ok)(Finished)
> 
> The stunnel.conf file has the same boilerplate setup as it always had.
> That boilerplate stunnel.conf is this (which used to work for Neodome).
>  [neodome]
>  client = yes
>  accept = 127.0.0.1:55555
>  connect = news.neodome.net:563
>  verify = 0
>  verifyChain = yes
>  CAfile = ca-certs.pem
>  checkHost = news.neodome.net
>  OCSPaia = yes
> 
> That same boilerplate stunnel.conf works for other encrypted servers.
> Just not Neodome.
> 
> 40TudeDialog is set up for that user as any other setup would be.
>  Host: 127.0.0.1
>  Port: 55555 
>  SSL: unchecked
>  Username: abcdefg
>  Password: xxxxxxx
>  Allwd. conn.: 2
>  Use pipelining (unchecked)
> 
> I set the log level to "0 - All debug messages" by right clicking on 
> "Connections" at the bottom right corner of the Windows Dialog GUI.
> 
> Then I copied the section of the files in Program Files under "logs".
> 
>  0 25674390: Creating worker thread: Sending message to news.software.readers neodome Username ok1
>  0 25674390: FDATA: Opening 1
>  0 25674390: FDATA: Reading itemcount 3
>  0 25674390: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2572
>  3 25674390: Sending message to news.software.readers (Started) [$0000250C]
>  1 25674390: NNTP slot used by this thread: neodome Username ok1 [$0000250C]
>  3 25674390: Connecting to NNTP 127.0.0.1:60569 [$0000250C]
>  1 25675500: Reindexing (Order: 3, no filtering) of group 1 with 2574 articles took 16 ms
>  0 25675500: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2572
>  0 25675500: FDATA: Regular update PAK  - ChangeCount: 0
>  0 25675500: FDATA: adding GroupKey: 1 ArticleKey: 2573
>  0 25675500: FDATA: Regular update PAK  - ChangeCount: 1
>  0 25675515: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675515: FontFB: No non-ASCII characters found; Using default font
>  0 25675515: FontFB: Using font "Arial" which is missing 0 glyphs.
>  0 25675515: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675515: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675531: FontFB: No non-ASCII characters found; Using default font
>  0 25675531: FontFB: Using font "Arial" which is missing 0 glyphs.
>  0 25675531: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675531: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675531: FontFB: No non-ASCII characters found; Using default font
>  0 25675531: FontFB: Using font "Arial" which is missing 0 glyphs.
>  0 25675546: FDATA: Extracting body of GroupKey: 1 ArticleKey: 2571
>  0 25675484: !Quit (Finished) [$0000250C]
>  5 25675484: Socket Error # 0;  (neodome Username ok) (Finished) [$0000250C]
>  0 25675484: KillNNTP entered for: neodome Username ok1 (Finished) [$0000250C]
>  0 25675484: KillNNTP left for: neodome Username ok1 (Finished) [$0000250C]
>  0 25675484: KillNNTP entered for: neodome Username ok1 (Finished) [$0000250C]
>  0 25675484: KillNNTP left for: neodome Username ok1 (Finished) [$0000250C]
>  5 25675484: Posting article failed: Socket Error # 0;  (neodome Username ok) (Finished) [$0000250C]
>  1 25675500: Sending message to news.software.readers (Finished) (Finished) [$0000250C]
>  0 25676328: TFlushBodiesThread started with ThreadID: $16A0
>  1 25678328: Flushing body db
>  0 25678328: FDATA: Updating PAK, number of subfiles: 29
>  0 25678328: FDATA: Writing itemcount 3
>  0 25678328: FDATA: Closing 1
>  1 25679687: Main window close query
>  1 25679750: Main window destroy called - Goodbye
>  0 25679765: FDATA: destroying; Changecount: 0
>  1 25679765: Flushing group and server list
> 
> How can I further debug this socket error before contacting Neodome admins?
> (What is a Dialog socket error anyway?)

Your log shows Dialog is connecting to an IP of 127.0.0.1, port 55555.
That's a reserved internal IP address, not one for a site running an
NNTP server.  Seems you must be using a local proxy through which you
pipe Dialog connects to a server.  Could be that proxy is dead.  Could
be to where that proxy points to for external connects is invalid.
Check settings in the proxy on your host (127.0.0.1) to which to tell
Dialog to connect.

Are you using sTunnel, a VPN, or other local proxy with Dialog?

I thought Neodome died, so there'd be no NNTP server to which Dialog (or
your proxy) could connect.
Technical Details
Message-ID: <v1akekkmcrn9.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <und7gj$srbd$1@paganini.bofh.team>

Show Full Headers
Complete Article Headers
Message-ID: <v1akekkmcrn9.dlg@v.nguard.lh>
Subject: Re: (Dialog) How do I debug a 40tude "socket error" (what's a socket error?)
Date: Sun, 7 Jan 2024 03:37:46 -0600
From: VanguardLH <V@nguard.LH>
References: <und7gj$srbd$1@paganini.bofh.team>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet Elder
Lines: 92
Sender: V@nguard.LH
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net nIpC7sn6rqvkEridhD79owaUQ1ttvrnLGdiKzM5zdjpE9es5Ru
Keywords: VanguardLH,VLH
Cancel-Lock: sha1:SCr3A8DHOkT8wI35YNrnf6s0E+U= sha256:fy4YeCk2XPEoHL8Lrvy2zvWcnrD6SXf+zfAnq0p/Ofk=
User-Agent: 40tude_Dialog/2.0.15.41