apache2 forward proxy socket read error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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.
Enter local proxy password for user tim:
Build Type 1 NTLM Message : TlRMTVNTUAABAAA
Local proxy ec2.growthpath.
Connected to ec2.growthpath.
Tunneling to 127.0.0.1:22 (destination)
Communication with local proxy:
-> CONNECT 127.0.0.1:22 HTTP/1.0
-> Proxy-Authoriza
-> 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/
[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_
authz_
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_
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
Thank you for your report.
This looks like a local configuration problem, rather than a bug in Ubuntu, so I'm marking this bug as Incomplete.
If this is indeed a local configuration problem, you can find pointers to get help for this sort of problem here: http:// www.ubuntu. com/support/ community
Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then update your report, and then change the bug status back to New.
The problem here is that you seem to be saying that proxytunnel does not work at all. If this is a problem with apache2, can you pin down exactly what about apache2 does not work, in technical terms? Or if this is a problem with proxytunnel, then likewise?