Anything else than "localhost" as Hostname results in an error

Added by surfer almost 5 years ago

Hi,

Running nntpgrab_server and nntpgrab_gui on my Ubuntu Linux system.

When I start nntpgrab_gui, and leave 'localhost' at Hostname: and click connect it works. Good.

When I start nntpgrab_gui, and fill out '127.0.0.1', "R540" or "192.168.1.53" (which all point to this machine) at Hostname:, I get an error message:

on_btnConnectToServer_clicked: assertion `gtk_combo_box_get_active_iter(GTK_COMBO_BOX(cmbConnectHostname), &iter)' failed

FWIW:
I have no firewall running.
a "netstat -apon" shows "tcp 0 0 0.0.0.0:5423 0.0.0.0:* LISTEN 24530/nntpgrab_serv off (0.00/0/0)", nntpgrav is listening to all IPv4 connections.
I ran wireshark, but didn't see communication between gui and server. Is the communication not done via IP?

How do I get this working? My goal is to remotely administer my server.

Thanks.


Replies

RE: Anything else than "localhost" as Hostname results in an error - Added by Alguno almost 5 years ago

What version of NNTPGrab are you running?
This issue should already be resolved in NNTPGrab 0.7.1: http://www.nntpgrab.nl/projects/nntpgrab/wiki/Version_history

RE: Anything else than "localhost" as Hostname results in an error - Added by surfer almost 5 years ago

Version 0.7.1, according to the tab Information. And: "You are using the latest version of NNTPGrab".

Can I do an additional test, or provide extra information?

RE: Anything else than "localhost" as Hostname results in an error - Added by surfer almost 5 years ago

These are the file details of nntpgrab on my system:

sander@R540:~$ ll `which nntpgrab_server`
-rwxr-xr-x 1 root root 21873 2011-11-10 23:06 /usr/bin/nntpgrab_server*

sander@R540:~$ ll `which nntpgrab_gui`
-rwxr-xr-x 1 root root 624587 2011-11-10 23:06 /usr/bin/nntpgrab_gui*

Are these correct?

RE: Anything else than "localhost" as Hostname results in an error - Added by surfer almost 5 years ago

Update:

The Windows GUI client can successfully connect to the nntpgrab server running on Linux, even across the Internet using the full name (FQDN). Cool.

So my conclusion is that the problem is in the Linux client side of nntpgrab. Maybe in the name resolution?

RE: Anything else than "localhost" as Hostname results in an error - Added by Alguno almost 5 years ago

This is a bug in the GTK frontend of NNTPGrab.
You might want to try to install the package nntpgrab_gui_qt and start the "NNTPGrab GUI (Qt Frontend)" from your application launcher.
That might resolve the issue for you for now until a next version of NNTPGrab is released

RE: Anything else than "localhost" as Hostname results in an error - Added by surfer almost 5 years ago

Wow: the qt version works, and it looks much better.

BTW: the package name is with dashes ("-"), the application is with underscore ("_"). It took me some time to find out why I couldn't find the package (with underscores).

sudo apt-get install nntpgrab-gui-qt

nntpgrab_gui_qt

RE: Anything else than "localhost" as Hostname results in an error - Added by Alguno almost 5 years ago

A fix for this issue has been applied in r1922 and will be part of the next NNTPGrab release