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

ValidationError: .useCookies #105

Closed
mrdevis opened this issue Aug 21, 2015 · 10 comments
Closed

ValidationError: .useCookies #105

mrdevis opened this issue Aug 21, 2015 · 10 comments

Comments

@mrdevis
Copy link

mrdevis commented Aug 21, 2015

Hi, when opening a webpage with a running server, I get this::
This is with the latest version, pulled from github

client failed starting : ValidationError: .useCookies : expected undefined to be a boolean<<

Have I missed something??

osx 10.10.4

Thanks for a pointer, Jeroen

@sebpiq
Copy link
Owner

sebpiq commented Aug 21, 2015

Hi!
I've had a look, and I couldn't reproduce the problem. Which version of
node are you using? Also could you send me your config file?
Thanks!

On Fri, Aug 21, 2015 at 9:36 PM, mrdevis notifications@github.com wrote:

Hi, when opening a webpage with a running server, I get this::
This is with the latest version, pulled from github

client failed starting : ValidationError: .useCookies : expected undefined
to be a boolean<<

Have I missed something??

osx 10.10.4

Thanks for a pointer, Jeroen


Reply to this email directly or view it on GitHub
#105.

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

@mrdevis
Copy link
Author

mrdevis commented Aug 21, 2015

Wow, that was quick...

Thanks for getting back,

Using rhizome 0.6.1, and the standard config file from
../examples/base/


file attached, thanks!

Jeroen


On 8/21/2015 11:34 PM, Sebastien
  Piquemal wrote:

Hi!
  I've had a look, and I couldn't reproduce the problem. Which
  version of
  node are you using? Also could you send me your config file?
  Thanks!

  On Fri, Aug 21, 2015 at 9:36 PM, mrdevis
  <notifications@github.com> wrote:

  > Hi, when opening a webpage with a running server, I get
  this::
  > This is with the latest version, pulled from github
  >
  > client failed starting : ValidationError: .useCookies :
  expected undefined
  > to be a boolean<<
  >
  > Have I missed something??
  >
  > osx 10.10.4
  >
  > Thanks for a pointer, Jeroen
  >
  > —
  > Reply to this email directly or view it on GitHub
  > <https://github.com/sebpiq/rhizome/issues/105>.
  >



  -- 

  *Sébastien Piquemal*

  -----* @sebpiq*
  ----- http://github.com/sebpiq
  ----- http://funktion.fm
  —
    Reply to this email directly or view
      it on GitHub.

@mrdevis
Copy link
Author

mrdevis commented Aug 21, 2015

oop, and the node version is 0.12.7




On 8/21/2015 11:34 PM, Sebastien
  Piquemal wrote:

Hi!
  I've had a look, and I couldn't reproduce the problem. Which
  version of
  node are you using? Also could you send me your config file?
  Thanks!

  On Fri, Aug 21, 2015 at 9:36 PM, mrdevis
  <notifications@github.com> wrote:

  > Hi, when opening a webpage with a running server, I get
  this::
  > This is with the latest version, pulled from github
  >
  > client failed starting : ValidationError: .useCookies :
  expected undefined
  > to be a boolean<<
  >
  > Have I missed something??
  >
  > osx 10.10.4
  >
  > Thanks for a pointer, Jeroen
  >
  > —
  > Reply to this email directly or view it on GitHub
  > <https://github.com/sebpiq/rhizome/issues/105>.
  >



  -- 

  *Sébastien Piquemal*

  -----* @sebpiq*
  ----- http://github.com/sebpiq
  ----- http://funktion.fm
  —
    Reply to this email directly or view
      it on GitHub.

@sebpiq
Copy link
Owner

sebpiq commented Aug 22, 2015

Ok ... that's an old version of rhizome, and the changelog actually says
that 0.6.1 had a bug with "WebSocket client useCookies".

I recommend to try to reinstall it, first uinstall with :

npm uninstall -g rhizome-server

then install either the
last published version with

npm install -g rhizome-server

or install the freshest version from master

npm install -g git://github.com/sebpiq/rhizome.git#master

please tell me if you still have that bug with another version, but you
shouldn't ...

On Sat, Aug 22, 2015 at 1:00 AM, mrdevis notifications@github.com wrote:

oop, and the node version is 0.12.7

