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

methodGet returns "undefined" on some hosts #47

Open
Paku- opened this issue Jan 15, 2016 · 0 comments
Open

methodGet returns "undefined" on some hosts #47

Paku- opened this issue Jan 15, 2016 · 0 comments

Comments

@Paku-
Copy link

Paku- commented Jan 15, 2016

Hi,
It seems

    var clientIP = headers.methodGet(this, 'x-forwarded-for');

returns

    undefined

value on RedHat OpenShift hosts for some reason while on other hosts (or on my dev machine) it gives proper IPs (for the same meteor app). Problem is not node version dependent as well.

What's more

Template.clientHeaders.helpers({
    headers : function() {
        return JSON.stringify(headers.get(), null, 2);
    }

});

runs well on the client side ...

PS. Could be the proxy chain is to long ?

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