Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: Rejecting Client without 'rethinkdb-horizon-v0' protocol() #871

Open
Skintillion opened this issue Mar 7, 2017 · 0 comments
Open

Comments

@Skintillion
Copy link

Skintillion commented Mar 7, 2017

Connecting using NativeScript I get this error.

debug: Rejecting client without "rethinkdb-horizon-v0" protocol ().

Horizon Command:

hz serve --dev --debug true --bind all

Nativescript code:

"use strict";
var Horizon = require('@horizon/client');
var horizon = Horizon({host: 'SERVER:8181'}); //Ive tried with  { authType: "unauthenticated" }, {secure: false} 
horizon.onReady(function() {
    console.log("Horizon Online");
})
horizon.connect();

logger.debug(`Rejecting client without "${protocol_name}" protocol (${protocols}).`);

the variable is set correctly

var PROTOCOL_VERSION = 'rethinkdb-horizon-v0';

It's not passing along any protocol information at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant