Problem resolving url

  1. Dec 19, 2013 #1

    DrDu

    User Avatar
    Science Advisor

    I encountered a strange problem resolving the url of a repository.
    I am running opensuse 12.1 and firefox.
    The repository of opensuse I want to browse is
    http://download.opensuse.org/repositories/CrossToolchain:/avr/
    however I am told that it does not exist.
    When I surf to
    http://download.opensuse.org/repositories/CrossToolchain:
    avr is shown but I also get a link does not exist when I click on it.
    However it works from another computer (windows).
    Any ideas?
     
  2. jcsd
  3. Dec 19, 2013 #2

    jim mcnamara

    User Avatar
    Science Advisor
    Gold Member

    Try: Flush the DNS cache on the ubuntu box & windows. Somebody is out of sync. Is the DNS server local?

    Code (Text):
    sudo /etc/init.d/dns-clean restart
    windoze: from cmd.exe window --
    Code (Text):
    ipconfig /flushdns
    Do you get a 404 error? Usually the system will tell you it cannot connect to the site. Meaning it does resolve but the physical server is not responding.
     
  4. Dec 19, 2013 #3

    DrDu

    User Avatar
    Science Advisor

    Thank you very much for your answer, Jim!
    I tried out a couple of things in the meanwhile, including restarting both the router and the computer.
    First, the url is correctly resolved when starting the computer under windows.
    Under opensuse, when I click on "/avr" on the page
    http://download.opensuse.org/repositories/CrossToolchain:
    then a new page opens:
    http://www.crosstoolchain.com/avr/
    That is also the page where I get with:
    http://download.opensuse.org/repositories/CrossToolchain:/avr/

    So some script seems to misinterpret the ":" as the beginning of a new url.
    I can't find dns-clean under /etc/init.d.

    Edit: Just found out that the url is correctly resolved when I replace the ":" with "%3a"
     
    Last edited: Dec 19, 2013
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted