Share
Go down
sulee
Active particpant
Active particpant
Posts : 14
Join date : 2010-12-27

The requested URL could not be retrieved (Connection to 127.0.0.1 failed.)

on Fri Dec 31, 2010 5:33 pm
Hi all,

I am trying to run my exported test case(JUnit) from Selenium IDE with EClipse Helios. yet I have the error


ERROR
The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://localhost:4444/selenium-server/core/Blank.html

Connection to 127.0.0.1 failed.

The system returned: (111) Connection refused

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.

Generated Fri, 31 Dec 2010 10:09:15 GMT by squid (squid/2.7.STABLE6)


Yet, I havent changed anything due to proxy or smt. Yesterday I was having time out exception 30000ms but today this one. Please help me. My selenium server is running and I think all the configurations are done but obviously something is missing or wrong. PLEASE HELP ASAP. THANK YOU
avatar
selenium.testing07
Regular Participant
Regular Participant
Posts : 26
Join date : 2010-11-20

Re: The requested URL could not be retrieved (Connection to 127.0.0.1 failed.)

on Fri Dec 31, 2010 6:07 pm
See, the error seems me due to network.....May be your portal server is down at that time? did you check?

This is your
"Connection to 127.0.0.1"
Project URL??

Can you check this URL added in safe for your URL settings?

Can you provide few more details? what you do regarding Proxy?
sulee
Active particpant
Active particpant
Posts : 14
Join date : 2010-12-27

Re: The requested URL could not be retrieved (Connection to 127.0.0.1 failed.)

on Fri Dec 31, 2010 6:56 pm
When i browse the address, I got this mesage:

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.


And when I open log file debug, I saw that

##############################

13:02:06.194 INFO [10] org.openqa.jetty.util.Container - Started HttpContext[/selenium-server,/selenium-server]
13:02:06.194 DEBUG [10] org.openqa.jetty.util.Container - Starting HttpContext[/,/]
13:02:06.194 DEBUG [10] org.openqa.jetty.http.HttpContext - Init classloader from null, sun.misc.Launcher$AppClassLoader@d9f9c3 for HttpContext[/,/]
13:02:06.194 DEBUG [10] org.openqa.jetty.http.handler.AbstractHttpHandler - Started org.openqa.selenium.server.ProxyHandler in HttpContext[/,/]
13:02:06.194 INFO [10] org.openqa.jetty.util.Container - Started HttpContext[/,/]
13:02:06.194 DEBUG [10] org.openqa.jetty.util.Container - Starting HttpContext[/wd,/wd]
13:02:06.194 DEBUG [10] org.openqa.jetty.http.HttpContext - Init classloader from null, sun.misc.Launcher$AppClassLoader@d9f9c3 for HttpContext[/wd,/wd]
13:02:06.194 DEBUG [10] org.openqa.jetty.util.Container - Starting org.openqa.jetty.jetty.servlet.ServletHandler@16930e2
13:02:06.194 DEBUG [10] org.openqa.jetty.jetty.servlet.AbstractSessionManager - New random session seed
13:02:06.287 DEBUG [11] org.openqa.jetty.jetty.servlet.AbstractSessionManager - Session scavenger period = 30s
13:02:06.287 DEBUG [10] org.openqa.jetty.jetty.servlet.Holder - Started holder of class org.openqa.selenium.remote.server.DriverServlet
13:02:06.287 INFO [10] org.openqa.jetty.util.Container - Started org.openqa.jetty.jetty.servlet.ServletHandler@16930e2
13:02:06.287 INFO [10] org.openqa.jetty.util.Container - Started HttpContext[/wd,/wd]
13:02:06.303 INFO [10] org.openqa.jetty.http.SocketListener - Started SocketListener on 0.0.0.0:4444
13:02:06.303 INFO [10] org.openqa.jetty.util.Container - Started org.openqa.jetty.jetty.Server@18eb9e6
13:02:15.455 DEBUG [12] org.openqa.jetty.http.HttpConnection - new HttpConnection: Socket[addr=/127.0.0.1,port=2990,localport=4444]
13:02:15.501 DEBUG [12] org.openqa.jetty.http.HttpConnection - REQUEST from SocketListener0@0.0.0.0:4444:
POST /selenium-server/driver/ HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
User-Agent: Java/1.6.0_23
Host: localhost:4444
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 73

##########################################

What possibly can be my problem? Thank you in advance
sulee
Active particpant
Active particpant
Posts : 14
Join date : 2010-12-27

Re: The requested URL could not be retrieved (Connection to 127.0.0.1 failed.)

on Tue Jan 04, 2011 8:35 pm
Hi all,

thanks for your replies. I have solved the prob. by checking the "bypass proxy server for local addresses". You can do this:

1. Open Internet Explorer
2. Choose Tools->Internet options->LAN Settings

or check the system proxy setting with Firefox by

1. Open Firefox
2. Choose Tools->Options->Advanced->Network->Settings
Sponsored content

Re: The requested URL could not be retrieved (Connection to 127.0.0.1 failed.)

Back to top
Permissions in this forum:
You cannot reply to topics in this forum