Quantcast

Yarp server "blinking"

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Yarp server "blinking"

Stéphane Lallée
Hi !

We are experiencing a strange problem. The yarp server is "blinking" (yarp detect sometime works, sometime not without any particular actions).

Do you see any test I could carry to determine where does the problem comes from ? (I'm available to ping and ssh to the server machine without any issue...)

Stéphane Lallée

*~~~~~~~~~~~~*
Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
Universitat Pompeu Fabra
COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
Roc Boronat, 138. 08018 Barcelona

http://specs.upf.edu/
*~~~~~~~~~~~~*

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp server "blinking"

paulfitz
Administrator
Hi Stephane,

Some possible tests.  During a time when "yarp detect" works, note the
IP address and port number it reports.  When it fails, try something like:
   yarp ping /192.168.1.3:10000   (replacing IP address and port number
as appropriate)
and see what it says.  If it says something like:
   This is "/root" at "tcp://192.168.1.3:10000"
   There are no outgoing connections
   There is an input connection from "<ping>" to "/root" using text_ack
then the yarp server is there and happy.  If not, the error message may
be instructive.

Also when in a good state, do:
   yarp name query fallback
and note the IP address and port number.  This is a multicast address
used for just one purpose - finding the name server.  Do something like
this on all relevant computers:
   lsof -n | grep "224\.2"
on the machine running the nameserver you should see some entries - I see:
   yarpserve  8008         paulfitz    6u     IPv4 9326330      
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8009   paulfitz    6u     IPv4 9326330      
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8010   paulfitz    6u     IPv4 9326330      
0t0        UDP 224.2.1.1:10000
Flakiness in "yarp detect" suggests a multicast problem.  You could try
bypassing it by manually supplying the server location:
   yarp conf 192.168.1.3 10000   (replacing IP/port appropriately)
Is that sufficient to get things working?  If so, this really feels like
a multicast problem.

By the way, there is a #yarpers channel on IRC freenode these days.

Cheers,
Paul

On 01/24/2014 11:54 AM, Stéphane Lallée wrote:

> Hi !
>
> We are experiencing a strange problem. The yarp server is "blinking"
> (yarp detect sometime works, sometime not without any particular actions).
>
> Do you see any test I could carry to determine where does the problem
> comes from ? (I'm available to ping and ssh to the server machine
> without any issue...)
>
> Stéphane Lallée
>
> *~~~~~~~~~~~~*
> Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
> Universitat Pompeu Fabra
> /COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
> Roc Boronat, 138. 08018 Barcelona/
> http://specs.upf.edu/ <http://www.sbri.fr>
> *~~~~~~~~~~~~*


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp server "blinking"

Stéphane Lallée
Hi Paul, 

this problem came again today.
My server is on 10.0.0.11 10000
When I run yarp ping :
icub@icubsrv:~$ yarp ping 10.0.0.11:10000
yarp: No connection to nameserver
yarp: *** try running: yarp detect ***
yarp: could not find port
 
On the server machine I see this:
 icub@ikart:~$ lsof -n | grep "224\.2"
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /var/lib/lightdm/.gvfs
      Output information may be incomplete.
yarp       2500       icub    6u     IPv4    1793      0t0      UDP 224.2.1.1:10000 

And using manual configuration (yarp conf) doesnt change anything :-/

Stéphane Lallée

*~~~~~~~~~~~~*
Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
Universitat Pompeu Fabra
COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
Roc Boronat, 138. 08018 Barcelona

http://specs.upf.edu/
*~~~~~~~~~~~~*


2014-01-24 16:31 GMT+01:00 Paul Fitzpatrick <[hidden email]>:
Hi Stephane,

Some possible tests.  During a time when "yarp detect" works, note the
IP address and port number it reports.  When it fails, try something like:
   yarp ping /192.168.1.3:10000   (replacing IP address and port number
as appropriate)
and see what it says.  If it says something like:
   This is "/root" at "tcp://192.168.1.3:10000"
   There are no outgoing connections
   There is an input connection from "<ping>" to "/root" using text_ack
then the yarp server is there and happy.  If not, the error message may
be instructive.

Also when in a good state, do:
   yarp name query fallback
and note the IP address and port number.  This is a multicast address
used for just one purpose - finding the name server.  Do something like
this on all relevant computers:
   lsof -n | grep "224\.2"
on the machine running the nameserver you should see some entries - I see:
   yarpserve  8008         paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8009   paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8010   paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
Flakiness in "yarp detect" suggests a multicast problem.  You could try
bypassing it by manually supplying the server location:
   yarp conf 192.168.1.3 10000   (replacing IP/port appropriately)
Is that sufficient to get things working?  If so, this really feels like
a multicast problem.

By the way, there is a #yarpers channel on IRC freenode these days.

Cheers,
Paul

On 01/24/2014 11:54 AM, Stéphane Lallée wrote:
> Hi !
>
> We are experiencing a strange problem. The yarp server is "blinking"
> (yarp detect sometime works, sometime not without any particular actions).
>
> Do you see any test I could carry to determine where does the problem
> comes from ? (I'm available to ping and ssh to the server machine
> without any issue...)
>
> Stéphane Lallée
>
> *~~~~~~~~~~~~*
> Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
> Universitat Pompeu Fabra
> /COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
> Roc Boronat, 138. 08018 Barcelona/
> http://specs.upf.edu/ <http://www.sbri.fr>
> *~~~~~~~~~~~~*


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp server "blinking"

Grégoire Pointeau
Hello, we are experiencing the same problem here in Lyon.
Did someone finally had a solution ?

Thanks.


2014-02-07 12:13 GMT+01:00 Stéphane Lallée <[hidden email]>:
Hi Paul, 

this problem came again today.
My server is on 10.0.0.11 10000
When I run yarp ping :
icub@icubsrv:~$ yarp ping 10.0.0.11:10000
yarp: No connection to nameserver
yarp: *** try running: yarp detect ***
yarp: could not find port
 
On the server machine I see this:
 icub@ikart:~$ lsof -n | grep "224\.2"
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /var/lib/lightdm/.gvfs
      Output information may be incomplete.
yarp       2500       icub    6u     IPv4    1793      0t0      UDP 224.2.1.1:10000 

And using manual configuration (yarp conf) doesnt change anything :-/

Stéphane Lallée

*~~~~~~~~~~~~*
Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
Universitat Pompeu Fabra

COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
Roc Boronat, 138. 08018 Barcelona

http://specs.upf.edu/
*~~~~~~~~~~~~*


2014-01-24 16:31 GMT+01:00 Paul Fitzpatrick <[hidden email]>:

Hi Stephane,

Some possible tests.  During a time when "yarp detect" works, note the
IP address and port number it reports.  When it fails, try something like:
   yarp ping /192.168.1.3:10000   (replacing IP address and port number
as appropriate)
and see what it says.  If it says something like:
   This is "/root" at "tcp://192.168.1.3:10000"
   There are no outgoing connections
   There is an input connection from "<ping>" to "/root" using text_ack
then the yarp server is there and happy.  If not, the error message may
be instructive.

Also when in a good state, do:
   yarp name query fallback
and note the IP address and port number.  This is a multicast address
used for just one purpose - finding the name server.  Do something like
this on all relevant computers:
   lsof -n | grep "224\.2"
on the machine running the nameserver you should see some entries - I see:
   yarpserve  8008         paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8009   paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
   yarpserve  8008  8010   paulfitz    6u     IPv4 9326330
0t0        UDP 224.2.1.1:10000
Flakiness in "yarp detect" suggests a multicast problem.  You could try
bypassing it by manually supplying the server location:
   yarp conf 192.168.1.3 10000   (replacing IP/port appropriately)
Is that sufficient to get things working?  If so, this really feels like
a multicast problem.

By the way, there is a #yarpers channel on IRC freenode these days.

Cheers,
Paul

On 01/24/2014 11:54 AM, Stéphane Lallée wrote:
> Hi !
>
> We are experiencing a strange problem. The yarp server is "blinking"
> (yarp detect sometime works, sometime not without any particular actions).
>
> Do you see any test I could carry to determine where does the problem
> comes from ? (I'm available to ping and ssh to the server machine
> without any issue...)
>
> Stéphane Lallée
>
> *~~~~~~~~~~~~*
> Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
> Universitat Pompeu Fabra
> /COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
> Roc Boronat, 138. 08018 Barcelona/
> http://specs.upf.edu/ <http://www.sbri.fr>
> *~~~~~~~~~~~~*


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers




--
Grégoire Pointeau


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Yarp server "blinking"

paulfitz
Administrator
Hi Gregoire,

Back when Stephane had this problem we had a go at nailing it down but
didn't.  I've opened an issue for this here to gather information:
   https://github.com/robotology/yarp/issues/188
Could you do me a favor and post any details you can think of there?  
Symptoms, like what you do, what you see.  And if you are currently
having the problem, I'm available on #yarpers on freenode IRC.

If anyone else on the list has experienced the same issue, please chime
in on github to say that, it would be much appreciated. This has so far
proven a tricky one to get to the bottom of.

Cheers,
Paul

On 06/03/2014 04:37 PM, Grégoire Pointeau wrote:

> Hello, we are experiencing the same problem here in Lyon.
> Did someone finally had a solution ?
>
> Thanks.
>
>
> 2014-02-07 12:13 GMT+01:00 Stéphane Lallée <[hidden email]
> <mailto:[hidden email]>>:
>
>     Hi Paul,
>
>     this problem came again today.
>     My server is on 10.0.0.11 10000
>     When I run yarp ping :
>
>         icub@icubsrv:~$ yarp ping 10.0.0.11:10000 <http://10.0.0.11:10000>
>         yarp: No connection to nameserver
>         yarp: *** try running: yarp detect ***
>         yarp: could not find port
>
>     On the server machine I see this:
>
>          icub@ikart:~$ lsof -n | grep "224\.2"
>         lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
>         /var/lib/lightdm/.gvfs
>               Output information may be incomplete.
>         yarp       2500       icub    6u     IPv4    1793    0t0    
>          UDP 224.2.1.1:10000 <http://224.2.1.1:10000>
>
>
>     And using manual configuration (yarp conf) doesnt change anything :-/
>
>     Stéphane Lallée
>
>     *~~~~~~~~~~~~*
>     Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
>     Universitat Pompeu Fabra
>
>     /COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
>     Roc Boronat, 138. 08018 Barcelona/
>
>     http://specs.upf.edu/
>     *~~~~~~~~~~~~*
>
>
>     2014-01-24 16:31 GMT+01:00 Paul Fitzpatrick <[hidden email]
>     <mailto:[hidden email]>>:
>
>         Hi Stephane,
>
>         Some possible tests.  During a time when "yarp detect" works,
>         note the
>         IP address and port number it reports.  When it fails, try
>         something like:
>            yarp ping /192.168.1.3:10000 <http://192.168.1.3:10000>  
>         (replacing IP address and port number
>         as appropriate)
>         and see what it says.  If it says something like:
>            This is "/root" at "tcp://192.168.1.3:10000
>         <http://192.168.1.3:10000>"
>            There are no outgoing connections
>            There is an input connection from "<ping>" to "/root" using
>         text_ack
>         then the yarp server is there and happy.  If not, the error
>         message may
>         be instructive.
>
>         Also when in a good state, do:
>            yarp name query fallback
>         and note the IP address and port number.  This is a multicast
>         address
>         used for just one purpose - finding the name server.  Do
>         something like
>         this on all relevant computers:
>            lsof -n | grep "224\.2"
>         on the machine running the nameserver you should see some
>         entries - I see:
>            yarpserve  8008         paulfitz    6u     IPv4 9326330
>         0t0        UDP 224.2.1.1:10000 <http://224.2.1.1:10000>
>            yarpserve  8008  8009   paulfitz    6u     IPv4 9326330
>         0t0        UDP 224.2.1.1:10000 <http://224.2.1.1:10000>
>            yarpserve  8008  8010   paulfitz    6u     IPv4 9326330
>         0t0        UDP 224.2.1.1:10000 <http://224.2.1.1:10000>
>         Flakiness in "yarp detect" suggests a multicast problem.  You
>         could try
>         bypassing it by manually supplying the server location:
>            yarp conf 192.168.1.3 10000   (replacing IP/port appropriately)
>         Is that sufficient to get things working?  If so, this really
>         feels like
>         a multicast problem.
>
>         By the way, there is a #yarpers channel on IRC freenode these
>         days.
>
>         Cheers,
>         Paul
>
>         On 01/24/2014 11:54 AM, Stéphane Lallée wrote:
>         > Hi !
>         >
>         > We are experiencing a strange problem. The yarp server is
>         "blinking"
>         > (yarp detect sometime works, sometime not without any
>         particular actions).
>         >
>         > Do you see any test I could carry to determine where does
>         the problem
>         > comes from ? (I'm available to ping and ssh to the server
>         machine
>         > without any issue...)
>         >
>         > Stéphane Lallée
>         >
>         > *~~~~~~~~~~~~*
>         > Synthetic, Perceptive, Cognitive and Emotive Systems (SPECS)
>         > Universitat Pompeu Fabra
>         > /COMMUNICATION-POBLENOU CAMPUS (LA NAU building)
>         > Roc Boronat, 138. 08018 Barcelona/
>         > http://specs.upf.edu/ <http://www.sbri.fr>
>         > *~~~~~~~~~~~~*
>
>
>         ------------------------------------------------------------------------------
>         CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>         Learn Why More Businesses Are Choosing CenturyLink Cloud For
>         Critical Workloads, Development Environments & Everything In
>         Between.
>         Get a Quote or Start a Free Trial Today.
>         http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>         _______________________________________________
>         Robotcub-hackers mailing list
>         [hidden email]
>         <mailto:[hidden email]>
>         https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
>
>
>
>     ------------------------------------------------------------------------------
>     Managing the Performance of Cloud-Based Applications
>     Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>     Read the Whitepaper.
>     http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
>     _______________________________________________
>     Robotcub-hackers mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
>
>
>
>
> --
> Grégoire Pointeau
>


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Loading...