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

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

Open
Alexsandr opened this issue Dec 27, 2018 · 0 comments

Comments

@Alexsandr
Copy link

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?

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