Skip Menu |

This queue is for tickets about the WWW-Facebook-API CPAN distribution.

Report information
The Basics
Id: 49089
Status: resolved
Priority: 0/
Queue: WWW-Facebook-API

People
Owner: Nobody in particular
Requestors: ferpic87 [...] hotmail.it
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Troubles with JSON Any
Date: Fri, 28 Aug 2009 13:57:41 +0200
To: <bug-www-facebook-api [...] rt.cpan.org>
From: Nando Picarella <ferpic87 [...] hotmail.it>
Hi! I was using this module since 2 months, without problems, but unfortunately in the last week any method invoked give me this error: "garbage after JSON object, at character offset 4 ["Can't connect to api..."] at /usr/local/share/perl/5.10.0/JSON/Any.pm line 527" I'm work on Xubuntu and the modules are used in a CGI. Hope that this problem can be resolved soon... PS: Excuse my English, I'm an Italian young programmer, and this is my first report. Show quoted text
_________________________________________________________________ Porta Hotmail in vacanza. Leggi la posta dal cellulare! http://new.windowslivemobile.msn.com/IT-IT/windows-live-hotmail/default.aspx
Hello, Which version of WWW::Facebook::API are you using? You can find out by running this one-liner on the command line: perl -MWWW::Facebook::API -e'print $WWW::Facebook::API::VERSION,"\n"' Do you know which JSON module is being used? Finally, the error that you are seeing looks like a LWP (the perl HTTP client library ) error "Can't connect to api.facebook.com". Has anything change in your network environment recently? Can you use ping or traceroute and get a response back from api.facebook.com (or at least get close?) Clayton
Subject: RE: [rt.cpan.org #49089] Troubles with JSON Any
Date: Fri, 28 Aug 2009 14:37:36 +0200
To: <bug-www-facebook-api [...] rt.cpan.org>
From: Nando Picarella <ferpic87 [...] hotmail.it>
Hi Clayton, thanks for the fast answer. I'm using the last version (0.4.16) and the JSON module is JSON::Any version 1.21 The CGI is running on a virtual machine on a server (unfortunately I'm not the administrator), on which I edit my code through a ssh-connection. Anytime I try to ping any url the response is that the host is unknown. If you don't have other hint, I can contact the system administrator and ask him if any network changes occurs. Ferdinando Show quoted text
> Subject: [rt.cpan.org #49089] Troubles with JSON Any > From: bug-WWW-Facebook-API@rt.cpan.org > To: ferpic87@hotmail.it > Date: Fri, 28 Aug 2009 08:14:28 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=49089 > > > Hello, > > Which version of WWW::Facebook::API are you using? > You can find out by running this one-liner on the command line: > > perl -MWWW::Facebook::API -e'print $WWW::Facebook::API::VERSION,"\n"' > > Do you know which JSON module is being used? > > Finally, the error that you are seeing looks like a LWP (the perl HTTP client library ) > error "Can't connect to api.facebook.com". Has anything change in your network > environment recently? Can you use ping or traceroute and get a response back from > api.facebook.com (or at least get close?) > > > Clayton
Show quoted text
_________________________________________________________________ Messenger è su Hotmail. Scopri le novità. http://www.messenger.it/accediWebMessengerHotmail.aspx
Subject: Re: [rt.cpan.org #49089] Troubles with JSON Any
Date: Fri, 28 Aug 2009 09:03:48 -0400
To: bug-WWW-Facebook-API [...] rt.cpan.org
From: Clayton Scott <clayton.scott [...] gmail.com>
Hi Ferdinando, Hi Clayton, Show quoted text
> thanks for the fast answer. > I'm using the last version (0.4.16) and the JSON module is JSON::Any > version 1.21 > > The CGI is running on a virtual machine on a server (unfortunately I'm not > the administrator), on which I edit my code through a ssh-connection. > Anytime I try to ping any url the response is that the host is unknown. If > you don't have other hint, I can contact the system administrator and ask > him if any network changes occurs. >
That sounds like a DNS problem. What response do you get when you run this? nslookup api.facebook.com I get: Non-authoritative answer: Name: api.facebook.com Address: 69.63.180.21 If you get something similar try this perl -MLWP::Simple=head -e'print join "\n", head("http://api.facebook.com "),"\n"'; I get: text/html; charset=utf-8 869893200 Apache/1.3.41.fb1 Which looks odd, but works. Clayton
Subject: RE: [rt.cpan.org #49089] Troubles with JSON Any
Date: Fri, 28 Aug 2009 15:26:31 +0200
To: <bug-www-facebook-api [...] rt.cpan.org>
From: Nando Picarella <ferpic87 [...] hotmail.it>
When I try to run "nslookup api.facebook.com" I get: ;; connection timed out; no servers could be reached I also tried to run the second instruction ad I get nothing... Do you think that DNS doesn't work well? Show quoted text
> Subject: Re: [rt.cpan.org #49089] Troubles with JSON Any > From: bug-WWW-Facebook-API@rt.cpan.org > To: ferpic87@hotmail.it > Date: Fri, 28 Aug 2009 09:04:07 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=49089 > > > Hi Ferdinando, > > Hi Clayton,
> > thanks for the fast answer. > > I'm using the last version (0.4.16) and the JSON module is JSON::Any > > version 1.21 > > > > The CGI is running on a virtual machine on a server (unfortunately I'm not > > the administrator), on which I edit my code through a ssh-connection. > > Anytime I try to ping any url the response is that the host is unknown. If > > you don't have other hint, I can contact the system administrator and ask > > him if any network changes occurs. > >
> > That sounds like a DNS problem. What response do you get when you run this? > > nslookup api.facebook.com > > I get: > > Non-authoritative answer: > Name: api.facebook.com > Address: 69.63.180.21 > > If you get something similar try this > > perl -MLWP::Simple=head -e'print join "\n", head("http://api.facebook.com > "),"\n"'; > > I get: > > text/html; charset=utf-8 > > > 869893200 > Apache/1.3.41.fb1 > > Which looks odd, but works. > > > Clayton >
Show quoted text
_________________________________________________________________ Taglia i costi con Messenger! Chiama e videochiama da PC a PC! http://www.messenger.it/videoconversazioni.aspx
Subject: Re: [rt.cpan.org #49089] Troubles with JSON Any
Date: Fri, 28 Aug 2009 09:42:03 -0400
To: bug-WWW-Facebook-API [...] rt.cpan.org
From: Clayton Scott <clayton.scott [...] gmail.com>
Hi Ferdinando, On Fri, Aug 28, 2009 at 9:26 AM, Nando Picarella via RT < bug-WWW-Facebook-API@rt.cpan.org> wrote: Show quoted text
> Queue: WWW-Facebook-API > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=49089 > > > > When I try to run "nslookup api.facebook.com" I get: > > ;; connection timed out; no servers could be reached >
It looks like you either do not have outbound internet access or you do not have a DNS server configured. I would speak with your administrator to resolve the problem. Showing him that command should give him enough information to go on. Good luck, Clayton Show quoted text
> >
Subject: RE: [rt.cpan.org #49089] Troubles with JSON Any
Date: Fri, 28 Aug 2009 15:50:37 +0200
To: <bug-www-facebook-api [...] rt.cpan.org>
From: Nando Picarella <ferpic87 [...] hotmail.it>
This is the thing that I just have done. I'll keep you informed on the progress. Thank you very much, Clayton. Ferdinando. Show quoted text
> Subject: Re: [rt.cpan.org #49089] Troubles with JSON Any > From: bug-WWW-Facebook-API@rt.cpan.org > To: ferpic87@hotmail.it > Date: Fri, 28 Aug 2009 09:42:21 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=49089 > > > Hi Ferdinando, > > On Fri, Aug 28, 2009 at 9:26 AM, Nando Picarella via RT < > bug-WWW-Facebook-API@rt.cpan.org> wrote: >
> > Queue: WWW-Facebook-API > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=49089 > > > > > > > When I try to run "nslookup api.facebook.com" I get: > > > > ;; connection timed out; no servers could be reached > >
> > > It looks like you either do not have outbound internet access or you do not > have > a DNS server configured. > > I would speak with your administrator to resolve the problem. Showing him > that command > should give him enough information to go on. > > Good luck, > Clayton > >
> > > >
>
Show quoted text
_________________________________________________________________ Porta Messenger in Vacanza! Scaricalo sul cellulare! http://new.windowslivemobile.msn.com/IT-IT/windows-live-messenger/default.aspx