gadicc / meteor-headers

Access HTTP headers on both server and client. Client IP with proxy support.
https://atmospherejs.com/gadicohen/headers
GNU Lesser General Public License v3.0
61 stars 21 forks source link

Cannot read 'headerDep' of undefined #9

Closed ciokan closed 10 years ago

ciokan commented 10 years ago
Exception while invoking method 'add_visitor' TypeError: Cannot read property 'headerDep' of undefined
at headerDep (packages/headers/headers-server.js:63)
at Object.headers.get (packages/headers/headers-server.js:75)
at Object.headers.getClientIP (packages/headers/headers-server.js:92)
at server/server.coffee:47:24
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/underscore.js:79)
at Meteor.methods.add_visitor (server/server.coffee:46:24)
at maybeAuditArgumentChecks (packages/livedata/livedata_server.js:1349)
at packages/livedata/livedata_server.js:569
at _.extend.withValue (packages/meteor/dynamics_nodejs.js:35)

I'm on localhost if it helps

gadicc commented 10 years ago

Is there anything useful in this closed issue?

https://github.com/gadicohen/meteor-headers/issues/6

ciokan commented 10 years ago

Nevermind, it's another this issue. My bad.

gadicc commented 10 years ago

Always happy when things aren't my fault :) Happy coding.