On 8/21/2015 11:34 PM, Sebastien
Piquemal wrote:

Hi!
I've had a look, and I couldn't reproduce the problem. Which
version of
node are you using? Also could you send me your config file?
Thanks!

On Fri, Aug 21, 2015 at 9:36 PM, mrdevis
notifications@github.com wrote:

Hi, when opening a webpage with a running server, I get
this::
This is with the latest version, pulled from github

client failed starting : ValidationError: .useCookies :
expected undefined
to be a boolean<<

Have I missed something??

osx 10.10.4

Thanks for a pointer, Jeroen


Reply to this email directly or view it on GitHub
#105.

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

Reply to this email directly or view
it on GitHub.


Reply to this email directly or view it on GitHub
#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

@mrdevis
Copy link
Author

mrdevis commented Aug 23, 2015

Hi,

  Thanks for your help!

  It appeared to be pilot error, assuming pulling from git would
  update everything. Sorry!

  The install works reasonably well now, I tried to access the
  server from several local machines&pads&fons. The only
  connection I am not able to establish is writing from an android
  phone (lollipop). It receives messages from other machines, but
  cannot Submit any.

  Thanks again

  Jeroen


On 22.08.15 08:24, Sebastien Piquemal
  wrote:

Ok ... that's an old version of rhizome, and the
  changelog actually says
  that 0.6.1 had a bug with "WebSocket client useCookies".

  I recommend to try to reinstall it, first uinstall with :

  npm uninstall -g rhizome-server

  then install either the
  last published version with

  npm install -g rhizome-server

  or install the freshest version from master

  npm install -g git://github.com/sebpiq/rhizome.git#master

  please tell me if you still have that bug with another version,
  but you
  shouldn't ...

  On Sat, Aug 22, 2015 at 1:00 AM, mrdevis
  <notifications@github.com> wrote:

  >
  >
  >
  >
  >
  > oop, and the node version is 0.12.7
  >
  >
  >
  >
  > On 8/21/2015 11:34 PM, Sebastien
  > Piquemal wrote:
  >
  > Hi!
  > I've had a look, and I couldn't reproduce the problem. Which
  > version of
  > node are you using? Also could you send me your config file?
  > Thanks!
  >
  > On Fri, Aug 21, 2015 at 9:36 PM, mrdevis
  > <notifications@github.com> wrote:
  >
  > > Hi, when opening a webpage with a running server, I get
  > this::
  > > This is with the latest version, pulled from github
  > >
  > > client failed starting : ValidationError: .useCookies :
  > expected undefined
  > > to be a boolean<<
  > >
  > > Have I missed something??
  > >
  > > osx 10.10.4
  > >
  > > Thanks for a pointer, Jeroen
  > >
  > > —
  > > Reply to this email directly or view it on GitHub
  > > <https://github.com/sebpiq/rhizome/issues/105>.
  > >
  >
  >
  >
  > --
  >
  > *Sébastien Piquemal*
  >
  > -----* @sebpiq*
  > ----- http://github.com/sebpiq
  > ----- http://funktion.fm
  > —
  > Reply to this email directly or view
  > it on GitHub.
  >
  > —
  > Reply to this email directly or view it on GitHub
  >

#105 (comment).
>

  -- 

  *Sébastien Piquemal*

  -----* @sebpiq*
  ----- http://github.com/sebpiq
  ----- http://funktion.fm
  —
    Reply to this email directly or view
      it on GitHub.

@sebpiq
Copy link
Owner

sebpiq commented Aug 23, 2015

I am not able to establish is writing from an android
phone (lollipop). It receives messages from other machines, but
cannot Submit any.

Hmmm this is quite strange. If it receives them, it means it is able to
establish the connection and decode the messages. Therefore sending should
work fine ... I have tried with my android tablet (Android 5.1) on chrome,
and it works fine.

Can you tell me which web page you use to test? Is it your own, or one of
the examples? Also do you have any way to see the error log of your android
phone? Just catching and printing the errors maybe? If there's a bug I'd
really like to find it, so any extra info would be great. Thanks!

On Sun, Aug 23, 2015 at 2:49 PM, mrdevis notifications@github.com wrote:

Hi,

Thanks for your help!

It appeared to be pilot error, assuming pulling from git would
update everything. Sorry!

The install works reasonably well now, I tried to access the
server from several local machines&pads&fons. The only
connection I am not able to establish is writing from an android
phone (lollipop). It receives messages from other machines, but
cannot Submit any.

Thanks again

Jeroen

On 22.08.15 08:24, Sebastien Piquemal
wrote:

Ok ... that's an old version of rhizome, and the
changelog actually says
that 0.6.1 had a bug with "WebSocket client useCookies".

I recommend to try to reinstall it, first uinstall with :

npm uninstall -g rhizome-server

then install either the
last published version with

npm install -g rhizome-server

or install the freshest version from master

npm install -g git://github.com/sebpiq/rhizome.git#master

please tell me if you still have that bug with another version,
but you
shouldn't ...

On Sat, Aug 22, 2015 at 1:00 AM, mrdevis
notifications@github.com wrote:

oop, and the node version is 0.12.7

On 8/21/2015 11:34 PM, Sebastien
Piquemal wrote:

Hi!
I've had a look, and I couldn't reproduce the problem. Which
version of
node are you using? Also could you send me your config file?
Thanks!

On Fri, Aug 21, 2015 at 9:36 PM, mrdevis
notifications@github.com wrote:

Hi, when opening a webpage with a running server, I get
this::
This is with the latest version, pulled from github

client failed starting : ValidationError: .useCookies :
expected undefined
to be a boolean<<

Have I missed something??

osx 10.10.4

Thanks for a pointer, Jeroen


Reply to this email directly or view it on GitHub
#105.

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

Reply to this email directly or view
it on GitHub.


Reply to this email directly or view it on GitHub

#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

Reply to this email directly or view
it on GitHub.


Reply to this email directly or view it on GitHub
#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

@mrdevis
Copy link
Author

mrdevis commented Aug 23, 2015

I am using the example in base/pages

Is the server not having an access log or something (/var/log/...similar??)

I can see the phone registering on the output of the rhizome server when
I open the page, so that's seems to be established. The phone also tells
when it cannot find the server or when it comes back online again. Also,
when opening the page on another machine, that submit will show up on
the phone. Although the 4th repetition will change fontsize to about 2
times as big.

Let me check if I can find a way to get to the log on the phone, I'll
get back to you.

cheers, jeroen

On 8/23/2015 10:23 PM, Sebastien Piquemal wrote:

Can you tell me which web page you use to test? Is it your own, or one of
the examples? Also do you have any way to see the error log of your
android
phone? Just catching and printing the errors maybe? If there's a bug I'd
really like to find it, so any extra info would be great. Thanks!

@sebpiq
Copy link
Owner

sebpiq commented Aug 24, 2015

