Post

Replies

Boosts

Views

Activity

APNS Http/2 estabilsh issue with C#
Hello, I Have trouble when sending push notification to apns sandbox environment. I use dotnet 6 and use below sand box host port. const string APNS_SANDBOX_HOST = "api.sandbox.push.apple.com"; const uint APNS_SANDBOX_PORT = 443; After few minutes after publish code, below error is shown. System.Net.Http.HttpRequestException: An HTTP/2 connection could not be established because the server did not complete the HTTP/2 handshake. at System.Net.Http.HttpConnectionPool.ReturnHttp2Connection(Http2Connection connection, Boolean isNewConnection) at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(HttpRequestMessage request) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result) at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _) at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() It looks like problem related to http/2 connection, but i can not find the reason anywhere. How could I fix it? thank you.
0
0
782
Mar ’23
ASDErrorDomain Code = 1208, How can I fix it?
I Have error below while testing SKAdnetwork NSAdvertisingAttributionReportEndpoint. apple docs StoreKitServiceConnection(909): Error updating install attribution conversion value: Error Domain=ASDErrorDomain Code=1208 "SKAdNetwork: No pingbacks found while attempting to register/update." UserInfo={NSLocalizedDescription=SKAdNetwork: No pingbacks found while attempting to register/update.} storekitd How can I fix it?
0
0
1.4k
Dec ’22
Having a problem while Testing SKAdnetwork
Hello, I have 3 questions. According to specification, it says to ignore subdomain, but if there is subdomain as follows, does it mean that SKADNetwork did not send postback? ex) test1.example.com. https://developer.apple.com/documentation/bundleresources/information_property_list/nsadvertisingattributionreportendpoint We conducted the test through the SKADNetwork test framework according to specifications, but the postback was not sent to our server. In addition, we tried to check whether SKADNetwork was working properly through advertisements directly on publisher apps and advertiser apps, but postbacks were not sent to our servers. How can I check in this case? Also, there is error log below testing with SKAdTestSession SKANTestabilitySample[14079:188474] [SKAdTestSession] Error fetching remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.storekit.configuration.xpc" UserInfo={NSDebugDescription=connection to service named com.apple.storekit.configuration.xpc} References: https://developer.apple.com/documentation/storekittest/testing_and_validating_ad_impression_signatures_and_postbacks_for_skadnetwork Do I have to sign a contract with Apple to get a postback of SKAD Network Attribution Report?
0
0
1.1k
Dec ’22
SKAdTestSession Error
Hello, I Have bug while testing SKAdTestSession below error occurred when call SKAdTestSession.setPostbacks and SKAdTestSession.updatePostbackConversionValue. How can I fix it?? Xcode : Version 14.0 (14A309) Test Device : Version 14.0 (986.3), SimulatorKit 624, CoreSimulator 857.7, iPhone 13 Pro, iOS 16.0 <NSXPCConnection: 0x600000b20320> connection from pid 16227 on mach service named com.apple.storekit.configuration.xpc: Warning: Exception caught during invocation of selector sendTestPingbackForBundleID:completion:, dropping incoming message and invalidating the connection. Exception: -[StoreKitTestingService sendTestPingbackForBundleID:completion:]: unrecognized selector sent to instance 0x600003824150 -[StoreKitTestingService sendTestPingbackForBundleID:completion:]: unrecognized selector sent to instance 0x600003824150 ( 0   CoreFoundation                      0x000000018040c304 __exceptionPreprocess + 172 1   libobjc.A.dylib                     0x000000018005131c objc_exception_throw + 56 2   CoreFoundation                      0x000000018041afbc +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3   CoreFoundation                      0x000000018040ffcc ___forwarding___ + 740 4   CoreFoundation                      0x000000018041268c _CF_forwarding_prep_0 + 92 5   Foundation                          0x0000000180cadca4 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S2__ + 12 6   Foundation                          0x0000000180cac9e0 -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1588 7   Foundation                          0x0000000180caeab0 message_handler_message + 84 8   Foundation                          0x0000000180cae03c message_handler + 148 9   libxpc.dylib                        0x0000000180088404 _xpc_connection_call_event_handler + 68 10  libxpc.dylib                        0x00000001800887c4 _xpc_connection_mach_event + 904 11  libdispatch.dylib                   0x000000018013581c _dispatch_client_callout4 + 16 12  libdispatch.dylib                   0x0000000180153f20 _dispatch_mach_msg_invoke + 624 13  libdispatch.dylib                   0x000000018013d648 _dispatch_lane_serial_drain + 348 14  libdispatch.dylib                   0x0000000180154fec _dispatch_mach_invoke + 468 15  libdispatch.dylib                   0x000000018013d648 _dispatch_lane_serial_drain + 348 16  libdispatch.dylib                   0x000000018013e474 _dispatch_lane_invoke + 448 17  libdispatch.dylib                   0x000000018014a624 _dispatch_workloop_worker_thread + 772 18  libsystem_pthread.dylib             0x00000001ae55eb40 _pthread_wqthread + 284 19  libsystem_pthread.dylib             0x00000001ae55d904 start_wqthread + 8 )
0
0
867
Dec ’22
APNS Http/2 estabilsh issue with C#
Hello, I Have trouble when sending push notification to apns sandbox environment. I use dotnet 6 and use below sand box host port. const string APNS_SANDBOX_HOST = "api.sandbox.push.apple.com"; const uint APNS_SANDBOX_PORT = 443; After few minutes after publish code, below error is shown. System.Net.Http.HttpRequestException: An HTTP/2 connection could not be established because the server did not complete the HTTP/2 handshake. at System.Net.Http.HttpConnectionPool.ReturnHttp2Connection(Http2Connection connection, Boolean isNewConnection) at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(HttpRequestMessage request) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult() at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Threading.Tasks.Task`1.TrySetResult(TResult result) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining) at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result) at System.Net.Security.SslStream.<FillHandshakeBufferAsync>g__InternalFillHandshakeBufferAsync|189_0[TIOAdapter](TIOAdapter adap, ValueTask`1 task, Int32 minSize) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _) at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() It looks like problem related to http/2 connection, but i can not find the reason anywhere. How could I fix it? thank you.
Replies
0
Boosts
0
Views
782
Activity
Mar ’23
ASDErrorDomain Code = 1208, How can I fix it?
I Have error below while testing SKAdnetwork NSAdvertisingAttributionReportEndpoint. apple docs StoreKitServiceConnection(909): Error updating install attribution conversion value: Error Domain=ASDErrorDomain Code=1208 "SKAdNetwork: No pingbacks found while attempting to register/update." UserInfo={NSLocalizedDescription=SKAdNetwork: No pingbacks found while attempting to register/update.} storekitd How can I fix it?
Replies
0
Boosts
0
Views
1.4k
Activity
Dec ’22
Having a problem while Testing SKAdnetwork
Hello, I have 3 questions. According to specification, it says to ignore subdomain, but if there is subdomain as follows, does it mean that SKADNetwork did not send postback? ex) test1.example.com. https://developer.apple.com/documentation/bundleresources/information_property_list/nsadvertisingattributionreportendpoint We conducted the test through the SKADNetwork test framework according to specifications, but the postback was not sent to our server. In addition, we tried to check whether SKADNetwork was working properly through advertisements directly on publisher apps and advertiser apps, but postbacks were not sent to our servers. How can I check in this case? Also, there is error log below testing with SKAdTestSession SKANTestabilitySample[14079:188474] [SKAdTestSession] Error fetching remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.storekit.configuration.xpc" UserInfo={NSDebugDescription=connection to service named com.apple.storekit.configuration.xpc} References: https://developer.apple.com/documentation/storekittest/testing_and_validating_ad_impression_signatures_and_postbacks_for_skadnetwork Do I have to sign a contract with Apple to get a postback of SKAD Network Attribution Report?
Replies
0
Boosts
0
Views
1.1k
Activity
Dec ’22
SKAdTestSession Error
Hello, I Have bug while testing SKAdTestSession below error occurred when call SKAdTestSession.setPostbacks and SKAdTestSession.updatePostbackConversionValue. How can I fix it?? Xcode : Version 14.0 (14A309) Test Device : Version 14.0 (986.3), SimulatorKit 624, CoreSimulator 857.7, iPhone 13 Pro, iOS 16.0 <NSXPCConnection: 0x600000b20320> connection from pid 16227 on mach service named com.apple.storekit.configuration.xpc: Warning: Exception caught during invocation of selector sendTestPingbackForBundleID:completion:, dropping incoming message and invalidating the connection. Exception: -[StoreKitTestingService sendTestPingbackForBundleID:completion:]: unrecognized selector sent to instance 0x600003824150 -[StoreKitTestingService sendTestPingbackForBundleID:completion:]: unrecognized selector sent to instance 0x600003824150 ( 0   CoreFoundation                      0x000000018040c304 __exceptionPreprocess + 172 1   libobjc.A.dylib                     0x000000018005131c objc_exception_throw + 56 2   CoreFoundation                      0x000000018041afbc +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3   CoreFoundation                      0x000000018040ffcc ___forwarding___ + 740 4   CoreFoundation                      0x000000018041268c _CF_forwarding_prep_0 + 92 5   Foundation                          0x0000000180cadca4 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S2__ + 12 6   Foundation                          0x0000000180cac9e0 -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1588 7   Foundation                          0x0000000180caeab0 message_handler_message + 84 8   Foundation                          0x0000000180cae03c message_handler + 148 9   libxpc.dylib                        0x0000000180088404 _xpc_connection_call_event_handler + 68 10  libxpc.dylib                        0x00000001800887c4 _xpc_connection_mach_event + 904 11  libdispatch.dylib                   0x000000018013581c _dispatch_client_callout4 + 16 12  libdispatch.dylib                   0x0000000180153f20 _dispatch_mach_msg_invoke + 624 13  libdispatch.dylib                   0x000000018013d648 _dispatch_lane_serial_drain + 348 14  libdispatch.dylib                   0x0000000180154fec _dispatch_mach_invoke + 468 15  libdispatch.dylib                   0x000000018013d648 _dispatch_lane_serial_drain + 348 16  libdispatch.dylib                   0x000000018013e474 _dispatch_lane_invoke + 448 17  libdispatch.dylib                   0x000000018014a624 _dispatch_workloop_worker_thread + 772 18  libsystem_pthread.dylib             0x00000001ae55eb40 _pthread_wqthread + 284 19  libsystem_pthread.dylib             0x00000001ae55d904 start_wqthread + 8 )
Replies
0
Boosts
0
Views
867
Activity
Dec ’22