[Freeciv-Dev] [bug #15559] (Gtk) client can't connect to its locally started server

2010-03-10 Thread pepeto

Update of bug #15559 (project freeciv):

Category: art = general
 Release: 2.2 = 2.2.0  
 Summary: (Gtk) client can't connect to its locally started
server = Client can't connect to its locally started server

___

Follow-up Comment #3:

Nice to see you arround, englabenny! Did you forgot to log in?


___

Reply to this item at:

  http://gna.org/bugs/?15559

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15559] (Gtk) client can't connect to its locally started server

2010-03-09 Thread Andreas

Follow-up Comment #1, bug #15559 (project freeciv):

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.

___

Reply to this item at:

  http://gna.org/bugs/?15559

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15559] (Gtk) client can't connect to its locally started server

2010-03-09 Thread anonymous

Follow-up Comment #2, bug #15559 (project freeciv):

Thank you for this reponse!

Initially reported as a debian bug since I (rightfully, it seems) thought it
was a debian issue.

Confirming that the following commandline fixes the condition freeciv had and
lets the client connect to its server:

sudo sysctl -w net.ipv6.bindv6only=0

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572990

___

Reply to this item at:

  http://gna.org/bugs/?15559

___
  Meddelandet skickades via/av Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15559] (Gtk) client can't connect to its locally started server

2010-03-08 Thread anonymous

URL:
  http://gna.org/bugs/?15559

 Summary: (Gtk) client can't connect to its locally started
server
 Project: Freeciv
Submitted by: None
Submitted on: måndag 2010-03-08 den 17:12 CET
Category: art
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: ulrik.sverd...@gmail.com
 Open/Closed: Open
 Release: 2.2
 Discussion Lock: Any
Operating System: GNU/Linux
 Planned Release: 

___

Details:

I have found the following problem in the official 2.2 release (using 2.2.0-1
from debian unstable, assumed unchanged from original), and in SVN rev r17019
of the S2_2 branch that I compiled.

The gtk client is unable to start local games (where it starts the server and
then connects to it). If I click Start New Game, the client will just hang
for a long time, until it timeouts (you have to start the server yourself,
sorry).

Manually starting the server as 'freeciv-server' simply, then using
'freeciv-gtk2 -a', we meet a Connection refused error.

The workaround found is that if I explicitly specify the bind address of the
server, it will connect to it just fine:

/usr/local/bin/freeciv-server -d 3 -b localhost
/usr/local/bin/freeciv-gtk2 -a

After this it works. The game plays fine!

I don't know if my hostname configuration is wrong, and if it is related:
$ cat /etc/hostname 
ulrik-ibook

 $ cat /etc/hosts
127.0.0.1 ulrik-ibook localhost.localdomain localhost
127.0.1.1 ulrik-ibook.lan ulrik-ibook

# deutsche weiterleitung
gmail.com mail.google.com

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts



I tried some variations of the hosts file's first two lines, without any
success.

 $ host ulrik-ibook
Host ulrik-ibook not found: 3(NXDOMAIN)
 $ host localhost
localhost has address 127.0.0.1





2.2 is an amazing version of Freeciv, so many parts of the Game were touched
and improved. I also like the UI reorganization. So big thanks and
congratulations to the devs for accomplishing this release.




___

Reply to this item at:

  http://gna.org/bugs/?15559

___
  Meddelandet skickades via/av Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev