Skip to content

Speed Test Error: We're sorry, but something went wrong. #277

@webaissance

Description

@webaissance

Error when running a speed test
When running a speed test I am getting an error:

We're sorry, but something went wrong.
If you are the application owner check the logs for more information.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://speedupamerica.com/'
  2. Click on 'Take the Test!!!'
  3. Take the speed test. I clicked on "Use my browser's location." -> Location Success! -> Let's begin. -> Residential. -> Let's do this! -> connection type: wireless -> Test my Speed -> Measuring Upload and download speed -> submitting data ->
  4. See error
    We're sorry, but something went wrong.
    If you are the application owner check the logs for more information.

Expected behavior
Expected to see results of test

Screenshots
image

Desktop (please complete the following information):

  • OS & Version: Windows 10 Home Version 20H2
  • Browser: Chrome Version 93.0.4577.63 (Official Build) (64-bit)

Also occurs on mobile - both using Wifi and also using Cellular connection [correction: it only breaks with CenturyLink Fiber. Connecting with Credo / Verizon cellphone service works]
**Smartphone **

  • Device: Samsung Galaxy S9 SM-G960U1
  • OS: Android
  • Browser Chrome 93.0 4577.62

Additional context
When I run the test on my local machine it gives more details about the issue:

ActiveRecord::StatementInvalid in SubmissionsController#create
Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1: UPDATE submissions SET location = POINT(longitude, latitude) WHERE id =

Extracted source (around line #675):
def populate_location
conn = ActiveRecord::Base.connection
conn.execute("UPDATE submissions SET location = POINT(longitude, latitude) WHERE id = #{id}")
end

def populate_boundaries

Rails.root: /suyc

Application Trace | Framework Trace | Full Trace
app/models/submission.rb:675:in populate_location' app/models/submission.rb:107:in create_submission'
app/controllers/submissions_controller.rb:20:in `create'
Request
Parameters:

{"utf8"=>"✓",
"authenticity_token"=>"xUZvQunSOkSnqY+9do0+5YdVSyey8MrrgAUxSfulCxmWmOGNfoCnA3t3XE1THJpsDj1e+hWtcmaa2FXh3vNC6w==",
"submission"=>{"latitude"=>"45.5373677",
"longitude"=>"-122.62784359999999",
"accuracy"=>"1519",
"actual_down_speed"=>"465.29",
"actual_upload_speed"=>"248.47",
"hostname"=>"ndt-iupui-mlab1-sea08.mlab-oti.measurement-lab.org",
"address"=>"",
"zip_code"=>"",
"ping"=>"6.00",
"location"=>"Location Geolocation",
"testing_for"=>"Home Wifi",
"connected_with"=>"Wireless connection,
single device,
Wireless connection,
single device",
"monthly_price"=>"100",
"provider_down_speed"=>"1000",
"rating"=>"5"},
"start_ndt_test"=>""}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions