![]() |
Can't access website
I am having a really weird problem on my iMac. I have a particular website that I can't access properly, it will load but incredibly slowly in both Safari and Firefox and will often just timeout. I can ping the website fine, but if I do a tracert it will timeout at the final hop.
Now, this is where it gets very strange. Both of my Macs are having the same problem. However, if I boot into a Windows VM it's fine! It loads fast and i can tracert to it just fine. I thought it might be a DNS problem, so I cleared my cache and it did nothing. It's getting annoying now as I've had this problem for a couple of weeks, does anyone have any ideas? I am running Leopard with an Airport Extreme router. |
It could be a session problem. Have you tried quitting Safari and then logging back in?
It could still be a DNS issue. Have you tried setting your Mac to use a public DNS? http://www.google.com/search?client=...UTF-8&oe=UTF-8 |
Quote:
|
It might be useful to cut the visual parts of the browser out of the equation by using a text-only browser as a test to see what part of the HTTP transaction is causing a problem.
Try the 'debug_http' script that I outlined in this old thread: http://forums.macosxhints.com/showpo...91&postcount=7 Show us the results and we can help interpret. |
Quote:
|
Never had an Internet problem with my new iMac OS 10.5.6 until I tried to load site "http://www.mia.com.mk" which is a national news agency loading swiftly in Win XP/Win Vista. Finally I configured OpenDNS servers and disabled Ipv6. Still this site will not load in Firefox/Safari/Camino with
Model Name: iMac Model Identifier: iMac8,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.8 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 6 MB Memory: 4 GB Bus Speed: 1.07 GHz Boot ROM Version: IM81.00C1.B00 SMC Version: 1.30f1 Here are the results from some tests: IP Information for 195.26.131.111 IP Location: Macedonia, The Former Yugoslav Republic Of Macedonia, The Former Yugoslav Republic Of Skopje Mia Ip Subnet IP Address: 195.26.131.111 [Whois] [Reverse-Ip] [Ping] [DNS Lookup] [Traceroute] Reverse IP: 1 other sites hosted on this server. Blacklist Status: Clear Whois Record inetnum: 195.26.131.96 - 195.26.131.127 netname: MT-MIA descr: MIA IP Subnet descr: Skopje, Macedonia country: MK admin-c: DS7598-RIPE tech-c: DS7598-RIPE status: ASSIGNED PA mnt-by: MTNET1 source: RIPE # Filtered person: Daniela Sinadinova address: MIA address: &nbs p; Bojmija 2 address: 91000 Skopje address: Macedonia phone: +389 91 161 600 e-mail: nic-hdl: DS7598-RIPE source: RIPE # Filtered route: 195.26.128.0/19 descr: ROUTE-OBJ-1-MTNET origin: AS6821 mnt-by: MTNET-ASN source: RIPE # Filtered ----------- Ping www.mia.com.mk Ping Type: Host IP Address Ping Time 1. www.mia.com.mk Timed Out 2. www.mia.com.mk Timed Out 3. www.mia.com.mk Timed Out 4. www.mia.com.mk Timed Out 5. www.mia.com.mk Timed Out 6. www.mia.com.mk Timed Out 7. www.mia.com.mk Timed Out Total Duration: 0.00 ms Average Ping: 0.00 ms ----------- DNS Lookup For www.mia.com.mk ;; Answer received from 127.0.0.1 (108 bytes) ;; ;; HEADER SECTION ;; id = 55148 ;; qr = 1 opcode = QUERY aa = 0 tc = 0 rd = 1 ;; ra = 1 ad = 0 cd = 0 rcode = NXDOMAIN ;; qdcount = 1 ancount = 0 nscount = 1 arcount = 0 ;; QUESTION SECTION (1 record) ;; www.mia.com.mk\032. IN A ;; ANSWER SECTION (0 records) ;; AUTHORITY SECTION (1 record) . 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. ( 2009032501 ; Serial 1800 ; Refresh 900 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL ;; ADDITIONAL SECTION (0 records) |
And what is your Mac's DNS set to?
|
OpenDNS.com 208.67.220.220 and 208.67.222.222 following advice from
http://installingcats.com/2008/06/05...dns_better_dns |
Have you tried another one? DNS servers run on software, like anything else: they're not perfect. The first one you're using might need to be rebooted, or it might have other problems.
|
Initially I only used the router's DNS 192.168.1.1 and later configured the two public DNS servers. Since they work in reversed order the second one (208.67.222.222) will act first or at least that's what these guys claim
"http://installingcats.com/2008/06/05/slow-internet-with-leopard/#direct_dns_better_dns". Their solutions are summed up as follows: ----- Solutions Direct DNS / Better DNS Disable IPv6 DNS Lookups Update DNS Servers on Router Update Router Firmware ------- I've only tried the first two since I can't do anything about the router which is supplied by the ISP, in my case Telecom Italia. |
When I ping their address it fails, so they're probably not responding to pings. I can get to their site (Safari) though, so it's got to be your DNS.
|
I've also scored a partial success with Safari 4beta downloading something like 54 out of 92 items very slowly and between 3 am and 5 am local time (now it's almost 10 pm here. Firefox will load a couple of color shades from the site while Camino stays blank. No problem loading the site with my two laptops in Win XP and Win Vista, respectively, with the same router.
|
I followed the Moderator's advice from
http://forums.macosxhints.com/showpo...91&postcount=7 Here's the result: Code:
Last login: Sat Mar 28 15:10:25 on ttys001 |
Sorry, a syntax error in my previous post. Here's the correct result:
Code:
Last login: Sat Mar 28 15:10:25 on ttys001 |
Quote:
This doesn't load any of the images etc that might be on that page - those are done via separate requests to the server (maybe different servers - check the "Activity" window in Safari when you try to go to that page). |
Quote:
But the interesting part is what you didn't show us - what Safari's Activity window shows on the right side about the status of each of these. |
Maybe you didn't see my edited post with the status column.
This column shows the status of each URL (since it will not copy from the Activity window): 24 of 28 items 79.8 KB 9.3 KB 24.6 KB 1.1 KB 2.3 KB 0 bytes of ? 61.7 KB 0 bytes of ? 0 bytes of ? 55 bytes 89 bytes 79 bytes 79 bytes 23.8 KB 0.5 KB 79 bytes 79 bytes 254 KB 0 bytes of ? blank blank 23.3 KB 46.5 KB 2.1 KB 0.9 KB blank 20.4 KB 7.5 KB |
I edited your post above to put the status info on the lines next to the URLs.
You need to look at the URLs that didn't come through and investigate why they are slow - e.g. using the 'debug_http' script on those URLs. |
Quote:
Last login: Tue Mar 31 17:26:46 on ttys000 christo-petrovs-imac:~ christopetrov$ curl http://www.mia.com.mk/image1.jsp?slikaid=40232393 -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8359 100 8359 0 0 384 0 0:00:21 0:00:21 --:--:-- 1822 christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 17:35:46 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/image1.jsp?slikaid=40232393 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8359 100 8359 0 0 386 0 0:00:21 0:00:21 --:--:-- 1850 name lookup: 0.000 connect: 0.085 pretransfer: 0.085 starttransfer: 21.187 total: 21.611 christo-petrovs-imac:~ christopetrov$ ----------------------------- Last login: Tue Mar 31 17:53:11 on ttys000 christo-petrovs-imac:~ christopetrov$ curl http://www.mia.com.mk/image1.jsp?sli...ype=nt&maxW=90 -o /dev/null [1] 857 -bash: -o: command not found christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:03:23 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/image1.jsp?sli...ype=nt&maxW=90 [1] 895 christo-petrovs-imac:~ christopetrov$ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 name lookup: 0.000 connect: 0.097 pretransfer: 0.097 starttransfer: 0.193 total: 0.194 ------------------------------ Last login: Tue Mar 31 18:04:33 on ttys000 christo-petrovs-imac:~ christopetrov$ curl www.mia.com.mk/image1.jsp?sli...ype=nt&maxW=90 -o /dev/null [1] 907 -bash: -o: command not found christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:07:17 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/image1.jsp?sli...ype=nt&maxW=90 [1] 924 christo-petrovs-imac:~ christopetrov$ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 name lookup: 0.000 connect: 0.090 pretransfer: 0.090 starttransfer: 0.180 total: 0.181 ----------------------- Last login: Tue Mar 31 18:08:49 on ttys000 christo-petrovs-imac:~ christopetrov$ curl www.mia.com.mk/ScriptResource.axd?d=fFAfSR... -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5724 100 5724 0 0 266 0 0:00:21 0:00:21 --:--:-- 1299 christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:11:37 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/ScriptResource.axd?d=fFAfSR... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 5724 100 5724 0 0 265 0 0:00:21 0:00:21 --:--:-- 1272 name lookup: 0.000 connect: 0.086 pretransfer: 0.086 starttransfer: 21.214 total: 21.593 christo-petrovs-imac:~ christopetrov$ ------------------------- Last login: Tue Mar 31 18:13:32 on ttys000 christo-petrovs-imac:~ christopetrov$ curl www.mia.com.mk/Scripts/AC_RunActiveContent.js -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8719 100 8719 0 0 402 0 0:00:21 0:00:21 --:--:-- 2432 christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:16:13 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/Scripts/AC_RunActiveContent.js % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8719 100 8719 0 0 403 0 0:00:21 0:00:21 --:--:-- 2498 name lookup: 0.000 connect: 0.096 pretransfer: 0.097 starttransfer: 21.224 total: 21.596 christo-petrovs-imac:~ christopetrov$ ------------------------------ Last login: Tue Mar 31 18:17:49 on ttys000 christo-petrovs-imac:~ christopetrov$ curl www.mia.com.mk/scripts/effects.js -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 31969 100 31969 0 0 1448 0 0:00:22 0:00:22 --:--:-- 8060 christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:20:30 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/scripts/effects.js % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 31969 100 31969 0 0 684 0 0:00:46 0:00:46 --:--:-- 6995 name lookup: 0.000 connect: 0.086 pretransfer: 0.086 starttransfer: 45.903 total: 46.682 christo-petrovs-imac:~ christopetrov$ -------------------------------- Last login: Tue Mar 31 18:22:42 on ttys000 christo-petrovs-imac:~ christopetrov$ curl www.mia.com.mk/styles/lightbox.css -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1781 100 1781 0 0 83 0 0:00:21 0:00:21 --:--:-- 426 christo-petrovs-imac:~ christopetrov$ Last login: Tue Mar 31 18:25:15 on ttys000 christo-petrovs-imac:~ christopetrov$ christo-petrovs-imac:~ christopetrov$ debug_http () { /usr/bin/curl $@ -o /dev/null -w "name lookup: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; } christo-petrovs-imac:~ christopetrov$ debug_http www.mia.com.mk/styles/lightbox.css % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1781 100 1781 0 0 83 0 0:00:21 0:00:21 --:--:-- 426 name lookup: 0.000 connect: 0.085 pretransfer: 0.085 starttransfer: 21.183 total: 21.271 christo-petrovs-imac:~ christopetrov$ ----------------------------------- |
The fact that the "starttransfer" elapsed times shown in the above results are so large would seem to indicate that the problem is at the server (not on your machine).
The "connect" and "pretransfer" times are quite short, so that shows that your machine has no problem in connecting to the server. But the server seems to sit there for a while before starting to send you the files requested. I have no idea what would cause this problem - but it seems to be on the server side and hence nothing you can do about it. On the other hand, I seem to have no problem in getting those files from the server - for example: Code:
debug_http www.mia.com.mk/scripts/effects.js |
Quote:
|
Quote:
- disable your anti-virus software - log in as a different (preferably freshly-created) user - disable all 3rd-party utilities that might affect networking |
| All times are GMT -5. The time now is 07:24 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.