You are here
I have a fresh install of turnkey-postgresql-16.1-buster-amd64 on its own box. All updates done. Web Shell (shellinabox) connects and stays connected. Adminer connects and stays connected. Webmin 1.97 connects for about 15 to 20 seconds then loses connection. None of my other instances of Webmin 1.995, 1.831, on other servers, do this. After losing connection I cannot reconnect to Webmin until I reboot or I run "systemctl restart webmin" from "Web Shell". Then the problem repeats.
The odd thing is if I turn off my Windows Firewall I can connect to Webmin without losing connection. I tried allowing inbound and out bound TCP and UDP ports, 12321 and 10000, in my firewall with no joy. I've tried three different web browsers.
I did connect to Webmin from another workstation and stayed connected.
All workstations: Windows 10 Pro 21H2
Any ideas what is causing my issue and how to fix it ?
Thanks
Hi Eric, that sounds like a strange one!?
It sounds like a strange one. By default Webmin (served on localhost:10000) is publicly accessible via Stunnel (on 0.0.0.0:12321). So it's strange that restarting Webmin resolves it?
When you say it looses connection, can you please be more explicit? E.g. does it say "connection refused" or similar?
Also, I suggest that you check the logs (or more so the journal these days). The Stunnel service should be called 'stunnel4@webmin.service'. So to get a combined journal of both of these, try this:
The '-b' is so it only shows messages from this boot. As you may have guessed, the '-u' is for the units to be included in the output.
Another thing that might be of value is "following" the journal (in an SSH session) while you recreate the issue. To "follow" a log is to view it's output live. Follow the journal with the '-f' switch (just swap '-f' for '-b' in my above example).
Hopefully armed with a bit more info we'll be able to work it out...
Webmin Connection
When I say it loses connection I get this after about 50 seconds
AFTER REBOOT Before running Webmin
root@postgresql ~# journalctl -b -u webmin.service -u stunnel4@webmin.service
-- Logs begin at Thu 2022-07-21 12:57:18 CDT, end at Thu 2022-07-21 12:57:37 CDT. --
Jul 21 12:57:22 postgresql systemd[1]: Starting Universal SSL tunnel for network daemons (webmin)...
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: stunnel 5.50 on x86_64-pc-linux-gnu platform
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Compiled with OpenSSL 1.1.1b 26 Feb 2019
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Running with OpenSSL 1.1.1n 15 Mar 2022
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Reading configuration from file /etc/stunnel/webmin.conf
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: UTF-8 byte order mark not detected
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: FIPS mode disabled
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Configuration successful
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Binding service [webmin] to :::12321: Address already in use (98)
Jul 21 12:57:22 postgresql stunnel[541]: LOG5[ui]: Switched to chroot directory: /var/lib/stunnel4/
Jul 21 12:57:22 postgresql systemd[1]: Started Universal SSL tunnel for network daemons (webmin).
Jul 21 12:57:22 postgresql systemd[1]: Starting Webmin Web based Admin UI...
Jul 21 12:57:22 postgresql perl[573]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Jul 21 12:57:24 postgresql webmin[573]: Webmin starting
Jul 21 12:57:24 postgresql systemd[1]: Started Webmin Web based Admin UI.
root@postgresql ~#
50 seconds AFTER starting Webmin and getting the connection lost message
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[0]: Service [webmin] accepted connection from 192.168.1.158:4183
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[0]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[0]: Service [webmin] connected remote server from 127.0.0.1:39956
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[1]: Service [webmin] accepted connection from 192.168.1.158:4184
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[1]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[1]: Service [webmin] connected remote server from 127.0.0.1:39966
Jul 21 12:59:59 postgresql stunnel[559]: LOG3[1]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[1]: Connection closed: 94046 byte(s) sent to TLS, 798 byte(s) sent to socket
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[2]: Service [webmin] accepted connection from 192.168.1.158:4185
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[3]: Service [webmin] accepted connection from 192.168.1.158:4186
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[4]: Service [webmin] accepted connection from 192.168.1.158:4187
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[2]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[2]: Service [webmin] connected remote server from 127.0.0.1:39972
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[3]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[3]: Service [webmin] connected remote server from 127.0.0.1:39984
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[4]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[4]: Service [webmin] connected remote server from 127.0.0.1:39994
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[5]: Service [webmin] accepted connection from 192.168.1.158:4188
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[6]: Service [webmin] accepted connection from 192.168.1.158:4189
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[7]: Service [webmin] accepted connection from 192.168.1.158:4190
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[5]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[5]: Service [webmin] connected remote server from 127.0.0.1:40002
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[6]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[6]: Service [webmin] connected remote server from 127.0.0.1:40006
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[7]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[7]: Service [webmin] connected remote server from 127.0.0.1:40010
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[8]: Service [webmin] accepted connection from 192.168.1.158:4191
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[8]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[8]: Service [webmin] connected remote server from 127.0.0.1:40024
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[9]: Service [webmin] accepted connection from 192.168.1.158:4192
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[9]: s_connect: connected 127.0.0.1:10000
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[9]: Service [webmin] connected remote server from 127.0.0.1:40038
Jul 21 12:59:59 postgresql stunnel[559]: LOG3[6]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[6]: Connection closed: 637274 byte(s) sent to TLS, 2094 byte(s) sent to socket
Jul 21 12:59:59 postgresql stunnel[559]: LOG3[5]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[5]: Connection closed: 406512 byte(s) sent to TLS, 1413 byte(s) sent to socket
Jul 21 12:59:59 postgresql stunnel[559]: LOG3[7]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 12:59:59 postgresql stunnel[559]: LOG5[7]: Connection closed: 6882 byte(s) sent to TLS, 1417 byte(s) sent to socket
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[10]: Service [webmin] accepted connection from 192.168.1.158:4193
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[10]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[10]: Service [webmin] connected remote server from 127.0.0.1:40046
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[11]: Service [webmin] accepted connection from 192.168.1.158:4194
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[11]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[11]: Service [webmin] connected remote server from 127.0.0.1:40052
Jul 21 13:00:00 postgresql stunnel[559]: LOG3[11]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[11]: Connection closed: 138 byte(s) sent to TLS, 938 byte(s) sent to socket
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[12]: Service [webmin] accepted connection from 192.168.1.158:4195
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[12]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[12]: Service [webmin] connected remote server from 127.0.0.1:40066
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[13]: Service [webmin] accepted connection from 192.168.1.158:4196
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[13]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[13]: Service [webmin] connected remote server from 127.0.0.1:40070
Jul 21 13:00:00 postgresql stunnel[559]: LOG3[13]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[13]: Connection closed: 145 byte(s) sent to TLS, 755 byte(s) sent to socket
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[14]: Service [webmin] accepted connection from 192.168.1.158:4197
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[14]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[14]: Service [webmin] connected remote server from 127.0.0.1:40074
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[15]: Service [webmin] accepted connection from 192.168.1.158:4198
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[15]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[15]: Service [webmin] connected remote server from 127.0.0.1:40076
Jul 21 13:00:00 postgresql stunnel[559]: LOG3[15]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[15]: Connection closed: 3270 byte(s) sent to TLS, 929 byte(s) sent to socket
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[16]: Service [webmin] accepted connection from 192.168.1.158:4199
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[16]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[16]: Service [webmin] connected remote server from 127.0.0.1:40086
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[17]: Service [webmin] accepted connection from 192.168.1.158:4200
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[17]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[17]: Service [webmin] connected remote server from 127.0.0.1:40094
Jul 21 13:00:00 postgresql stunnel[559]: LOG3[17]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[17]: Connection closed: 6194 byte(s) sent to TLS, 818 byte(s) sent to socket
Jul 21 13:00:00 postgresql stunnel[559]: LOG3[9]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:00 postgresql stunnel[559]: LOG5[9]: Connection closed: 4982 byte(s) sent to TLS, 2403 byte(s) sent to socket
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[18]: Service [webmin] accepted connection from 192.168.1.158:4201
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[18]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[18]: Service [webmin] connected remote server from 127.0.0.1:40100
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[19]: Service [webmin] accepted connection from 192.168.1.158:4202
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[19]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:03 postgresql stunnel[559]: LOG5[19]: Service [webmin] connected remote server from 127.0.0.1:40112
Jul 21 13:00:04 postgresql stunnel[559]: LOG3[19]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[19]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[20]: Service [webmin] accepted connection from 192.168.1.158:4203
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[20]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[20]: Service [webmin] connected remote server from 127.0.0.1:40118
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[21]: Service [webmin] accepted connection from 192.168.1.158:4204
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[21]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:04 postgresql stunnel[559]: LOG5[21]: Service [webmin] connected remote server from 127.0.0.1:40128
Jul 21 13:00:05 postgresql stunnel[559]: LOG3[21]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[21]: Connection closed: 8535 byte(s) sent to TLS, 812 byte(s) sent to socket
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[22]: Service [webmin] accepted connection from 192.168.1.158:4205
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[22]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[22]: Service [webmin] connected remote server from 127.0.0.1:40144
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[23]: Service [webmin] accepted connection from 192.168.1.158:4206
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[23]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:05 postgresql stunnel[559]: LOG5[23]: Service [webmin] connected remote server from 127.0.0.1:40160
Jul 21 13:00:06 postgresql stunnel[559]: LOG3[23]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:06 postgresql stunnel[559]: LOG5[23]: Connection closed: 658 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[24]: Service [webmin] accepted connection from 192.168.1.158:4207
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[24]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[24]: Service [webmin] connected remote server from 127.0.0.1:55118
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[25]: Service [webmin] accepted connection from 192.168.1.158:4208
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[25]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:07 postgresql stunnel[559]: LOG5[25]: Service [webmin] connected remote server from 127.0.0.1:55122
Jul 21 13:00:09 postgresql stunnel[559]: LOG3[25]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:09 postgresql stunnel[559]: LOG5[25]: Connection closed: 658 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[26]: Service [webmin] accepted connection from 192.168.1.158:4209
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[26]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[26]: Service [webmin] connected remote server from 127.0.0.1:55138
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[27]: Service [webmin] accepted connection from 192.168.1.158:4210
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[27]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:10 postgresql stunnel[559]: LOG5[27]: Service [webmin] connected remote server from 127.0.0.1:55154
Jul 21 13:00:11 postgresql stunnel[559]: LOG3[27]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:11 postgresql stunnel[559]: LOG5[27]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[28]: Service [webmin] accepted connection from 192.168.1.158:4211
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[28]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[28]: Service [webmin] connected remote server from 127.0.0.1:55166
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[29]: Service [webmin] accepted connection from 192.168.1.158:4212
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[29]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:12 postgresql stunnel[559]: LOG5[29]: Service [webmin] connected remote server from 127.0.0.1:55178
Jul 21 13:00:13 postgresql stunnel[559]: LOG3[29]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:13 postgresql stunnel[559]: LOG5[29]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[30]: Service [webmin] accepted connection from 192.168.1.158:4213
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[30]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[30]: Service [webmin] connected remote server from 127.0.0.1:55190
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[31]: Service [webmin] accepted connection from 192.168.1.158:4214
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[31]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:14 postgresql stunnel[559]: LOG5[31]: Service [webmin] connected remote server from 127.0.0.1:55202
Jul 21 13:00:16 postgresql stunnel[559]: LOG3[31]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:16 postgresql stunnel[559]: LOG5[31]: Connection closed: 652 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[32]: Service [webmin] accepted connection from 192.168.1.158:4215
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[32]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[32]: Service [webmin] connected remote server from 127.0.0.1:38814
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[33]: Service [webmin] accepted connection from 192.168.1.158:4216
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[33]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:17 postgresql stunnel[559]: LOG5[33]: Service [webmin] connected remote server from 127.0.0.1:38830
Jul 21 13:00:18 postgresql stunnel[559]: LOG3[33]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:18 postgresql stunnel[559]: LOG5[33]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[34]: Service [webmin] accepted connection from 192.168.1.158:4217
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[34]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[34]: Service [webmin] connected remote server from 127.0.0.1:38842
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[35]: Service [webmin] accepted connection from 192.168.1.158:4218
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[35]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:19 postgresql stunnel[559]: LOG5[35]: Service [webmin] connected remote server from 127.0.0.1:38856
Jul 21 13:00:20 postgresql stunnel[559]: LOG3[35]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:20 postgresql stunnel[559]: LOG5[35]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[36]: Service [webmin] accepted connection from 192.168.1.158:4219
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[36]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[36]: Service [webmin] connected remote server from 127.0.0.1:38864
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[37]: Service [webmin] accepted connection from 192.168.1.158:4220
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[37]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:22 postgresql stunnel[559]: LOG5[37]: Service [webmin] connected remote server from 127.0.0.1:38876
Jul 21 13:00:23 postgresql stunnel[559]: LOG3[37]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:23 postgresql stunnel[559]: LOG5[37]: Connection closed: 658 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[38]: Service [webmin] accepted connection from 192.168.1.158:4221
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[38]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[38]: Service [webmin] connected remote server from 127.0.0.1:38880
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[39]: Service [webmin] accepted connection from 192.168.1.158:4222
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[39]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:24 postgresql stunnel[559]: LOG5[39]: Service [webmin] connected remote server from 127.0.0.1:38890
Jul 21 13:00:25 postgresql stunnel[559]: LOG3[39]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:25 postgresql stunnel[559]: LOG5[39]: Connection closed: 651 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[40]: Service [webmin] accepted connection from 192.168.1.158:4223
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[40]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[40]: Service [webmin] connected remote server from 127.0.0.1:38088
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[41]: Service [webmin] accepted connection from 192.168.1.158:4224
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[41]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:26 postgresql stunnel[559]: LOG5[41]: Service [webmin] connected remote server from 127.0.0.1:38090
Jul 21 13:00:27 postgresql stunnel[559]: LOG3[41]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:27 postgresql stunnel[559]: LOG5[41]: Connection closed: 655 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[42]: Service [webmin] accepted connection from 192.168.1.158:4225
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[42]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[42]: Service [webmin] connected remote server from 127.0.0.1:38092
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[43]: Service [webmin] accepted connection from 192.168.1.158:4226
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[43]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:29 postgresql stunnel[559]: LOG5[43]: Service [webmin] connected remote server from 127.0.0.1:38102
Jul 21 13:00:30 postgresql stunnel[559]: LOG3[43]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:30 postgresql stunnel[559]: LOG5[43]: Connection closed: 657 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[44]: Service [webmin] accepted connection from 192.168.1.158:4229
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[44]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[44]: Service [webmin] connected remote server from 127.0.0.1:38118
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[45]: Service [webmin] accepted connection from 192.168.1.158:4230
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[45]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:31 postgresql stunnel[559]: LOG5[45]: Service [webmin] connected remote server from 127.0.0.1:38124
Jul 21 13:00:32 postgresql stunnel[559]: LOG3[45]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:32 postgresql stunnel[559]: LOG5[45]: Connection closed: 658 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[46]: Service [webmin] accepted connection from 192.168.1.158:4231
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[46]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[46]: Service [webmin] connected remote server from 127.0.0.1:38128
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[47]: Service [webmin] accepted connection from 192.168.1.158:4232
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[47]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:33 postgresql stunnel[559]: LOG5[47]: Service [webmin] connected remote server from 127.0.0.1:38140
Jul 21 13:00:35 postgresql stunnel[559]: LOG3[47]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:35 postgresql stunnel[559]: LOG5[47]: Connection closed: 654 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[48]: Service [webmin] accepted connection from 192.168.1.158:4233
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[48]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[48]: Service [webmin] connected remote server from 127.0.0.1:38142
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[49]: Service [webmin] accepted connection from 192.168.1.158:4234
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[49]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:36 postgresql stunnel[559]: LOG5[49]: Service [webmin] connected remote server from 127.0.0.1:38148
Jul 21 13:00:37 postgresql stunnel[559]: LOG3[49]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:37 postgresql stunnel[559]: LOG5[49]: Connection closed: 658 byte(s) sent to TLS, 807 byte(s) sent to socket
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[50]: Service [webmin] accepted connection from 192.168.1.158:4235
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[50]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[50]: Service [webmin] connected remote server from 127.0.0.1:46518
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[51]: Service [webmin] accepted connection from 192.168.1.158:4236
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[51]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[51]: Service [webmin] connected remote server from 127.0.0.1:46522
Jul 21 13:00:38 postgresql stunnel[559]: LOG3[51]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:38 postgresql stunnel[559]: LOG5[51]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:41 postgresql stunnel[559]: LOG5[52]: Service [webmin] accepted connection from 192.168.1.158:4237
Jul 21 13:00:41 postgresql stunnel[559]: LOG5[52]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:41 postgresql stunnel[559]: LOG5[52]: Service [webmin] connected remote server from 127.0.0.1:46538
Jul 21 13:00:41 postgresql stunnel[559]: LOG3[52]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:41 postgresql stunnel[559]: LOG5[52]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:41 postgresql stunnel[559]: LOG5[53]: Service [webmin] accepted connection from 192.168.1.158:4238
Jul 21 13:00:42 postgresql stunnel[559]: LOG5[53]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:42 postgresql stunnel[559]: LOG5[53]: Service [webmin] connected remote server from 127.0.0.1:46548
Jul 21 13:00:42 postgresql stunnel[559]: LOG3[53]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:42 postgresql stunnel[559]: LOG5[53]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[54]: Service [webmin] accepted connection from 192.168.1.158:4239
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[54]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[54]: Service [webmin] connected remote server from 127.0.0.1:46558
Jul 21 13:00:45 postgresql stunnel[559]: LOG3[54]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[54]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[55]: Service [webmin] accepted connection from 192.168.1.158:4240
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[55]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[55]: Service [webmin] connected remote server from 127.0.0.1:46566
Jul 21 13:00:45 postgresql stunnel[559]: LOG3[55]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:45 postgresql stunnel[559]: LOG5[55]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[56]: Service [webmin] accepted connection from 192.168.1.158:4241
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[56]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[56]: Service [webmin] connected remote server from 127.0.0.1:60772
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[56]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[56]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[57]: Service [webmin] accepted connection from 192.168.1.158:4242
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[57]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[57]: Service [webmin] connected remote server from 127.0.0.1:60776
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[57]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[57]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[58]: Service [webmin] accepted connection from 192.168.1.158:4243
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[58]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[58]: Service [webmin] connected remote server from 127.0.0.1:60786
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[58]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[58]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[59]: Service [webmin] accepted connection from 192.168.1.158:4244
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[59]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[59]: Service [webmin] connected remote server from 127.0.0.1:60788
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[59]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[59]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[60]: Service [webmin] accepted connection from 192.168.1.158:4245
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[60]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[60]: Service [webmin] connected remote server from 127.0.0.1:60798
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[60]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[60]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[61]: Service [webmin] accepted connection from 192.168.1.158:4246
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[61]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[61]: Service [webmin] connected remote server from 127.0.0.1:60814
Jul 21 13:00:48 postgresql stunnel[559]: LOG3[61]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:48 postgresql stunnel[559]: LOG5[61]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[62]: Service [webmin] accepted connection from 192.168.1.158:4247
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[62]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[62]: Service [webmin] connected remote server from 127.0.0.1:60818
Jul 21 13:00:51 postgresql stunnel[559]: LOG3[62]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[62]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[63]: Service [webmin] accepted connection from 192.168.1.158:4248
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[63]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[63]: Service [webmin] connected remote server from 127.0.0.1:60834
Jul 21 13:00:51 postgresql stunnel[559]: LOG3[63]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:51 postgresql stunnel[559]: LOG5[63]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[64]: Service [webmin] accepted connection from 192.168.1.158:4251
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[64]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[64]: Service [webmin] connected remote server from 127.0.0.1:60840
Jul 21 13:00:54 postgresql stunnel[559]: LOG3[64]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[64]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[65]: Service [webmin] accepted connection from 192.168.1.158:4252
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[65]: s_connect: connected 127.0.0.1:10000
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[65]: Service [webmin] connected remote server from 127.0.0.1:60846
Jul 21 13:00:54 postgresql stunnel[559]: LOG3[65]: transfer: s_poll_wait: TIMEOUTclose exceeded: closing
Jul 21 13:00:54 postgresql stunnel[559]: LOG5[65]: Connection closed: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
All is well
I figured it out. It was my ESET NOD32 Antivirus
Setup > Internet Protection settings > WEB AND EMAIL >
under
PROTOCOL FILTERING – If I add an exclusion to the IP address of the Postgres server all is good.
or
SSL/TLS – If I disable SSL/TLS protocol filtering all is good
I would be curious to know why it would kill Webmin to the point that I have to restart webmin. If you might have answer. If not, no worries.
Thank you for your time.
Glad you worked it out.
Glad to hear that you worked it out. Also apologies on such s slow response.
As to why your AV would kill Webmin, TBH, I'm not 100% sure. I suspect that whatever it's doing to the traffic is nothing that Webmin is expecting and doesn't know how to deal with that situation.
If you're really keen to work out what is going on, you'll need to capture the traffic (with something like Wireshark) and try to decode what it means. TBH, that's above my pay grade, so I won't be much assistance.
stunnel4 is old
Can you please elaborate?
Can you please elaborate? Despite the name 'stunnel4' getting noted in places, TurnKey v17.x actually includes Stunnel v5.56 so I'd be interested to hear more about your thoughts that a newer version should fix these issues?
Add new comment