Skip Menu |

This queue is for tickets about the WWW-Mechanize-FireFox CPAN distribution.

Report information
The Basics
Id: 68059
Status: resolved
Worked: 3 min
Priority: 0/
Queue: WWW-Mechanize-FireFox

People
Owner: corion [...] cpan.org
Requestors: MATEU [...] cpan.org
Cc:
AdminCc:

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



Subject: port 4242: Connection refused
hunter@lolo:~/scrap$ cat mech-fox.pl use WWW::Mechanize::Firefox; my $mech = WWW::Mechanize::Firefox->new( launch => '/usr/bin/firefox', ); $mech->get('http://google.com'); hunter@lolo:~/scrap$ which firefox /usr/bin/firefox hunter@lolo:~/scrap$ perl mech-fox.pl Failed to connect to , problem connecting to "localhost", port 4242: Connection refused at /usr/local/share/perl/5.10.1/MozRepl/Client.pm line 144
CC: corion [...] cpan.org
Subject: Re: [rt.cpan.org #68059] port 4242: Connection refused
Date: Tue, 10 May 2011 09:49:51 +0200
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: webmaster [...] corion.net
Hello Mathieu, Show quoted text
> hunter@lolo:~/scrap$ cat mech-fox.pl > use WWW::Mechanize::Firefox; > my $mech = WWW::Mechanize::Firefox->new( > launch => '/usr/bin/firefox', > ); > $mech->get('http://google.com'); > hunter@lolo:~/scrap$ which firefox > /usr/bin/firefox > hunter@lolo:~/scrap$ perl mech-fox.pl > Failed to connect to , problem connecting to "localhost", port 4242: > Connection refused at /usr/local/share/perl/5.10.1/MozRepl/Client.pm > line 144
This seems to be a problem with Firefox or the mozrepl plugin, and not with the module itself. Please check the following three steps: 1) Did you start the Mozrepl plugin in Firefox? 2) Does it run at port 4242? 3) Can you connect via telnet to localhost:4242 and do you get a Javascript prompt? I hope the "Installation" section in the "Troubleshooting" documentation [1] helps you resolve the issues. Have fun, -max [1] http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.52/lib/WWW/Mechanize/Firefox/Troubleshooting.pod#Installation
Subject: Re: [rt.cpan.org #68059] port 4242: Connection refused
Date: Tue, 10 May 2011 09:41:17 -0600
To: bug-WWW-Mechanize-FireFox [...] rt.cpan.org
From: "Mateu X. Hunter" <hunter [...] missoula.org>
Max, I apologize. I overlooked the trouble shooting POD. I was looking at synopses and cookbook examples. My issue was simply not having the mozrepl extension installed, duh. Thank you kindly for the direction. - mateu 2011/5/10 webmaster@corion.net via RT <bug-WWW-Mechanize-FireFox@rt.cpan.org Show quoted text
>
Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=68059 > > > Hello Mathieu, >
> > hunter@lolo:~/scrap$ cat mech-fox.pl > > use WWW::Mechanize::Firefox; > > my $mech = WWW::Mechanize::Firefox->new( > > launch => '/usr/bin/firefox', > > ); > > $mech->get('http://google.com'); > > hunter@lolo:~/scrap$ which firefox > > /usr/bin/firefox > > hunter@lolo:~/scrap$ perl mech-fox.pl > > Failed to connect to , problem connecting to "localhost", port 4242: > > Connection refused at /usr/local/share/perl/5.10.1/MozRepl/Client.pm > > line 144
> > This seems to be a problem with Firefox or the mozrepl plugin, and not > with the module itself. > > Please check the following three steps: > > 1) Did you start the Mozrepl plugin in Firefox? > 2) Does it run at port 4242? > 3) Can you connect via telnet to localhost:4242 and do you get a > Javascript prompt? > > I hope the "Installation" section in the "Troubleshooting" documentation > [1] helps you resolve the issues. > > Have fun, > -max > > [1] > > http://search.cpan.org/~corion/WWW-Mechanize-Firefox-0.52/lib/WWW/Mechanize/Firefox/Troubleshooting.pod#Installation > > >