Export to GitHub

mod-spdy - issue #50

problem with android built-in browser & spdy


Posted on Aug 30, 2012 by Happy Rabbit

What version/revision number of mod_spdy are you using? 0.9.2.2-r350

What version of Apache are you using, and on what operating system? (Use apache2ctl -v to check.)

Server version: Apache/2.2.22 (Debian) Server built: Aug 3 2012 22:00:17

What other Apache modules are you using? (Use apache2ctl -M to check.) Loaded Modules: core_module (static) log_config_module (static) logio_module (static) version_module (static) mpm_worker_module (static) http_module (static) so_module (static) actions_module (shared) 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) cgi_module (shared) cgid_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) fastcgi_module (shared) mime_module (shared) negotiation_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) spdy_module (shared) ssl_module (shared) status_module (shared)

What browser version did you use to access the mod_spdy server? On what operating system? What flags was the browser invoked with? (For Chrome/Chromium, go to about:version to check.)

Mozilla/5.0 (Linux; U; Android 4.0.4; en-gb; MZ601 Build/I.7.1-45) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534 .30

(built-in motorola xoom browser)

What steps will reproduce the problem?

open spdy-enabled website, see only one page loaded (no css, js, images). any attempts to click on any links results in 'Connection Problem - A network error has occured' on the client side.

On the server side, 200 0 is in the logs, 200 for error code, 0 for document size :-\

Please provide any additional information below.

switching to chrome for android fixes the problem. so does turning spdy off.

Comment #1

Posted on Apr 19, 2013 by Happy Ox

We're having similar problems with the built-in Android browser, maybe they are somehow related?: https://groups.google.com/forum/#!msg/spdy-dev/omxgnRqoCwU/gtn32IKWSKoJ

Comment #2

Posted on Aug 29, 2013 by Helpful Dog

We're reliably able to reproduce this - Android browser emits "network error has occurred", and mod_spdy reports this error:

[Thu Aug 29 15:25:39 2013] [warn] [client 79.159.x.x] [mod_spdy/0.9.4.1-397] [27559:27609:WARNING:spdy_session.cc(484)] Client sent RST_STREAM with PROTOCOL_ERROR for stream 3. Aborting stream.

User agent: Mozilla/5.0 (Linux; U; Android 4.2.2; en-gb; Nexus 4 Build/JDQ39E) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 CyanogenMod/10.1.2/mako

Android Chrome does works fine.

Apache: Server version: Apache/2.2.25 (Unix) Server built: Jul 12 2013 01:00:35 Server's Module Magic Number: 20051115:33 Server loaded: APR 1.4.6, APR-Util 1.4.1 Compiled using: APR 1.4.6, APR-Util 1.4.1 Architecture: 64-bit Server MPM: Worker threaded: yes (fixed thread count) forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/worker" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/etc/httpd" -D SUEXEC_BIN="/usr/sbin/suexec" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf"

Comment #3

Posted on Sep 17, 2013 by Helpful Dog

Aside: Is there any way to disable mod_spdy for certain User-Agents? Right now it seems that to support the Android browser we need to turn off mod_spdy entirely.

Status: New

Labels:
Type-Defect Priority-Medium