Skip to content

IP Addresses are not correctly relayed on DigitalOcean #31

@komninoschatzipapas

Description

@komninoschatzipapas

We have deployed this proxy on a DigitalOcean app as follows (using the one-click install on the Readme of this project):

ingress:
  rules:
  - component:
      name: mixpanel-api-proxy
    match:
      path:
        prefix: /api/t
services:
- dockerfile_path: ./Dockerfile
  git:
    branch: master
    repo_clone_url: https://github.com/mixpanel/tracking-proxy.git
  http_port: 80
  instance_count: 1
  instance_size_slug: apps-s-1vcpu-1gb
  name: mixpanel-api-proxy

Unfortunately, our events on Mixpanel now show with Country and City as (not set). We have double checked to ensure IP tracking is enabled on our Mixpanel.js setup.

If this helps, we know that DigitalOcean sends the end user's IP as the do-connecting-ip header on requests through the App platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions