GPGS: Unexpected response code: 500 when loading data - connection

I am using google play game services to set up the multiplayer for a game that I am developing but am having some issues testing it on two devices. On the device with my account, everything works fine. On my test device with a test account, I get the "java.io.IOException: Unexpected response code: 500" error. Here is the full error:
11-15 15:13:37.688: E/FileDownloader(817): Error downloading: EntrySpec[43]
11-15 15:13:37.688: E/FileDownloader(817): java.io.IOException: Unexpected response code: 500
11-15 15:13:37.688: E/FileDownloader(817): at com.google.android.gms.drive.metadata.sync.syncadapter.a.f.a(SourceFile:232)
11-15 15:13:37.688: E/FileDownloader(817): at com.google.android.gms.drive.metadata.sync.syncadapter.a.f.a(SourceFile:69)
11-15 15:13:37.688: E/FileDownloader(817): at com.google.android.gms.drive.metadata.sync.syncadapter.a.g.run(SourceFile:344)
11-15 15:13:37.688: E/FileDownloader(817): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
11-15 15:13:37.688: E/FileDownloader(817): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
11-15 15:13:37.688: E/FileDownloader(817): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
11-15 15:13:37.688: E/FileDownloader(817): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
11-15 15:13:37.688: E/FileDownloader(817): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
11-15 15:13:37.688: E/FileDownloader(817): at java.lang.Thread.run(Thread.java:856)
Since saving and loading works fine on my device, I figured that the issue must be with the way I configured the app in the Google console. I have the test email added under testing (Developer Console -> Game Services -> Click on app (says ready to be tested) -> Go to testing -> add email) and I don't think there is anything else that needs to be configured. The user with the test email can login but cannot save and load.
I am not sure what the problem is or how to debug this issue further. Any suggestions would be appreciated.

Related

WARNING hook before_worker_boot failed with exception (Redis::CannotConnectError) getaddrinfo_a: System error

I keep getting this error while trying to start rails in docker.
2023-02-15 13:42:52 [54] WARNING hook before_worker_boot failed with exception (Redis::CannotConnectError) getaddrinfo_a: System error
2023-02-15 13:42:52 [55] WARNING hook before_worker_boot failed with exception (Redis::CannotConnectError) getaddrinfo_a: System error
2023-02-15 13:42:52 [51] WARNING hook before_worker_boot failed with exception (Redis::CannotConnectError) getaddrinfo_a: System error
("GET /csc108/admin" - (172.27.0.1)): #<Redis::CannotConnectError: getaddrinfo_a: System error>
However, it worked for a few times with the same procedure.
I tried to rebuild the image and restart the container

Connection Errors on Initializing Spotify on iOS?