First, to get the log from rhizome (and if you don't use windows), you can
execute

export DEBUG=rhizome*

before starting the server.

Also, replace examples/base/pages/index.html with this one :
https://www.dropbox.com/s/k6orxx9l0dci00p/index.html?dl=0
I've added some code to log the error when trying to send.

please tell me if you get anything interesting there!

On Mon, Aug 24, 2015 at 12:28 AM, mrdevis notifications@github.com wrote:

I am using the example in base/pages

Is the server not having an access log or something (/var/log/...similar??)

I can see the phone registering on the output of the rhizome server when
I open the page, so that's seems to be established. The phone also tells
when it cannot find the server or when it comes back online again. Also,
when opening the page on another machine, that submit will show up on
the phone. Although the 4th repetition will change fontsize to about 2
times as big.

Let me check if I can find a way to get to the log on the phone, I'll
get back to you.

cheers, jeroen

On 8/23/2015 10:23 PM, Sebastien Piquemal wrote:

Can you tell me which web page you use to test? Is it your own, or one of
the examples? Also do you have any way to see the error log of your
android
phone? Just catching and printing the errors maybe? If there's a bug I'd
really like to find it, so any extra info would be great. Thanks!


Reply to this email directly or view it on GitHub
#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

@mrdevis
Copy link
Author

mrdevis commented Aug 24, 2015

Hi,

  . starting up as proposed, it works out of the box. 
  . then removed DEBUG mode, working fine as well. 
  . put the 'old' index.html in place, unexpectedly works as well! 

  ?

  seems fine now, exactly same setup as yesterday which I tested
  about four times with the same results. 
  Beats me.

  Anyway, thanks for the help!

  cheers, jeroen


On 8/24/2015 8:16 AM, Sebastien
  Piquemal wrote:

First, to get the log from rhizome (and if you don't
  use windows), you can
  execute

  export DEBUG=rhizome*

  *before* starting the server.

  Also, replace *examples/base/pages/index.html* with this one :
  https://www.dropbox.com/s/k6orxx9l0dci00p/index.html?dl=0
  I've added some code to log the error when trying to send.

  please tell me if you get anything interesting there!

  On Mon, Aug 24, 2015 at 12:28 AM, mrdevis
  <notifications@github.com> wrote:

  > I am using the example in base/pages
  >
  > Is the server not having an access log or something
  (/var/log/...similar??)
  >
  > I can see the phone registering on the output of the rhizome
  server when
  > I open the page, so that's seems to be established. The phone
  also tells
  > when it cannot find the server or when it comes back online
  again. Also,
  > when opening the page on another machine, that submit will
  show up on
  > the phone. Although the 4th repetition will change fontsize
  to about 2
  > times as big.
  >
  > Let me check if I can find a way to get to the log on the
  phone, I'll
  > get back to you.
  >
  > cheers, jeroen
  >
  >
  >
  >
  >
  > On 8/23/2015 10:23 PM, Sebastien Piquemal wrote:
  > > Can you tell me which web page you use to test? Is it
  your own, or one of
  > > the examples? Also do you have any way to see the error
  log of your
  > > android
  > > phone? Just catching and printing the errors maybe? If
  there's a bug I'd
  > > really like to find it, so any extra info would be
  great. Thanks!
  >
  > —
  > Reply to this email directly or view it on GitHub
  >

#105 (comment).
>

  -- 

  *Sébastien Piquemal*

  -----* @sebpiq*
  ----- http://github.com/sebpiq
  ----- http://funktion.fm
  —
    Reply to this email directly or view
      it on GitHub.

@sebpiq
Copy link
Owner

sebpiq commented Aug 25, 2015

really??? wow that is strange ... might be because something was cached, so
it was using the old file or something like that ... well glad you got it
working anyways!!! I was getting a bit confused by this bug :)

On Mon, Aug 24, 2015 at 7:25 PM, mrdevis notifications@github.com wrote:

Hi,

. starting up as proposed, it works out of the box.
. then removed DEBUG mode, working fine as well.
. put the 'old' index.html in place, unexpectedly works as well!

?

seems fine now, exactly same setup as yesterday which I tested
about four times with the same results.
Beats me.

Anyway, thanks for the help!

cheers, jeroen

On 8/24/2015 8:16 AM, Sebastien
Piquemal wrote:

First, to get the log from rhizome (and if you don't
use windows), you can
execute

export DEBUG=rhizome*

before starting the server.

Also, replace examples/base/pages/index.html with this one :

https://www.dropbox.com/s/k6orxx9l0dci00p/index.html?dl=0
I've added some code to log the error when trying to send.

please tell me if you get anything interesting there!

On Mon, Aug 24, 2015 at 12:28 AM, mrdevis
notifications@github.com wrote:

I am using the example in base/pages

Is the server not having an access log or something
(/var/log/...similar??)

I can see the phone registering on the output of the rhizome
server when
I open the page, so that's seems to be established. The phone
also tells
when it cannot find the server or when it comes back online
again. Also,
when opening the page on another machine, that submit will
show up on
the phone. Although the 4th repetition will change fontsize
to about 2
times as big.

Let me check if I can find a way to get to the log on the
phone, I'll
get back to you.

cheers, jeroen

On 8/23/2015 10:23 PM, Sebastien Piquemal wrote:

Can you tell me which web page you use to test? Is it
your own, or one of
the examples? Also do you have any way to see the error
log of your
android
phone? Just catching and printing the errors maybe? If
there's a bug I'd
really like to find it, so any extra info would be
great. Thanks!


Reply to this email directly or view it on GitHub

#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

Reply to this email directly or view
it on GitHub.


Reply to this email directly or view it on GitHub
#105 (comment).

Sébastien Piquemal

-----* @sebpiq*
----- http://github.com/sebpiq
----- http://funktion.fm

@sebpiq sebpiq closed this as completed Aug 25, 2015
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

2 participants