[openstreetmap/openstreetmap-website] OpenStreetMap listens on TCP not on HTTP (#2220)

YuriiNskyi notifications at github.com
Fri May 3 14:53:07 UTC 2019


I am using Ubuntu 18.04.2 LTS.

I have executed:

    git clone  https://github.com/openstreetmap/openstreetmap-website.git osm-repo
    cd ./osm-repo
    vagrant up

Despite the fact that something was wrong with Vagrant's SSH [(here's an example)](https://github.com/hashicorp/vagrant/issues/1659), I can successfully execute `vagrant ssh`, and now I'm in the OSM's VM.

Here's what happens when executing `bundler exec rails server`:

> => Booting Puma
> => Rails 5.2.3 application starting in development 
> => Run `rails server -h` for more startup options
> pngcrush worker: `pngcrush` not found; please provide proper binary or disable this worker (--no-pngcrush argument or `:pngcrush => false` through options)
> advpng worker: `advpng` not found; please provide proper binary or disable this worker (--no-advpng argument or `:advpng => false` through options)
> optipng worker: `optipng` not found; please provide proper binary or disable this worker (--no-optipng argument or `:optipng => false` through options)
> pngquant worker: `pngquant` not found; please provide proper binary or disable this worker (--no-pngquant argument or `:pngquant => false` through options)
> jhead worker: `jhead` not found, `jpegtran` not found; please provide proper binary or disable this worker (--no-jhead argument or `:jhead => false` through options)
> jpegoptim worker: `jpegoptim` not found; please provide proper binary or disable this worker (--no-jpegoptim argument or `:jpegoptim => false` through options)
> jpegtran worker: `jpegtran` not found; please provide proper binary or disable this worker (--no-jpegtran argument or `:jpegtran => false` through options)
> gifsicle worker: `gifsicle` not found; please provide proper binary or disable this worker (--no-gifsicle argument or `:gifsicle => false` through options)
> svgo worker: `svgo` not found; please provide proper binary or disable this worker (--no-svgo argument or `:svgo => false` through options)
> Puma starting in single mode...
> * Version 3.12.1 (ruby 2.5.1-p57), codename: Llamas in Pajamas
> * Min threads: 5, max threads: 5
> * Environment: development
> * Listening on tcp://localhost:3000
> Use Ctrl-C to stop

That's the problem. Correctly, there are two problems:

1. What should I do with those workers?
2. Why OSM listens on TCP? Absolutely every source says that it must listens on HTTP protocol, not on TCP. Maybe it is connected with these workers. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190503/490ca683/attachment.html>


More information about the rails-dev mailing list