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

Can't get network connection in iOS 16 #6

Open
AiGener8d opened this issue Aug 13, 2023 · 0 comments
Open

Can't get network connection in iOS 16 #6

AiGener8d opened this issue Aug 13, 2023 · 0 comments

Comments

@AiGener8d
Copy link

I've compiled this application both with and without Hermes for iOS, but can't get a network connection. I'm not getting any errors in metro, but here's my console output:

flipper: FlipperClient::addPlugin Inspector
flipper: FlipperClient::addPlugin Preferences
flipper: FlipperClient::addPlugin React
flipper: FlipperClient::addPlugin Network
2023-08-12 22:21:21.339996-0500 SpotifyClone[34469:342742] [native] Running application SpotifyClone ({
initialProps = {
};
rootTag = 1;
})
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0812 22:21:21.350522 121028608 Inspector.cpp:126] Inspector::Inspector transitioning to initial state RunningDetached
Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
PID: 34469, TID: 342742
Backtrace

3 SpotifyClone 0x000000010812962b -[_RCTSRRunLoopThread runLoop] + 43
4 SpotifyClone 0x000000010812936b __49+[NSRunLoop(RCTSRWebSocket) RCTSR_networkRunLoop]_block_invoke + 123
5 libdispatch.dylib 0x000000010b4d27ec _dispatch_client_callout + 8
6 libdispatch.dylib 0x000000010b4d3e85 _dispatch_once_callout + 66
7 SpotifyClone 0x00000001081292be +[NSRunLoop(RCTSRWebSocket) RCTSR_networkRunLoop] + 78
8 SpotifyClone 0x0000000108122b6e -[RCTSRWebSocket _connect] + 78
9 SpotifyClone 0x000000010812177e -[RCTSRWebSocket open] + 334
10 SpotifyClone 0x00000001081007ed -[RCTReconnectingWebSocket start] + 173
11 SpotifyClone 0x00000001080ece44 -[RCTPackagerConnection init] + 356
12 SpotifyClone 0x00000001080eccc4 __49+[RCTPackagerConnection sharedPackagerConnection]_block_invoke + 36
13 libdispatch.dylib 0x000000010b4d27ec _dispatch_client_callout + 8
14 libdispatch.dylib 0x000000010b4d3e85 _dispatch_once_callout + 66
15 SpotifyClone 0x00000001080ecc6e +[RCTPackagerConnection sharedPackagerConnection] + 78
16 SpotifyClone 0x000000010819d865 -[RCTDevSettings setBridge:] + 133
17 Foundation 0x00007ff800b842b2 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 315
18 SpotifyClone 0x00000001080d6bca -[RCTModuleData setBridgeForInstance] + 490
19 SpotifyClone 0x00000001080d66de -[RCTModuleData setUpInstanceAndBridge:] + 2334
20 SpotifyClone 0x00000001080d85dd -[RCTModuleData instance] + 1405
21 SpotifyClone 0x000000010807f3fc -[RCTCxxBridge moduleForName:lazilyLoadIfNecessary:] + 812
22 SpotifyClone 0x000000010807f8e0 -[RCTCxxBridge moduleForClass:] + 80
23 SpotifyClone 0x00000001081a0d22 -[RCTBridge(RCTDevSettings) devSettings] + 82
24 SpotifyClone 0x00000001081af3a8 -[RCTPerfMonitor devMenuItem] + 120
25 SpotifyClone 0x00000001081af234 -[RCTPerfMonitor setBridge:] + 148
26 Foundation 0x00007ff800b842b2 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 315
27 SpotifyClone 0x00000001080d6bca -[RCTModuleData setBridgeForInstance] + 490
28 SpotifyClone 0x00000001080d66de -[RCTModuleData setUpInstanceAndBridge:] + 2334
29 SpotifyClone 0x00000001080d88a7 __25-[RCTModuleData instance]_block_invoke + 39
30 SpotifyClone 0x000000010814b808 RCTUnsafeExecuteOnMainQueueSync + 56
31 SpotifyClone 0x00000001080d841f -[RCTModuleData instance] + 959
32 SpotifyClone 0x0000000108084985 __49-[RCTCxxBridge _prepareModulesWithDispatchGroup:]_block_invoke + 181
33 libdispatch.dylib 0x000000010b4d154f _dispatch_call_block_and_release + 12
34 libdispatch.dylib 0x000000010b4d27ec _dispatch_client_callout + 8
35 libdispatch.dylib 0x000000010b4e37e9 _dispatch_main_queue_drain + 1725
36 libdispatch.dylib 0x000000010b4e311e _dispatch_main_queue_callback_4CF + 31
37 CoreFoundation 0x00007ff8003b26cc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
38 CoreFoundation 0x00007ff8003acfbe __CFRunLoopRun + 2429
39 CoreFoundation 0x00007ff8003ac264 CFRunLoopRunSpecific + 560
40 GraphicsServices 0x00007ff809b4024e GSEventRunModal + 139
41 UIKitCore 0x0000000118d337bf -[UIApplication _run] + 994
42 UIKitCore 0x0000000118d385de UIApplicationMain + 123
43 SpotifyClone 0x0000000107b03eb8 main + 104
I0812 22:21:22.207208 121028608 Inspector.cpp:490] received didPause for reason: 0 in state: RunningDetached
2023-08-12 22:21:22.584842-0500 SpotifyClone[34469:342950] [connection] nw_socket_handle_socket_event [C5.1.1:1] Socket SO_ERROR [61: Connection refused]
2023-08-12 22:21:22.588677-0500 SpotifyClone[34469:342950] [connection] nw_socket_handle_socket_event [C5.1.2:1] Socket SO_ERROR [61: Connection refused]
2023-08-12 22:21:22.592163-0500 SpotifyClone[34469:342981] [connection] nw_connection_get_connected_socket_block_invoke [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2023-08-12 22:21:22.592611-0500 SpotifyClone[34469:342981] TCP Conn 0x600002cd52c0 Failed : error 0:61 [61]
2023-08-12 22:21:22.945498-0500 SpotifyClone[34469:342973] [javascript] Running "SpotifyClone" with {"rootTag":1,"initialProps":{}}
Destroying player
2023-08-12 22:21:23.594073-0500 SpotifyClone[34469:342947] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001b9a1e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2023-08-12 22:21:24.293941-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.294226-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.294474-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.294860-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.295078-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_connected_local_endpoint_block_invoke [C8] Client called nw_connection_copy_connected_local_endpoint on unconnected nw_connection
2023-08-12 22:21:24.295300-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_connected_remote_endpoint_block_invoke [C8] Client called nw_connection_copy_connected_remote_endpoint on unconnected nw_connection
2023-08-12 22:21:24.295693-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_connected_path_block_invoke [C8] Client called nw_connection_copy_connected_path on unconnected nw_connection
2023-08-12 22:21:24.300960-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.301808-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_protocol_metadata_internal_block_invoke [C8] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection
2023-08-12 22:21:24.302139-0500 SpotifyClone[34469:342947] [connection] nw_flow_add_write_request [C8 api.spotify.com:443 failed parent-flow (satisfied (Path is satisfied), interface: en2[802.11])] cannot accept write requests
2023-08-12 22:21:24.302499-0500 SpotifyClone[34469:342947] [connection] nw_write_request_report [C8] Send failed with error "Socket is not connected"
2023-08-12 22:21:24.303267-0500 SpotifyClone[34469:342947] [connection] nw_connection_copy_metadata_block_invoke [C8] Client called nw_connection_copy_metadata on unconnected nw_connection

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