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?