Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#572990: freeciv: Client can't connect to its own server (Can't Start local game)

128 views
Skip to first unread message

Ulrik Sverdrup

unread,
Mar 7, 2010, 10:10:01 PM3/7/10
to
Package: freeciv
Version: 2.2.0-1
Severity: normal


Using the gtk client, no way of starting a local game (using a local
"private" server started by the client) works. The client reports either
'Connection refused' or just waits.

For some reason, the instance of freeciv-server that the client starts,
does not allow connection.

The workaround is to start freeciv-server manually. It does not work
with default settings, I have to start with:

freeciv-server -b localhost -p 5556

the port argument is not the important part, it was explicitly setting
'localhost' that made it possible to connect to the server.

hostname is 'ulrik-ibook'.

$ cat /etc/hostname
ulrik-ibook

$ host ulrik-ibook
Host ulrik-ibook not found: 3(NXDOMAIN)


Apart from this, freeciv 2.2 seems really solid, great game.

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (800, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-trunk-powerpc
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Karl Goetz

unread,
Mar 8, 2010, 7:00:02 PM3/8/10
to
On Mon, 08 Mar 2010 04:02:26 +0100
Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:

> Package: freeciv
> Version: 2.2.0-1
> Severity: normal
>

> hostname is 'ulrik-ibook'.
>
> $ cat /etc/hostname
> ulrik-ibook
>
> $ host ulrik-ibook
> Host ulrik-ibook not found: 3(NXDOMAIN)
>
>
> Apart from this, freeciv 2.2 seems really solid, great game.

If you change your network configuration so your hostname is valid,
does the game start correctly?
kk

--
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group

signature.asc

Ulrik Sverdrup

unread,
Mar 9, 2010, 11:10:01 PM3/9/10
to
2010/3/9 Karl Goetz <ka...@kgoetz.id.au>:

> On Mon, 08 Mar 2010 04:02:26 +0100
> Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:
>
>> Package: freeciv
>> Version: 2.2.0-1
>> Severity: normal
>>
>> hostname is 'ulrik-ibook'.
>>
>> $ cat /etc/hostname
>> ulrik-ibook
>>
>> $ host ulrik-ibook
>> Host ulrik-ibook not found: 3(NXDOMAIN)
>>
>>
>> Apart from this, freeciv 2.2 seems really solid, great game.
>
> If you change your network configuration so your hostname is valid,
> does the game start correctly?
> kk

Hi, thanks for following up the bug report!

I don't know what a valid hostname is and what is not a valid
hostname, but I tried to edit my /etc/hosts back and forth without any
result. I did not try changing my hostname (I think most normal
hostnames do in fact *not* resolve on desktop computer).

I reported the bug upstream too myself (notoriously impatient as I
am), but I initially reported it to debian since I suspected it was
either related to bad configuration of my debian system, or a
debian-specific problem.

Anyway, here is the response from upstream bug http://gna.org/bugs/?15559 ::

---

You are probably another victim of a recent change in Debian squeeze
which sets net.ipv6.bindv6only = 1 in
/etc/sysctl.d/bindv6only.conf
See e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044

As a result the server listens on ::1 (IPv6 only), and the client
fails to connect to localhost (IPv4).

But eventually freeciv should change the way it opens the listening
socket(s) so that it works in both configurations.

---

HTH and Regards,
ulrik

Karl Goetz

unread,
Mar 10, 2010, 12:10:01 AM3/10/10
to
forwarded 572990 http://gna.org/bugs/?15559
thanks


On Wed, 10 Mar 2010 05:02:12 +0100
Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:

> 2010/3/9 Karl Goetz <ka...@kgoetz.id.au>:
> > On Mon, 08 Mar 2010 04:02:26 +0100
> > Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:
> >
> >> Package: freeciv
> >> Version: 2.2.0-1
> >> Severity: normal
> >>
> >> hostname is 'ulrik-ibook'.
> >>

> I reported the bug upstream too myself (notoriously impatient as I
> am), but I initially reported it to debian since I suspected it was
> either related to bad configuration of my debian system, or a
> debian-specific problem.

No problem (hopefully the tags at the top make con...@b.d.o happy).

> Anyway, here is the response from upstream bug
> http://gna.org/bugs/?15559 ::
>
> ---
>
> You are probably another victim of a recent change in Debian squeeze
> which sets net.ipv6.bindv6only = 1 in
> /etc/sysctl.d/bindv6only.conf
> See e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044
>
> As a result the server listens on ::1 (IPv6 only), and the client
> fails to connect to localhost (IPv4).

I see from http://gna.org/bugs/?15559#comment2 that this is confirmed.

> But eventually freeciv should change the way it opens the listening
> socket(s) so that it works in both configurations.

'eventually' doesn't sound like it'll be ready for squeeze :(

> ---
>
> HTH and Regards,
> ulrik


--

signature.asc

Karl Goetz

unread,
Mar 10, 2010, 12:10:01 AM3/10/10
to
forwarded 572990 http://gna.org/bugs/?15559
thanks


On Wed, 10 Mar 2010 05:02:12 +0100
Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:

> 2010/3/9 Karl Goetz <ka...@kgoetz.id.au>:
> > On Mon, 08 Mar 2010 04:02:26 +0100
> > Ulrik Sverdrup <ulrik.s...@gmail.com> wrote:
> >
> >> Package: freeciv
> >> Version: 2.2.0-1
> >> Severity: normal
> >>
> >> hostname is 'ulrik-ibook'.
> >>

> I reported the bug upstream too myself (notoriously impatient as I
> am), but I initially reported it to debian since I suspected it was
> either related to bad configuration of my debian system, or a
> debian-specific problem.

No problem (hopefully the tags at the top make con...@b.d.o happy).

> Anyway, here is the response from upstream bug


> http://gna.org/bugs/?15559 ::
>
> ---
>
> You are probably another victim of a recent change in Debian squeeze
> which sets net.ipv6.bindv6only = 1 in
> /etc/sysctl.d/bindv6only.conf
> See e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044
>
> As a result the server listens on ::1 (IPv6 only), and the client
> fails to connect to localhost (IPv4).

I see from http://gna.org/bugs/?15559#comment2 that this is confirmed.

> But eventually freeciv should change the way it opens the listening


> socket(s) so that it works in both configurations.

'eventually' doesn't sound like it'll be ready for squeeze :(

> ---
>
> HTH and Regards,
> ulrik


--

signature.asc
0 new messages