The URL is not valid

Asked by peter ratcliffe

Last week my router (Dlink) failed. My internet provider, Firefly, supplied a new one (Technicolor TG582n) which was, or should have been, preconfigured. I can access the internet ok but when I want to go back to Google to get another website, using the Go backwards one page button, I get an error message;

The address isn't valid
The URL is not valid and cannot be loaded.

How do I find where the problem is and how do I fix it. I have reported the problem to Firefly who say they can find no fault but there seems to be a change in IP address as shown on the system settings.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1
Revision history for this message
peter ratcliffe (pjcr) said :
#2

On 10/02/17 11:47, Mark Rijckenberg wrote:
> Your question #453416 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/453416
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> https://chrisjean.com/fix-the-url-is-not-valid-and-cannot-be-loaded-in-
> firefox-on-ubuntu/
>
Thank you Mark. I ran your suggestion of

https://chrisjean.com/fix-the-url-is-not-valid-and-cannot-be-loaded-in-
firefox-on-ubuntu/

without solving my problem. I didn't even know about a center click facility so I am puzzled as to how we got there. My problem manifests itself while navigating the internet.What happens is this;

Click on Firefox icon on the launcher takes me to a Google screen and a selection of website comes up. I pick a site, do what I want to do in there and click the "back one page" button which takes me back to the list of web sites from the Google screen, Click on back one page again, expecting to get the Google screen again. Instead I get the URL is not valid message.

We may of course be talking at cross purposes but I will welcome your suggestions or comments. At least I have learned about a useful mouse function

Regards, Peter Ratcliffe

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

In post #1, I gave one possible cause of that error.

Of course, there are various possible causes, but there is not enough detail in your problem description to know for sure.

So I am forced to make some educated guesses....

Another possibility is that you set an invalid homepage URL in your browser settings.

So when the browser tries to navigate to the homepage you set in your browser settings, it cannot find it and gives the error....

Just a thought.....

Source: https://support.mozilla.org/t5/Firefox/When-I-click-my-firefox-icon-the-home-page-says-quot-The-address/m-p/945819

Revision history for this message
peter ratcliffe (pjcr) said :
#4

On 12/02/17 12:09, Mark Rijckenberg wrote:
> Your question #453416 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/453416
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> In post #1, I gave one possible cause of that error.
>
> Of course, there are various possible causes, but there is not enough
> detail in your problem description to know for sure.
>
> So I am forced to make some educated guesses....
>
> Another possibility is that you set an invalid homepage URL in your
> browser settings.
>
> So when the browser tries to navigate to the homepage you set in your
> browser settings, it cannot find it and gives the error....
>
> Just a thought.....
>
> Source: https://support.mozilla.org/t5/Firefox/When-I-click-my-
> firefox-icon-the-home-page-says-quot-The-address/m-p/945819
>
Mark,

My problem started after a router change - the old one failed. The old
router had an IP address 192.168.1.1 but the new router shows up on the
Ubuntu network display as 192.168.1.64. Does this help at all?
Ignoring the error message and reloading Firefox is my current work
around. If a fix is not evident I will call the question as fixed. How
do I change the IP address?

Thanks,

Peter

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

What was the exact model and make of the old router?

What is the exact model and make of the new router?

And what is the full output of these Terminal commands?

ifconfig

ping -c 3 192.168.1.1

ping -c 3 8.8.8.8

sudo apt-get update

sudo apt-get install dnsutils traceroute

dig 192.168.1.64

sudo traceroute -I 8.8.8.8

netstat -i

netstat -r

cat /etc/resolv.conf

arp -e

Revision history for this message
peter ratcliffe (pjcr) said :
#6

On 13/02/17 18:23, Mark Rijckenberg wrote:
> Your question #453416 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/453416
>
> Status: Open => Needs information
>
> Mark Rijckenberg requested more information:
> What was the exact model and make of the old router?
>
> What is the exact model and make of the new router?
>
> And what is the full output of these Terminal commands?
>
> ifconfig
>
> ping -c 3 192.168.1.1
>
> ping -c 3 8.8.8.8
>
> sudo apt-get update
>
> sudo apt-get install dnsutils traceroute
>
> dig 192.168.1.64
>
> sudo traceroute -I 8.8.8.8
>
> netstat -i
>
> netstat -r
>
> cat /etc/resolv.conf
>
> arp -e
>
Mark, as best I can the info is;

Old router D-Link GO-DSL-N150. A hand written label on the back says
IP:192.168.1.1