I have been struggling with implementing the Spotify iOS SDK in a simple music player app I’m working on with the intention of learning more about the streaming platform’s API. My app’s features are storyboard-based and have simple functionality (i.e. connect/disconnect, pause/play, fast forward/rewind, fetch album artwork)
I modeled my authorization method off of the demo project SPTLoginSampleAppSwift, and have been trying to troubleshoot the errors I’m getting (I’ll paste them below).
After a few weeks of struggling with this API, I decided to run the demo project on my device and realized that it does not seem to function properly either. Does anyone know how I can fix these errors and successfully initiate Spotify functionality in my app? I’m quite frustrated and would really appreciate any advice. I'm including my repo below as well.
https://github.com/dglaser2/SpotifyPlayer
ERRORS:
Upon clicking connect:
-canOpenURL: failed for URL: "spotify:" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
Upon returning to app after authorization screen:
2021-01-07 16:59:16.775788-0500 SpotifyPlayerDavid[39554:3692500] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
2021-01-07 16:59:16.907970-0500 SpotifyPlayerDavid[39554:3688560] AppRemote: Connecting...
2021-01-07 16:59:16.921229-0500 SpotifyPlayerDavid[39554:3692500] [connection] nw_socket_handle_socket_event [C2.1:1] Socket SO_ERROR [61: Connection refused]
2021-01-07 16:59:16.923633-0500 SpotifyPlayerDavid[39554:3692500] [connection] nw_socket_handle_socket_event [C2.2:1] Socket SO_ERROR [61: Connection refused]
2021-01-07 16:59:16.926122-0500 SpotifyPlayerDavid[39554:3691493] [connection] nw_connection_get_connected_socket [C2] Client called nw_connection_get_connected_socket on unconnected nw_connection
2021-01-07 16:59:16.926941-0500 SpotifyPlayerDavid[39554:3691493] TCP Conn 0x600002b6c0b0 Failed : error 0:61 [61]
2021-01-07 16:59:16.928526-0500 SpotifyPlayerDavid[39554:3688560] AppRemote: Failed connection attempt with error: Error Domain=com.spotify.app-remote.transport Code=-2000 "Stream error." UserInfo={NSLocalizedDescription=Stream error., NSUnderlyingError=0x600001228f00 {Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSLocalizedRecoverySuggestion=Reconnect the transport to the Spotify app., NSLocalizedFailureReason=A stream error has occured in the transport.

AdMob bannerView not showing after following the docs

I'm trying to show ads in my app, and I have chosen AdMob. I have done everything as they wrote in the docs.
I added this to the AppDelegate:
GADMobileAds.sharedInstance().start(completionHandler: nil)
I also added this code to the viewDidLoad:
override func viewDidLoad() {
super.viewDidLoad()
setUpView()
adBannerView.adUnitID = "ca-app-pub-3940256099942544/2934735716"
adBannerView.rootViewController = self
adBannerView.load(GADRequest())
}
The adBannerView is a UIView in main.storyboard that has GADBannerView as subclass (also, it's connected via #IBOutlet.)
But, the ad isn't showing in the simulator. I get this error message every so often (prob when it refreshes)
2020-10-05 19:36:47.683540+0200 Learn Chemistry[38879:1067024] WF: _userSettingsForUser : (null)
2020-10-05 19:36:47.683687+0200 Learn Chemistry[38879:1067024] WF: _WebFilterIsActive returning: NO
2020-10-05 19:36:50.123788+0200 Learn Chemistry[38879:1067024] [Process] 0x7fd3fe019420 - [pageProxyID=31, webPageID=32, PID=39055] WebPageProxy::didFailProvisionalLoadForFrame: frameID = 3, domain = NSURLErrorDomain, code = -1200
2020-10-05 19:36:50.164032+0200 Learn Chemistry[38879:1067024] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}>
2020-10-05 19:36:50.164192+0200 Learn Chemistry[38879:1067024] [ProcessSuspension] 0x147efe1c0 - ProcessAssertion: Failed to acquire RBS Background assertion 'WebProcess Background Assertion' for process with PID 39055, error: Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}
2020-10-05 19:36:50.174754+0200 Learn Chemistry[38879:1067024] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2020-10-05 19:36:50.174900+0200 Learn Chemistry[38879:1067024] [ProcessSuspension] 0x147efe240 - ProcessAssertion: Failed to acquire RBS Background assertion 'WebProcess Background Assertion' for process with PID 39055, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
2020-10-05 19:37:20.127313+0200 Learn Chemistry[38879:1067024] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Is there anything I did wrong?
thank you.
BSM

Application stop suddenly and getting NSURLErrorDomain error

I am using IOS 13.3 and my application stop suddenly after 6 month.
I have checked my certificate and found no issue in certificate.
i am getting the following error.
NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9816)
2020-04-17 01:38:14.778140+0530 Example[38000:704335] Task <71350D43-9801-46F2-9F9E-333AF09964CE>.<1> HTTP load failed (error code: -1200 [3:-9816])
2020-04-17 01:38:14.779009+0530 Example[38000:704332] Task <71350D43-9801-46F2-9F9E-333AF09964CE>.<1> finished with error - code: -1200
2020-04-17 01:38:14.782985+0530 Example[38000:704332] Task <71350D43-9801-46F2-9F9E-333AF09964CE>.<1> load failed with error Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSErrorFailingURLStringKey=https://api.example.com:1410/v1.1/users/signin, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, kCFStreamErrorDomainKey=3, NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <71350D43-9801-46F2-9F9E-333AF09964CE>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <71350D43-9801-46F2-9F9E-333AF09964CE>.<1>"
), NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://api.example.com:1410/v1.1/users/signin, NSUnderlyingError=0x600002db3d50 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFNetworkCFStreamSSLErrorOriginalValue=-9816, kCFStreamErrorDomainKey=3, kCFStreamErrorCodeKey=-9816}}, kCFStreamErrorCodeKey=-9816} [-1200]
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made.
Here is the screenshot
I'm not sure how to solve it. Any ideas?
You probably need to reconfigure your SSL certificates. I know for TCP/TLS at least, with iOS 13 they imposed more restrictions on the certificates. I created a package to handle sockets on iOS - I also included a lot of good info about making certificates how you need to now.
https://github.com/eamonwhiter73/IOSObjCWebSockets/tree/master

Apple MusicKit Authorization errors with iOS 12 update

I'm using the Apple MusicKit in my app. I had the authorization setup correctly and everything was working fine for a long time. Recently since the update to iOS 12 I'm seeing these errors
2018-12-02 19:16:46.511567-0500 Project2[30649:3022463] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
2018-12-02 19:16:46.512835-0500 Project2[30649:3022463] SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
2018-12-02 19:16:46.518199-0500 Project2[30649:3022586] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
2018-12-02 19:16:46.518407-0500 Project2[30649:3022586] SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
2018-12-02 19:16:46.524685-0500 Project2[30649:3022586] SSAccountStore: Unable to get the local account. error = Error Domain=SSErrorDomain Code=100 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}
Is anyone else facing the same issue? Is there some change that I'm supposed to make? Or redo the token? I see this asked on the apple developers forum with no response https://forums.developer.apple.com/thread/105635

Resources