ndt-project / ndt

Network Diagnostic Tool
Other
177 stars 45 forks source link

web100clt reports incompatible client version when the wrong server port is specified #152

Open aaronmbr opened 9 years ago

aaronmbr commented 9 years ago

Original issue 152 created by aaronmbr on 2014-07-15T14:06:27.000Z:

What steps will reproduce the problem?

  1. Build web100clt from source
  2. Run ./web100clt -n ndt.iupui.mlab1.lga01.measurement-lab.org -p 7123 -ddd

What is the expected output? What do you see instead? Expected: An error indicating that web100clt could not connect to the NDT server.

Actual: ./web100clt -n ndt.iupui.mlab1.lga01.measurement-lab.org -p 7123 -ddd Testing network path for configuration and performance problems -- Connected! Client socket created Using IPv4 address

What version of the product are you using? On what operating system? version 3.7.0-rc1 (built 7/14/2014) Observed on Ubuntu 11 x64 and Raspbian ARM

Please provide any additional information below.

aaronmbr commented 9 years ago

Comment #1 originally posted by aaronmbr on 2014-07-15T15:24:34.000Z:

Since there is something running on port 7123, the "does not support this command line client" seems a reasonable error message to me. Would you prefer it say "The server 'ndt.iupui.mlab1.lga01.measuremnet-lab.org:7123' does not support this command-line client"?

aaronmbr commented 9 years ago

Comment #2 originally posted by aaronmbr on 2014-07-15T15:29:00.000Z:

I understood it to mean that there was a version incompatibility and that if I had a client that matched the server it would work, but maybe that's reading too much into it.

I would expect an error more like "The server ndt.iupui.mlab1.lga01.measuremnet-lab.org:7123 does not appear to be an NDT server."