Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

All browsers in my mbp can't open http website but https website

I'm not sure what I did before it happened, now I could open any http sites with error



in Chrome (49.0.2623.87 (64-bit))

"

This site can’t be reached

cn.bing.com refused to connect.

ERR_CONNECTION_REFUSED

"



in Safari ( 9.0.3 (11601.4.4))

"

Safari Can't Connect to the Server

...

"



in Firefox

"

Unable to connect

...

"



BUT, I can access a https site such as https://www.google.com.hk/?gws_rd=ssl and https://github.com/ in all the internet browsers!



Besides, I also could ping to the http website in Terminal application, all the other applications could connect to the Internet.



As I tried, I confirmed the DNS state is good in my home and work environment, closed all the proxy applications and plugins.



Now I think this may be caused by some certificate issues from Keychain Access, I tried to match the items between my mac mini and this macbook pro, no luck there, either.



So, this is really a weird problem, please help!

Before I tried to reinstall my mac, I really want to know what the real cause is. Thanks in advance!



OSX: 10.11.3 (15D21)

MacBook Pro (Retina, 13-inch, Late 2013)

Posted on Apr 5, 2016 9:04 AM

Reply
Question marked as Best reply

Posted on Apr 5, 2016 9:11 AM

If your Mac is running 10.11.3, updating your OS X software to 10.11.4 may help.


Click your Apple  top left in your screen. From the drop down menu click App Store. When the App Store opens select Updates from the menu.


Your Mac may restart several times during the update process. When it's done try Safari.

14 replies

Apr 5, 2016 9:19 PM in response to Carolyn Samit

Thanks Carolyn, I downloaded the combo update from apple website last night and installed the update just now. Now I could access the http and https sites when I open the proxy software (lantern.app), if I quit the proxy app, the problem still exists. I couldn't open any http sites but work for https sites, other applications can connect to the Internet successfully.


I cleared the cookie and history data for Chrome and Safari, it doesn't work, either.

Apr 11, 2016 1:12 AM in response to xingheng

well I didn't particularly solve it, and I use firefox so those links didn't work that well

so what I did was :


1. upgraded my mac from el capitan 10.11.3 to 10.11.4

2. used a VPN >>http://www.vpngate.net/en/ and it worked!


since the VPN is kinda always on, I have no problem accessing HTTP or HTTPS websites alike


I like the VPN idea too


of course I'm still interested in how and why I can't access http without a VPN. but at least it now works


and BTW xingheng, i took this idea from your reply so thanks 🙂

Apr 11, 2016 1:23 AM in response to xingheng

HTTP uses TCP port 80 and HTTPS uses TCP port 443.



Test the issue in safe mode: Try safe mode if your Mac doesn't finish starting up - Apple Support


If the issue is not present in safe mode, boot to normal mode.


If the issue is resolved, it was isolated to caches or errors on the disk that safe mode repaired/cleaned.


If the issue comes back it's related to third party software. Check login items and the following folders:


/Library/StartupItems

/Library/LaunchAgents

/Library/LaunchDaemons

/Library/Extensions

~/Library/LaunchAgents

~/Library/LaunchDaemons (may not exist)



Further isolation steps you can do to determine if the issue is related to the network or the computer is test in recovery mode. Select Get Help Online from the OS X Utilities menu to open Safari. Granted, for this situation it would most likely not be needed.

Apr 11, 2016 9:52 AM in response to Gin.

Gin. wrote:


so I've tried safe mood and the problem didn't exist. what I understand is that I need to check those files

but check for what exactly?


Did the issue occur after rebooting into normal mode? If the answer is no then no further troubleshooting is needed.


What you see in these folders are called plists or property lists. These specific plists are to launch processes at either system start or user login. The exception would be the /Library/Extensions folder which is for kernel extensions, save this folder for last. Start at the first folder and move all items to the desktop then restart. If the issue is not present, it's related to one of these files, add them back one by one then restart until the issue occurs--you've then narrowed it down to the specific third-party software that is causing the issue. If the issue is present then add them all back and repeat with the next folder. It's most likely related to some type of security or network software. Since you have VPN software, you can try removing the plists related for the VPN software first before doing the above steps. Remember, a restart is required for the changes to take effect.

Apr 11, 2016 9:58 AM in response to chroot

Thanks chroot! I found it, it named "com.disobediently.net-preferences.plist" in /Library/LaunchDaemons, the core script /etc/change_net_settings.sh did the stupid! I just google it "/etc/change_net_settings.sh" and found someone encountered the same issue, too.


Anyway, great thanks for your tips! I knew the safe mode and forgot it completely, thanks for your sharing!

All browsers in my mbp can't open http website but https website

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.