Skip to content

cURL response "upstream connect error or disconnect\/reset before headers" #46

@Alexsandr

Description

@Alexsandr

Hi,
I sometimes have a problem when I want to create an alias for a user.

$mp = Mixpanel::getInstance("MIXPANEL_PROJECT_TOKEN", [
        'error_callback' => function($code, $msg){},
        'connect_timeout' => 20
    ]);
$mp->createAlias($distinct_id, $user_id);
$mp->flush();

In my function error_callback, the data comes in "code: 0; msg: upstream connect error or disconnect/reset before headers".

Does this problem affect my server or api.mixpanel.com? How to solve this problem for me?

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