Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by sulee 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

sulee
Active particpant
Active particpant

Posts : 14
Join date : 2010-12-27

Back to top Go down

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

Post by selenium.testing07 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?
avatar
selenium.testing07
Regular Participant
Regular Participant

Posts : 26
Join date : 2010-11-20

Back to top Go down

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

Post by sulee 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

Back to top Go down

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

Post by sulee 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

sulee
Active particpant
Active particpant

Posts : 14
Join date : 2010-12-27

Back to top Go down

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

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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