[Bug 1158141] [NEW] apache2 forward proxy socket read error

Tim Richardson tim at tim-richardson.net
Thu Mar 21 06:22:14 UTC 2013


Public bug reported:

I have an ubuntu 12.04 LTS server. I've set up proxy server on apache2, on port 443.
The server serves SSL web pages, and I can ssh to the server from a remote shell. I can connect to ssh with a password.
I've set up proxytunnel so I can ssh to it from anywhere. But it's failing.

I get this Socket read error. Why?

Server version: Apache/2.2.22 (Ubuntu)


(churchill is my latpop, accessing the system. )
( I also tried running sshd on 2222 and changing the proxytunnel config, same result)

-------------

churchill:~ tim$ proxytunnel -E -p ec2.growthpath.com.au:443  -d 127.0.0.1:22 -N -P tim -v
Enter local proxy password for user tim: 
Build Type 1 NTLM Message : TlRMTVNTUAABAAAAAAAAAAeCCKIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
Local proxy ec2.growthpath.com.au resolves to 54.243.214.78
Connected to ec2.growthpath.com.au:443 (local proxy)

Tunneling to 127.0.0.1:22 (destination)
Communication with local proxy:
 -> CONNECT 127.0.0.1:22 HTTP/1.0
 -> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAAAAAAeCCKIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
 -> Proxy-Connection: Keep-Alive
error: Socket read error.

On the server, I have defined

-------------

ProxyRequests On
AllowCONNECT 22
ProxyVia        On
<Proxy *>
        Order deny,allow
        Deny from all
</Proxy>
<Proxy 127.0.0.1>
        Order deny,allow
        Allow from all
</Proxy>


 apachectl -t -D DUMP_MODULES
/usr/sbin/apachectl: 87: ulimit: error setting limit (Operation not permitted)
[Thu Mar 21 06:18:29 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_worker_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgid_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_html_module (shared)
 proxy_http_module (shared)
 reqtimeout_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 status_module (shared)
 wsgi_module (shared)
Syntax OK

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apache2

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1158141

Title:
  apache2 forward proxy socket read error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1158141/+subscriptions



More information about the Ubuntu-server-bugs mailing list