Admob ios 11 handshake issue

Admob ios 11 handshake issue
0.0 0

#1

I am trying to use Admob plugin but i’ve got an following errors:

2017-12-31 14:50:05.026589+0500 cyber-vortex-mobile[4091:1582149] [BoringSSL] Function nw_protocol_boringssl_handshake_negotiate_proceed: line 387 Handshake failed. Disconnecting the session
2017-12-31 14:50:06.177171+0500 cyber-vortex-mobile[4091:1582145] TIC TCP Conn Failed [1:0x1c416bb80]: 3:-9800 Err(-9800)
2017-12-31 14:50:06.177344+0500 cyber-vortex-mobile[4091:1582145] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9800)
2017-12-31 14:50:06.177378+0500 cyber-vortex-mobile[4091:1582145] Task .<0> HTTP load failed (error code: -1200 [3:-9800])
2017-12-31 14:50:06.178220+0500 cyber-vortex-mobile[4091:1582112] NSURLConnection finished with error - code -1200

My applicationDidFinishLaunching code:

...
#if CC_PLATFORM_IOS
    sdkbox::PluginAdMob::init();
    sdkbox::PluginAdMob::cache("gameover");
#endif

return true;

In my sdkbox_config.json i have the

"ios": {
    "AdMob": {
      "test": true,
      "ads": {
        "gameover": {
          "type": "banner",
          "id": "--MY-ID--",
          "alignment": "center"
        }
      }
    }
  }

#2

maybe http://docs.sdkbox.com/en/plugins/admob/v3-cpp/#disable-app-transport-security


#3

Seeing the similar problem. Ads were working before but recently stopped working.

I have NSAppTransportSecurity set in a .plist file

Here is some logs:

AppDelegate::applicationDidFinishLaunching(), SDKBOX_ENABLED = TRUE
2018-01-02 21:04:50.005060+0200 GAME_NAME[1427:730982] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-01-02 21:04:50.006233+0200 GAME_NAME[1427:730982] [MC] Reading from public effective user settings.
2018-01-02 21:04:50.652067+0200 GAME_NAME[1427:730982] [MC] Lazy loading NSBundle MobileCoreServices.framework
2018-01-02 21:04:50.657167+0200 GAME_NAME[1427:730982] [MC] Loaded MobileCoreServices.framework
2018-01-02 21:04:51.271223+0200 GAME_NAME[1427:731244] <Google> Ignoring request. Another request is already in progress.

And:

2018-01-02 21:04:53.378663+0200 GAME_NAME[1427:731245] [BoringSSL] Function nw_protocol_boringssl_handshake_negotiate_proceed: line 387 Handshake failed. Disconnecting the session
2018-01-02 21:04:53.624561+0200 GAME_NAME[1427:731242] TIC TCP Conn Failed [1:0x1c01765c0]: 3:-9800 Err(-9800)
2018-01-02 21:04:54.833434+0200 GAME_NAME[1427:731287] TIC TCP Conn Failed [5:0x1c4175240]: 3:-9800 Err(-9800)
2018-01-02 21:04:55.367240+0200 GAME_NAME[1427:731242] TIC TCP Conn Failed [6:0x1c4177580]: 3:-9800 Err(-9800)
2018-01-02 21:04:55.367472+0200 GAME_NAME[1427:731242] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9800)
2018-01-02 21:04:55.367610+0200 GAME_NAME[1427:731242] Task <A2775CC8-14DB-4948-99CE-08D736525AE5>.<0> HTTP load failed (error code: -1200 [3:-9800])
2018-01-02 21:04:55.367757+0200 GAME_NAME[1427:731287] NSURLConnection finished with error - code -1200

#4

which plugin version u use?


#5

Apparently, admob fails to load only when the internet connection is slow.

cocos2d-x 3.13.1

SDKBOX Inc. v1.0.1.30
installed packages:
v2.3.17.3 sdkboxads
v2.3.17.3 chartboost
v2.3.17.3 admob
v2.3.17.3 googleplayservices


#6

So, this issue is network related. Or It’s not a issue.


#7

Should be network related.