New router technicolor TG582n. No further info

peter@peter-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr d0:50:99:0a:9f:64
           inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
           inet6 addr: fe80::37ca:4f92:eb6d:e411/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
           RX packets:57560 errors:0 dropped:0 overruns:0 frame:0
           TX packets:52203 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:53352082 (53.3 MB) TX bytes:7775423 (7.7 MB)
           Interrupt:20 Memory:f0400000-f0420000

lo Link encap:Local Loopback
           inet addr:127.0.0.1 Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING MTU:65536 Metric:1
           RX packets:4822 errors:0 dropped:0 overruns:0 frame:0
           TX packets:4822 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1
           RX bytes:796029 (796.0 KB) TX bytes:796029 (796.0 KB)

peter@peter-desktop:~$ ping -c 3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
 From 192.168.1.64 icmp_seq=1 Destination Host Unreachable
 From 192.168.1.64 icmp_seq=2 Destination Host Unreachable
 From 192.168.1.64 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
pipe 3
peter@peter-desktop:~$

peter@peter-desktop:~$ ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=59 time=32.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=32.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=32.4 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 32.084/32.307/32.460/0.218 ms
peter@peter-desktop:~$

peter@peter-desktop:~$ sudo apt-get update
[sudo] password for peter:
Hit:1 http://archive.canonical.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64
DEP-11 Metadata [68.0 kB]
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11
64x64 Icons [33.9 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64
DEP-11 Metadata [32.1 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11
64x64 Icons [36.9 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
[102 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64
Packages [474 kB]
Get:11 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main i386
Packages [466 kB]
Get:12 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64
DEP-11 Metadata [306 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11
64x64 Icons [194 kB]
Get:14 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64
DEP-11 Metadata [133 kB]
Get:15 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe
DEP-11 64x64 Icons [162 kB]
Get:16 http://gb.archive.ubuntu.com/ubuntu xenial-updates/multiverse
amd64 DEP-11 Metadata [2,520 B]
Get:17 http://gb.archive.ubuntu.com/ubuntu xenial-backports/main amd64
DEP-11 Metadata [3,328 B]
Fetched 2,218 kB in 4s (530 kB/s)
Reading package lists... Done
peter@peter-desktop:~$

peter@peter-desktop:~$ sudo apt-get install dnsutils traceroute
Reading package lists... Done
Building dependency tree
Reading state information... Done
dnsutils is already the newest version (1:9.10.3.dfsg.P4-8ubuntu1.4).
The following packages were automatically installed and are no longer
required:
   linux-headers-4.4.0-51 linux-headers-4.4.0-51-generic
   linux-headers-4.4.0-53 linux-headers-4.4.0-53-generic
   linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic
   linux-image-4.4.0-51-generic linux-image-4.4.0-53-generic
   linux-image-4.4.0-57-generic linux-image-extra-4.4.0-51-generic
   linux-image-extra-4.4.0-53-generic linux-image-extra-4.4.0-57-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
   traceroute
0 to upgrade, 1 to newly install, 0 to remove and 7 not to upgrade.
1 not fully installed or removed.
Need to get 45.5 kB of archives.
After this operation, 177 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64
traceroute amd64 1:2.0.21-1 [45.5 kB]
Fetched 45.5 kB in 0s (172 kB/s)
Selecting previously unselected package traceroute.
(Reading database ... 441223 files and directories currently installed.)
Preparing to unpack .../traceroute_1%3a2.0.21-1_amd64.deb ...
Unpacking traceroute (1:2.0.21-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: deferring update (trigger activated)
Setting up traceroute (1:2.0.21-1) ...
update-alternatives: using /usr/bin/traceroute.db to provide
/usr/bin/traceroute (traceroute) in auto mode
update-alternatives: using /usr/bin/lft.db to provide /usr/bin/lft (lft)
in auto mode
update-alternatives: using /usr/bin/traceproto.db to provide
/usr/bin/traceproto (traceproto) in auto mode
update-alternatives: using /usr/sbin/tcptraceroute.db to provide
/usr/sbin/tcptraceroute (tcptraceroute) in auto mode
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-62-generic
peter@peter-desktop:~$

peter@peter-desktop:~$ sudo traceroute -I 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
  1 dsldevice.lan (192.168.1.254) 1.032 ms 1.252 ms 1.626 ms
  2 lo0.ar86.tn5.bb.daisyplc.net (62.72.136.44) 33.005 ms 37.284 ms
35.307 ms
  3 be51.cr11.tn5.bb.daisyplc.net (62.72.137.109) 40.086 ms 44.114
ms 42.436 ms
  4 be51.cr11.tn5.bb.daisyplc.net (62.72.137.109) 45.839 ms 47.808
ms 49.795 ms
  5 62.72.134.198 (62.72.134.198) 51.887 ms 53.542 ms 55.461 ms
  6 google-thn-pni-tn5.bb.daisyplc.net (62.72.139.118) 56.582 ms
54.695 ms 56.882 ms
  7 108.170.246.161 (108.170.246.161) 58.483 ms 31.714 ms 35.155 ms
  8 216.239.57.61 (216.239.57.61) 34.239 ms 33.004 ms 37.148 ms
  9 google-public-dns-a.google.com (8.8.8.8) 34.740 ms 32.127 ms
35.590 ms
peter@peter-desktop:~$

peter@peter-desktop:~$ netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP
TX-OVR Flg
eth0 1500 0 59323 0 0 0 53229 0 0
0 BMRU
lo 65536 0 4876 0 0 0 4876 0 0
0 LRU
peter@peter-desktop:~$

peter@peter-desktop:~$ netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
default dsldevice.lan 0.0.0.0 UG 0 0 0
eth0
link-local * 255.255.0.0 U 0 0 0
eth0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
peter@peter-desktop:~$

peter@peter-desktop:~$ cat /etc/resolv.confpeter@peter-desktop:~$ netstat -r
cat: invalid option -- 'r'
Try 'cat --help' for more information.
peter@peter-desktop:~$ Kernel IP routing table
Kernel: command not found
peter@peter-desktop:~$ Destination Gateway Genmask Flags
MSS Window irtt Iface
Destination: command not found
peter@peter-desktop:~$ default dsldevice.lan 0.0.0.0
UG 0 0 0 eth0
No command 'default' found, did you mean:
  Command 'defaults' from package 'gnustep-base-runtime' (universe)
default: command not found
peter@peter-desktop:~$ link-local * 255.255.0.0 U 0
0 0 eth0
link-local: command not found
peter@peter-desktop:~$ 192.168.1.0 * 255.255.255.0 U 0
0 0 eth0
192.168.1.0: command not found
peter@peter-desktop:~$ peter@peter-desktop:~$ cat /etc/resolv.conf
peter@peter-desktop:~$: command not found
peter@peter-desktop:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search lan
peter@peter-desktop:~$

peter@peter-desktop:~$ arp -e
Address HWtype HWaddress Flags
Mask Iface
192.168.1.1 (incomplete) eth0
dsldevice.lan ether e0:b9:e5:71:67:98 C
eth0
peter@peter-desktop:~$

I hope I haven't missed any, and that this helps -It's outside my pay
grade! Thanks a lot,
Peter

dig 192.168.1.64 seems to have gone missing - try again

peter@peter-desktop:~$ dig 192.168.1.64

; <<>> DiG 9.10.3-P4-Ubuntu <<>> 192.168.1.64
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3220
;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;192.168.1.64. IN A

;; ANSWER SECTION:
192.168.1.64. 0 IN A 192.168.1.64

;; Query time: 0 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Tue Feb 14 19:59:19 GMT 2017
;; MSG SIZE rcvd: 57

peter@peter-desktop:~$

over to you.

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#7

Your Terminal output shows this:

peter@peter-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr d0:50:99:0a:9f:64
           inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0

So the IP address of your PC (NOT your router) is 192.168.1.64 which is fine.

I found your new router's user guide here:

http://help.demon.net/files/2013/03/TG582n-User-Guide.pdf

The user guide shows that the IP address of your router is - by default - 192.168.1.254 and NOT 192.168.1.64.....

The Terminal output does not show any network related issues. So we are looking in the wrong direction.

I suggest testing various web browsers (Firefox, Chromium, Google Chrome, Midori, Qupzilla) to see which of those browsers exhibit the same behavior and show the same error message.

And what is set as the default homepage in your Mozilla Firefox browser??? Maybe an invalid URL?

You could try restoring the default home page using these instructions:

https://support.mozilla.org/t5/Basic-Browsing/How-to-set-the-home-page/ta-p/3478#w_restore-the-default-home-page

Revision history for this message
peter ratcliffe (pjcr) said :
#8

Mark, after all your efforts, for which thank you, we are still where we are. However since I have a work around we should mark this one as solved. I have learnt a lot during this dialogue, which is good.

Thanks from Peter Ratcliffe