[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freediameter-help
Subject:    [Help] Address family for hostname not supported
From:       sdecugis () freediameter ! net (Sebastien Decugis)
Date:       2012-10-30 21:07:37
Message-ID: 50904199.1070607 () freediameter ! net
[Download RAW message or body]

Hello Martin,

The value "127.0.0.1" is parsed by the function getaddrinfo with the 
flag AI_ADDRCONFIG.
The first thing that comes to my mind would be that you do not have an 
IP address configured on your machine (only IPv6), is it the case ? Do 
you have a network interface ?

Best regards,
Sebastien.


Le 2012/10/29 19:10, martin fantini a ?crit :
> Hello,
>    I'm testing an extension I know it was working but I changed the 
> environment (still running Debian, but other version, other PC, etc). 
> I recompiled the code and now it's not working. The error I get is:
> fd_server.conf:23.73 : Address family for hostname not supported
> fd_server.conf:23.73 : An error occurred while parsing the 
> configuration file
> ERROR: in '__v__ = (fddparse(fd_g_config))':Invalid argument
> ERROR: in '__v__ = (fd_conf_parse())':Invalid argument
> ERROR: in '__v__ = (fd_core_parseconf(conffile))':Invalid argument
> and line 23 of fd_server.conf is
> ConnectPeer = "client.rmfantini-diameter-test" { ConnectTo = 
> "127.0.0.1"; No_TLS; No_SCTP; Prefer_TCP; port = 3870; };
>
> The full content of the file is at the end of the mail. I've tried 
> several different ideas of what it could be wrong, but got no new 
> result. Any idea of what it could be?
>
> Best regards,
> Mart?n Fantini
>
> # -------- Test configuration ---------
>
> Identity = "server.rmfantini-diameter-test";
> Realm = "rmfantini-diameter-test";
> Port = 3868;
> SecPort = 3869;
>
> TLS_Cred = "./server.cert.pem",
> "./server.key.pem";
> TLS_CA = "./cacert.pem";
>
> SCTP_Streams = 5;
> No_SCTP;
> Prefer_TCP;
> AppServThreads = 20;
>
> LoadExtension = "dbg_monitor.fdx";
> LoadExtension = "dict_dcca.fdx";
> LoadExtension = "dcca_sim_server.fdx" : "server.conf";
>
> ConnectPeer = "client.rmfantini-diameter-test" { ConnectTo = 
> "127.0.0.1"; No_TLS; No_SCTP; Prefer_TCP; port = 3870; };
>
>
> _______________________________________________
> Help mailing list
> Help at freediameter.net
> http://lists.freediameter.net/cgi-bin/mailman/listinfo/help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freediameter.net/pipermail/help/attachments/20121030/6532404d/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic