opened
trystant
username_0
View details in Rollbar: [https://rollbar.com/username_0/EBWiki/items/2318/](https://rollbar.com/username_0/EBWiki/items/2318/)

```

URI::InvalidURIError: bad URI(is not URI?): "http://Your friendly neighborhood Elasticsearch server:9200"
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/uri/rfc3986_parser.rb", line 67, in split
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/uri/rfc3986_parser.rb", line 73, in parse
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/uri/common.rb", line 234, in parse
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/uri/common.rb", line 737, in URI
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/faraday-0.15.4/lib/faraday/utils.rb", line 275, in call
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/faraday-0.15.4/lib/faraday/utils.rb", line 275, in URI
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/faraday-0.15.4/lib/faraday/connection.rb", line 315, in url_prefix=
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/faraday-0.15.4/lib/faraday/connection.rb", line 80, in initialize
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/http/faraday.rb", line 54, in new
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/http/faraday.rb", line 54, in __build_connection
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/base.rb", line 157, in block in __build_connections
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/base.rb", line 149, in map
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/base.rb", line 149, in __build_connections
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/transport/base.rb", line 59, in initialize
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/client.rb", line 144, in new
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport/client.rb", line 144, in initialize
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport.rb", line 45, in new
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/elasticsearch-transport-7.0.0/lib/elasticsearch/transport.rb", line 45, in new
  File "/Users/silverSheep/Desktop/code/openSource/EBWiki/config/initializers/searchbox.rb", line 8, in <top (required)>
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb", line 287, in load
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb", line 287, in block in load
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb", line 259, in load_dependency
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb", line 287, in load
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/engine.rb", line 648, in block in load_config_initializer
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb", line 166, in instrument
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/engine.rb", line 647, in load_config_initializer
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/engine.rb", line 612, in block (2 levels) in <class:Engine>
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/engine.rb", line 611, in each
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/engine.rb", line 611, in block in <class:Engine>
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 30, in instance_exec
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 30, in run
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 55, in block in run_initializers
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 228, in block in tsort_each
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 350, in block (2 levels) in each_strongly_connected_component
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 422, in block (2 levels) in each_strongly_connected_component_from
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 431, in each_strongly_connected_component_from
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 421, in block in each_strongly_connected_component_from
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 44, in each
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 44, in tsort_each_child
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 415, in call
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 415, in each_strongly_connected_component_from
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 349, in block in each_strongly_connected_component
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 347, in each
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 347, in call
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 347, in each_strongly_connected_component
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 226, in tsort_each
  File "/Users/silverSheep/.rvm/rubies/ruby-2.6.5/lib/ruby/2.6.0/tsort.rb", line 205, in tsort_each
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/initializable.rb", line 54, in run_initializers
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/railties-5.0.7.2/lib/rails/application.rb", line 352, in initialize!
  File "/Users/silverSheep/Desktop/code/openSource/EBWiki/config/environment.rb", line 8, in <top (required)>
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb", line 293, in require
  File "/Users/silverSheep/.rvm/gems/ruby-2.6.5@ebwiki/gems/activesu
URI::InvalidURIError: bad URI(is not URI?): "http://Your friendly neighborhood Elasticsearch server:9200"
issue
created
iarobinson
username_1
@username_0  - I had this issue to. To fix it, fix your .env (line 10) file to have the following:

`SEARCHBOX_URL=http://localhost:9200`

[This PR](https://github.com/EBWiki/EBWiki/pull/3689) is my attempt to address the issues you're running into.
comment
created
trystant
username_0
Thanks @username_1. I believe that this may be listed in [Common EBWiki Development Errors](https://github.com/EBWiki/EBWiki/wiki/Common-EBWiki-development-errors), but if it isn't, we can update these docs as needed.
comment
closed
trystant
username_0
issue