New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 841770 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

nassh: secure shell port forwarding drops connections.

Project Member Reported by flackr@chromium.org, May 10 2018

Issue description

Chrome Version: 68.0.3416.0 (Official Build) dev (64-bit)
OS: ChromeOS

What steps will reproduce the problem?
(1) Unzip the attached http-test.zip on linux machine.
(2) Run python -m SimpleHTTPServer from that directory (serving it on port 8000)
(3) Open secure shell on chromebook
(4) Connect to that linux machine's SSH server forwarding the test http port (i.e. SSH Arguments: -L 8000:localhost:8000) 
(5) Open http://localhost:8000 on the chromebook

What is the expected result?
Expect all of the html and css files to load, making each paragraph green.

What happens instead?
Often, one or more resources fail to load. This results in some of the paragraphs being red or the html itself being blank - i.e. blank page. Refreshing with shift+reload you can see different sets of requests succeed.
 
http-test.zip
1.6 KB Download

Comment 1 Deleted

Owner: flackr@chromium.org
Status: Assigned (was: Untriaged)
@flackr, why is step #4 required? We are talking to Chrome dev tools folks about making linuxhost a secure origin, so it should be treated the same as localhost.

Comment 3 by flackr@chromium.org, May 30 2018

Owner: tbuck...@chromium.org
This bug is about the secure shell app (https://chrome.google.com/webstore/detail/secure-shell-app/pnhechapfaindjhompbnflcldabbghjo?utm_source=chrome-app-launcher-info-dialog) dropping connections when you use its port forwarding feature.

I realize that there are other ways to solve the local linuxhost use case but secure shell port forwarding is also useful for testing web servers on a remote host (without exposing the webserver publicly and getting secure origin treatment).

Comment 4 by vapier@chromium.org, May 30 2018

Owner: ----
Summary: nassh: secure shell port forwarding drops connections. (was: Secure shell port forwarding drops connections.)
this is a legit bug regardless of what we decide to do on the crostini side

Comment 5 by flackr@chromium.org, May 31 2018

As an update, I wrote a tool to do a better test, see attached index.html.

I ran three tests of 1000 connections. The success rate was the following:
54.9% success rate using ssh relay (--config=) forward to my desktop
97.8% success rate using direct ssh forward to linuxhost
97.3% success rate using direct ssh forward to an external computer
100% success rate on a control test (direct http connection to external computer)
index.html
833 bytes View Download
I see this issue connecting to my dev server through tunnels. I see it on multiple chromebooks and networks. 

Sign in to add a comment