The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Networking (http://hintsforums.macworld.com/forumdisplay.php?f=14)
-   -   Weird Tiger Network Probs (http://hintsforums.macworld.com/showthread.php?t=40461)

schere 06-03-2005 08:06 AM

Weird Tiger Network Probs
 
Hi,

Since I switched to Tiger I have some weird network problems:A gentoo linux computer is acting as a router sharing a xdsl connection in my network. this configuration worked perfectly fine until tiger.
Now, there is something strange going on: some addresses on the internet can simply not be connected, while they are perfectly connectable on the gentoo box.

One example: trying to traceroute one affected host, derstandard.at results the following on tiger:

Code:

wolfgang-dietls-ibook-g4:/etc dieti$ traceroute derstandard.at
traceroute to derstandard.at (193.154.164.57), 64 hops max, 40 byte packets
 1  cubit (172.16.229.186)  2.008 ms  0.970 ms  0.894 ms
 2  phobos.cc.univie.ac.at (193.170.184.3)  21.630 ms  22.291 ms  21.561 ms
 3  ares.cc.univie.ac.at (131.130.252.9)  38.417 ms  22.424 ms  25.954 ms
 4  wien1.aco.net (193.171.13.21)  32.724 ms  22.318 ms  23.024 ms
 5  193.154.2.233 (193.154.2.233)  31.112 ms  21.727 ms  21.835 ms
 6  r4-vlan-94-ixi1.vie.as1901.net (193.80.94.2)  25.778 ms  22.630 ms  26.489 ms
 7  r17-vlan-145-dbg1.vie.at.eu.net (193.154.145.22)  25.798 ms r17-vlan-144-dbg1.vie.at.eu.net (193.154.144.22)  23.689 ms r17-vlan-145-dbg1.vie.at.eu.net (193.154.145.22)  34.629 ms
 8  * * *
 9  * * *

on the other computer, using the same internet connnection, the result is the following:

Code:

cubit wolfgang # traceroute derstandard.at
traceroute to derstandard.at (193.154.164.57), 30 hops max, 40 byte packets
 1  phobos.cc.univie.ac.at (193.170.184.3)  20.850 ms  20.461 ms  20.428 ms
 2  ares.cc.univie.ac.at (131.130.252.9)  20.897 ms  21.200 ms  21.281 ms
 3  Wien1.ACO.net (193.171.13.21)  20.837 ms  21.425 ms  20.809 ms
 4  193.154.2.233 (193.154.2.233)  21.576 ms  21.200 ms  22.020 ms
 5  r4-vlan-94-ixi1.vie.as1901.net (193.80.94.2)  21.975 ms  54.819 ms  21.483 ms
 6  r17-vlan-144-dbg1.vie.at.eu.net (193.154.144.22)  22.006 ms r17-vlan-145-dbg1.vie.at.eu.net (193.154.145.22)  21.668 ms r17-vlan-144-dbg1.vie.at.eu.net (193.154.144.22)  22.789 ms
 7  derstandard.at (193.154.164.57)  22.616 ms  22.182 ms  22.606 ms

I tried to reinstall Tiger, I changed the MTUs, it doesn't matter wheter I connect via Airport or ethernet, I just do not know whats going on.

HELP!

Thanks!

hayne 06-03-2005 09:18 AM

I think all you are seeing is differences in the traceroute defaults on the two systems. On OS X, traceroute defaults to 40 byte UDP packets. When (on OS X) I do:
traceroute derstandard.at
it starts to fail (* * *) after r17-vlan-145-dbg1.vie.at.eu.net

but if I do:
traceroute -I derstandard.at
it succeeds in tracing all the way.

Read 'man traceroute' for details on the two systems.
The above "-I" option makes OS X's traceroute use ICMP packets instead of UDP. Other protocols are available via the "-P" option.

You may also find 'mtr' useful - it is available via Fink.

schere 06-03-2005 09:58 AM

yes, doing it with traceroute -I really works. But still, I am not able to connect a series of webpages via safari - which are accessible on my gentoo computer?!?

hayne 06-03-2005 10:04 AM

My guess is that the relevant web servers and/or the network connection to those web servers are not functioning 100% and what you are seeing is Safari not being patient enough - so it times out when your GenToo browser (which one?) is getting through.

Try using a different browser - e.g. FireFox, or just 'curl' to troubleshoot this.
And check if the problem might be "merely" DNS resolving by trying to get to the web pages via IP address instead of hostname.

Here's a Bash function that uses 'curl' that is often useful in HTTP troubleshooting:

debug_http () { /usr/bin/curl $@ -o /dev/null -w "dns: %{time_namelookup} connect: %{time_connect} pretransfer: %{time_pretransfer} starttransfer: %{time_starttransfer} total: %{time_total}\n" ; }

Example of use:
debug_http www.apple.com

schere 06-03-2005 10:18 AM

Dear Hayne,

Thanks for your tip. I tried using camino and firefox besides of safari, it is always the same thing. The system connects perfectly to 50%, and not at all to the other 50%.
Safari just gave me the following error message:

Safari can’t open the page “http://derstandard.at/”. The error was: “lost network connection” (NSURLErrorDomain:-1005) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

... any suggestions?

thanks!

EDIT:

I just tried your script, too and when I am able to connect a site, the following output results:

wolfgang-dietls-ibook-g4:~/Desktop dieti$ debug_http www.orf.at
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1945 100 1945 0 0 15172 0 --:--:-- --:--:-- --:--:-- 41322
dns: 0.007 connect: 0.032 pretransfer: 0.032 starttransfer: 0.066 total: 0.128

At "unreachable Site" only the time spent goes up, no other data, sorry!

hayne 06-03-2005 11:30 AM

Quote:

Originally Posted by schere
Safari can’t open the page “http://derstandard.at/”. The error was: “lost network connection” (NSURLErrorDomain:-1005)

For what it's worth, I have no trouble accessing the above page using Safari on my iBook 1.2 GHz with 10.4.1
It's a bit slow (takes about a minute) but it all loads.

voldenuit 06-04-2005 12:23 AM

Quote:

Originally Posted by hayne
For what it's worth, I have no trouble accessing the above page using Safari on my iBook 1.2 GHz with 10.4.1
It's a bit slow (takes about a minute) but it all loads.

Same OS version, it loads pretty fast here, probably due to the fact that the site is in Austria and the route from where Hayne lives might be long and narrow.
Try to use another account on your OS X machine, if you don't already have a test account, just create one. If the problem goes away, then throwing away plists etc. belonging to Safari on the main account should fix the problem.

kansaigaijin 06-04-2005 01:38 PM

takes only a couple seconds to load here on an iBook running tiger connected to the net over Airport.

miguelhongo 06-28-2005 02:16 PM

Hey mate we got the same problem
 
I'm just changing my slow but no problem network connection to a serial dsl external modem in my mac with tiger. While I was able to navigate through any page when I had my internal modem connection I get this “lost network connection” (NSURLErrorDomain:-1005) with Safari but it's the same to other browsers (I had use Omniweb, Firefox, Explorer and so on and it's the same with evereryone). On the otherhand it's weird 'cause I can connect to that page you can't but I can't check any webmail and even I can't send messages with my mail app.
At the begining I though it was somethin related with browser security or a firewall thing but it was always off. I will try creating another account but I'm sure mistery should be in another place.

Miguel

By the way. I've had some problems when I connect. Usually I get this "can't negotiate a connection with ppp server".

jealas 07-04-2005 04:28 AM

I am experiencing the same problems the last days in 10.4.1. I'm getting the Error NSURLErrorDomain -1005 errors and other pages just won't load, even after deleting plist files and resetting Safari.
The same pages fail to load in IE.

I think this affects Mail as well, I have problems sending some mail, but not all. It might have something to do with message length or characters used in the mail.

Please help
Jealas, Stockholm, Sweden

Added:
After deleting plist files some pages can be loaded, but the next time I try to load them they fail. I created a new user account and tried accessing the pages. I got access at first but then they stopped working for me. It seems to have something to do with cookies.

sandsage 07-14-2005 11:45 AM

me too
 
I have the same problem - it shows up particularly when trying to get into a hotmail inbox and occasionally when sending mail. we tried deleting the plists, changing security settings, etc but that didn't help. tried creating a new account, that didn't help either. we actually had the problem with OSX so thought upgrading to Tiger might help. It didn't. If anyone figures this out, help would be greatly appreciated.
-m

pixpixpix 09-21-2005 09:54 AM

I have the same problem now with pages that load fine if the URL is entered in the address bar , but won't load if the same query is sent through a form.

eg http://www.davidsanger.com/stock/buddha loads fine

but type buddha or anything else in the searhc box and I get incomplete pages and the “lost network connection” (NSURLErrorDomain:-1005) error

kanny 09-27-2005 08:39 AM

I am also experiencing the same problem with hotmail mailbox. Yesterday i did software update which included security update for Mac OS X, and now i can't get access to my hotmail account. It gives the NSURLErrorDomain:-1005 error. The same error is reported even if i use FireFox, while i can access my hotmail account on a Linux machine.

I tried the 'buddha' page and it loads, while putting in search box, some links are loaded while wikipedia gives the same network error.

I just don't understand why the heck strange behaviour ? How to fix it ? As there seems varied suggestions in the above posts and some reports some works and others don't, i am afraid of damaging the system. So any sure cure for this problem ?

Thanks,
Kanny
---------
PB 15" 1.5GHz, 1GB, 74GB
Mac OS X 10.4.2 Tiger

pixpixpix 09-27-2005 11:44 AM

Quote:

Originally Posted by pixpixpix
I have the same problem now with pages that load fine if the URL is entered in the address bar , but won't load if the same query is sent through a form.

I fixed the page now. It turns out this was an Apache problem of some kind due to an update by my webhost and what seems to be an bug in Apache 1.3.33 concerning redirects and POST variables.

It was not a Tiger error. But the 1005 code does come froma network timeout which can have a numebr of causes.

kanny 09-28-2005 11:53 AM

So, what exactly you suggest ? Did you have some updates of Appache or so ? Btw, i had also done Java updates alongwith security updates, but am not sure how can i remove those updates to get back to normal working of Safari ?

Gulliver 06-06-2006 01:11 PM

Quote:

Originally Posted by pixpixpix
I fixed the page now. It turns out this was an Apache problem of some kind due to an update by my webhost and what seems to be an bug in Apache 1.3.33 concerning redirects and POST variables.

It was not a Tiger error. But the 1005 code does come froma network timeout which can have a numebr of causes.

Could you please give some instructions how to fix that?!?!?!?

Thanks!

terscheckii 01-31-2007 05:19 AM

If it helps, I am using Mac OS 10.4.8, and I also get the message ‘NSURLErrorDomain:-1005’ when Safari fails to load certain web pages. These pages have included eBay.co.uk and Operamail.com.

However, there are also four Windows based PCs connected to the same modem router. These Windows PCs fail to load these particular web pages at exactly the same times that the Mac fails to load them. I can’t be certain, but this would seem to indicate that the web pages’ failure to open is due to something other than a particular Apple operating system and the Safari browser.

LarsBorg 03-10-2007 01:58 AM

“lost network connection” (NSURLErrorDomain:-1005)
 
Does anyone know a real fix?
Here is a summary of the symptoms I've seen:
- When a URL performs poorly, it performs poorly in all apps trying to reach the URL. The same URL may work just fine 30 minutes later, and then fail another 30 minutes later. While composing this message access to google has come and gone.
- Only some URLs go bad. Some URLs always perform fine, when others go bad. Often, it's the same URLs that go bad, including google.com.
- URLs fail individually. When one URL fails, not all previously failing URLs fail.
- Looking in the Activity window in Safari is informative. When a URL performs poorly, the Activity window shows that it takes 10 seconds or more to get the first item from a new server address. After that, all items on the same serve download quickly. Then there is yet another 10 second delay for the next server address. Most annoyingly, the second server wait is often for banner ads. So this seems like a 10 second delay in DNS lookups. However, using the IP address instead of a URL doesn't fix this.
- Ping

The problem seems to depend on the hardware. I have several different Macs running 10.4.8. Only one has the problem: Dual 2GHz PowerPC G5 with 1.5 Gb RAM. The problem Mac had problems when on a corporate net, and has problems now at my home connected to comcast cable through a linksys router. Our corporate helpdesk is stumped.
Rebooting doesn't help
Setting MTU to 1430 doesn't help
Changing DNS servers doesn't help
For awhile I switched harddisks with a colleague having a near-identical Mac. The problem disappeared (until I had to swap back).

Do you have any clues where else to look, what else to try?

Frustrated,

Lars

LarsBorg 03-11-2007 07:34 PM

Here is more info:
- Connections can fail also when I'm connected over VPN through my company's servers. I find this quite interesting. In this case the problem addresses go to a different DNS server. My IP provider Comcast is bypassed. This leads me to believe the problem is entirely within my Mac.

Now, why would MacOS occasionally decide to dislike some URLs? Could it be something like an overflowing cookie file? (I've noted that when the cookie file gets too large, it takes a long time to update a cookie)

Clueless in sunny California

tl 03-13-2007 04:03 PM

Similar problem(s)
 
I've had a similar problem for the past few days since switching to Verizon DSL.

What has been consistent so far:
- no problem if I don't go through the router (netgear)
- *no* problem with Windows XP + router
- repeated problems on the Mac (10.4.8), but only with certain sites, apps, and conditions:
- sending mail (message must be above a number of characters, I haven't tried to figure out how many yet) using Thunderbird (latest version)
- sending mail using web interface, regardless of message size (Safari, Firefox). The only error message I ever get is NSURLErrorDomain: -1005 from Safari.
- accessing nytimes.com with Firefox; Safari will work. All other sites -other than Verizon's webmail- seem to work.

Interestingly, I had an identical problem in the past, (also nytimes.com, and sending larger emails) and checked my notes. It happened in feb 2005, with Verizon DSL, netgear router, and Windows XP. The fix at the time was to change router settings to use login settings.

I've tried making the same fixes this time, but so far I haven't even been able to get the router to log onto the network using username and password.

Tearing my hair out,
Terri

patyoung 05-11-2007 09:49 PM

I also get these same results when using BellSouth DSL going through a linksys router. This happens on both my Mac and on my PC. It works fine when the computer is directly connected to the DSL router (Westell E90).

Is there some problem between these PPPOE connections and routers? Any help is appreciated.


All times are GMT -5. The time now is 08:05 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.