Skip to content

Error while registering device #7

@d4mn

Description

@d4mn

I got this error
Failed to register package 'com.instagram.android': Out of bounds vec access: invalid index 1 #0 /var/www/flib/messaging/realtime/delivery/RealtimeDeliveryAuth.php(35): RealtimeDeliveryAuth::genSetLoginStateFromInstagramAuthToken() #1 /var/www/flib/messaging/realtime/delivery/RealtimeDeliveryAuth.php(13): RealtimeDeliveryAuth::genSetAuthFromUserIDAndSessionInfo() #2 /var/www/flib/messaging/realtime/RealtimeDeliveryHandler.php(61): RealtimeDeliveryAuth::genSetAuthFromEndpointState() #3 /var/www/flib/__generated__/ThriftMeerkatStep/fbcode/rtgw/v2/extif/delivery.thrift/RealtimeDeliveryBackend.php(426): RealtimeDeliveryHandler->sendRealtimeDeliveryRequest() #4 /var/www/flib/thrift/core/ThriftAsyncProcessor.php(38): RealtimeDeliveryBackendAsyncProcessorBase->process_sendRealtimeDeliveryRequest() #5 /var/www/flib/thrift/servers/base/ThriftServer.php(364): ThriftAsyncProcessor->processAsync() #6 /var/www/flib/alite/x/controller/thrift/XThriftControllerBaseTrait.php(41): ThriftServer->genHandleHTTPRequest() #7 /var/www/flib/alite/x/controller/thrift/XThriftBridgeController.php(34): XThriftController->genThriftResponse() #8 /var/www/flib/init/routing/ZeusGodOfThunderAlite.php(226): XThriftBridgeController->genResponse() #9 /var/www/flib/attribution/AttributionEdge.php(83): Closure$ZeusGodOfThunderAlite::genMain#4() #10 /var/www/flib/gates/turbo/context/BaseTurboGatesContext.php(262): AttributionEdge::runWithDeferredAttributionResolution() #11 /var/www/flib/init/routing/ZeusGodOfThunderAlite.php(227): BaseTurboGatesContext->genRunWithoutCatching() #12 /var/www/flib/init/zeusgodofthunder/__entrypoint.php(118): ZeusGodOfThunderAlite->genMain() #13 /var/www/flib/init/zeusgodofthunder/__entrypoint.php(53): ZeusGodOfThunderEntryPoint::genMain() #14 (): gen_zeusgodofthunder_main() #15 (): Closure$__SystemLib\enter_async_entry_point() #16 (): HH\Asio\join() #17 (): __SystemLib\enter_async_entry_point() #18 {main}
My register functoion:
$client->register(Constants::PACKAGE_NAME, Constants::FACEBOOK_ANALYTICS_APPLICATION_ID) ->then(static function (Registration $registration) { $this->_logger->info('Received a non-empty token.' . $registration->getToken()); $this->emit('fbns_token', [$registration->getToken()]); })->otherwise(static function ($e) { $this->_logger->error($e); });
Any ideas what can be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions