Skip to content

Server doesn't seem to be collecting hits #12

@bayreporta

Description

@bayreporta

So I followed all the instructions you have available to install pixel-ping on a server. When I run pixel-ping on the command line, it goes through the flush as intended. However, there never seems to be any data.

I cant experiment on port 80 because I get a Uncaught Exception: Error: listen EADDRINUSE 107.170.210.56:80 which I assume is cause Apache is running on that same port. So I used Port 9817 in the config like in the example provided in documentation. I have a pixel.gif in the html root of the server.

Also tried to troubleshoot inside the code, and I don't ever seem to get any data from the server or record objects. FWIW, here is a log of server after it initializes:

Server { domain: null, _events: { request: [Function], connection: [Function: connectionListener] }, _eventsCount: 2, _maxListeners: undefined, _connections: 0, _handle: null, _usingSlaves: false, _slaves: [], _unref: false, allowHalfOpen: true, pauseOnConnect: false, httpAllowHalfOpen: false, timeout: 120000, keepAliveTimeout: 5000, _pendingResponseData: 0, maxHeadersCount: null, [Symbol(asyncId)]: -1 }

I'm super green to node.js so I'm trying to learn all this as I go. Any help would be appreciated. Thanks.

Ubuntu 16.04 - Apache2 - Node 8.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions