LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-03-2010, 04:02 PM   #1
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Rep: Reputation: 23
Question Crazy web/networking problem with fedora 14 - won't connect to proxy


Suddenly my laptop running fedora 14 stopped connecting to the Internet when I'm on my work's internal network. We go through a proxy, but it seems my browser decided to stop accessing it. I have oidentd running to identify myself to the proxy. The weird thing is, if I go to an external network connection, like our free wifi, or my wifi at home, I have no problem accessing the internet. But if I try to go through the proxy, I can't access anything outside the intranet.

Even weirder, is I can ping any address on the internet with no problem, and I can access the proxy directly in the web browser.

We've ruled out any firewall or routing rules, and the proxy is working fine for everyone else. I was changing some pam configuration files to get my gdm login working (which is working now), but other than that I didn't change anything else.

I have it working now by setting up a default route to go through the wireless interface (which can access the internet), and a route to our internal network going through the wired network.

Has anyone else heard of this?
 
Old 12-03-2010, 05:07 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Check your proxy settings in Firefox.
  1. Edit > Preferences
  2. Click on Advanced to the right of the dialog.
  3. Select the Network Tab.
  4. Under Connection click the Settings button.
  5. Ensure that the proxy is either "Auto-detect proxy settings" or "Use system proxy settings".

Since you know the proxy information you could also set it up manually.

Last edited by sag47; 12-03-2010 at 05:09 PM.
 
Old 12-03-2010, 11:33 PM   #3
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by sag47 View Post
Check your proxy settings in Firefox.
  1. Edit > Preferences
  2. Click on Advanced to the right of the dialog.
  3. Select the Network Tab.
  4. Under Connection click the Settings button.
  5. Ensure that the proxy is either "Auto-detect proxy settings" or "Use system proxy settings".

Since you know the proxy information you could also set it up manually.

Thanks, but I've already tried that numerous times, that's why I'm posting here.
 
Old 12-04-2010, 12:12 AM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
can you ping google?

Code:
echo $http_proxy
Does it say anything?

Last edited by sag47; 12-04-2010 at 12:15 AM.
 
Old 12-09-2010, 02:53 PM   #5
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
I have auto-detect enabled.

I had the proxy working, then all of a sudden it stopped working. Didn't update or install anything. I have no problems at home (no proxy). I also can access the internet if I use the WiFi at work, which goes around the proxy. But, I can access the proxy's default web page with no problem as well.
 
Old 12-09-2010, 03:41 PM   #6
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
The nuttiness of it, is if I set the proxy manually, I get no connection. But if I use auto-detect, https can get through, but not http.
 
Old 12-09-2010, 05:48 PM   #7
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Is this happening in only one browser or is it across other browsers/applications?
 
Old 12-10-2010, 10:44 AM   #8
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
It affects firefox, chrome, and elinks. I can use ftp with no problems, but our firewall doesn't block ftp.
 
Old 12-10-2010, 10:54 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
As sag47 asked, what is the output from
Code:
echo $http_proxy
try
Code:
export http_proxy=http://1.2.3.4:3128
Kind regards
 
Old 12-13-2010, 08:39 AM   #10
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by repo View Post
As sag47 asked, what is the output from
Code:
echo $http_proxy
try
Code:
export http_proxy=http://1.2.3.4:3128
Kind regards
Sorry, that's not the issue, I'm using automatic proxy detection. I have no problem using yum through a proxy.

I've already tried every permutation of proxy addresses and configuration, nothing works.

It works fine at home, and it used to work fine at work, but it just suddenly stopped working. This has nothing to do with the proxy settings, but somehow the browser is not communicating with the proxy. I can access the internet just fine with my windows PC using the same settings.

I appreciate the offers to help, I just want you to know this is not a simple "set your proxy settings in preferences" issue, it's much more than that.

Last edited by slinx; 12-13-2010 at 08:48 AM.
 
Old 12-13-2010, 03:36 PM   #11
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
If I try to access Subversion from ie or ff on my windows xp machine, I have no problem. But if I try to access the Subversion repo from ff on Fedora 14, then I get the error

Code:
Bad Request

Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.

2Q6S3ViYjEzLyE=

Apache/2.2.14 (Ubuntu) Server at svn.ta.com Port 443
However, if I disable to proxy, I can access the repo, then if I change it back to automatic, I can still access it!
 
Old 12-13-2010, 03:51 PM   #12
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
How does your network configure it? If it's using a wpad.dat file or pac file then perhaps you should download it on to your machine. Then set the configuration to your localhost wpad.dat. In case the automatic detection isn't working correctly.

It's worth a try.
 
Old 12-13-2010, 04:52 PM   #13
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
It's just using the "Automatically detect proxy" setting. I tried using Wireshark to sniff the packet containing the proxy info, but I couldn't find it.
 
Old 12-13-2010, 09:10 PM   #14
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Quote:
Originally Posted by slinx View Post
It's just using the "Automatically detect proxy" setting. I tried using Wireshark to sniff the packet containing the proxy info, but I couldn't find it.
Right I understand that is your browsers' configuration settings. But it's got to "automatically" get the configuration from somewhere. That's where wpad.dat or pac files come in. I think your computer isn't correctly obtaining this file which may be why you're having trouble. If you manually download it instead of "automatically" download it you may resolve your issue.
 
Old 12-14-2010, 08:18 AM   #15
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
When I enter "wpad.ourdomain.com" in my browser, I get directed to one of the three load-balancing proxies, with a message "it works!" and the name of the proxy.

If I use that proxy in my settings, I cannot access external sites through the proxy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
networking in fedora 10 won't connect to dlink jimlauman Linux - Newbie 10 06-16-2009 10:38 AM
Dell 1501 Fedora 7, Lan cannot connect web problem. doobe66 Fedora 9 07-06-2007 05:59 AM
Proxy problem: can`t connect SSH through proxy... bugzilla Linux - Networking 3 09-16-2004 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration