Bug #79933 Routing failing with Operation not supported on socket
Submitted: 12 Jan 2016 9:47 Modified: 27 Jan 2016 1:23
Reporter: Geert Vanderkelen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Router Severity:S3 (Non-critical)
Version:2.0.2 OS:Any
Assigned to: CPU Architecture:Any

[12 Jan 2016 9:47] Geert Vanderkelen
Description:
In certain situations, such as when connected to a VPN, Router will fail to start Routings with message that the operation is not supported.

  Setting up service using 127.0.0.1:15508: Operation not supported on socket

How to repeat:
Connect to VPN, for example using Cisco AnyConnect and run the unit tests:

$ cd build
$ cmake .. -DENABLE_TESTS=yes
$ make -j2
$ make test
..
96% tests passed, 1 tests failed out of 28
..
$ ./tests/routing/test_routing_plugin
..
Expected: has substring "routing:tests started: listening on 127.0.0.1:15508"
  Actual: "2016-01-12 10:42:40   ERROR [700000081000] routing:tests: Setting up service using 127.0.0.1:15508: Operation not supported on socket\n"
..
[27 Jan 2016 1:23] Philip Olson
Posted by developer:
 
Fixed as of the upcoming MySQL Router 2.0.3 release, and here's the changelog entry:

In certain network setups, for example when connected to a VPN, routing
could fail starting with the error "Operation not supported". Error
handling was added when setting up the service, which raises or logs
errors.

Thank you for the bug report.