Unable to display ads on iOS 15.7.6 and iOS 17.0.1

It cannot display ads when using UnityAds iOS SDK v4.9.2 on iOS 15.7.6 and 17.0.1,
but it can display normally on iOS 14.4.
It also cannot display ads when using the official testing project on Github.
I guess it may not be able to display on iOS 15 or above!
Can you test it?

log:

2023-11-21 21:09:56.843017+0800 test_unityads_492[12772:795857] I/UnityAds: +[UnityServices legacyStart:testMode:delegate:] (line:102) :: Initializing Unity Ads 4.9.2 (4920) with game id 14850 in test mode, session 72AF6B32-5187-4D2E-8283-52CBE6285106

2023-11-21 21:09:56.853629+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVInitializeStateConfig execute] (line:35) ::

=============== USRVInitializeStateConfig =============

2023-11-21 21:09:56.853796+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVInitializeStateConfig executeWithLoader] (line:40) ::

=============== USRVInitializeStateConfig TSI FLOW/ USING LOADER =============

2023-11-21 21:09:56.872482+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVConfigurationRequestFactoryWithLogs requestOfType:] (line:25) :: Configuration Request URL: https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json

2023-11-21 21:09:57.045226+0800 test_unityads_492[12772:796278] [tcp] tcp_input [C1.1:3] flags=[R.] seq=0, ack=2469843115, win=0 state=SYN_SENT rcv_nxt=0, snd_una=2469843114

2023-11-21 21:09:57.047051+0800 test_unityads_492[12772:796278] Connection 1: received failure notification

2023-11-21 21:09:57.047153+0800 test_unityads_492[12772:796278] Connection 1: failed to connect 1:61, reason -1

2023-11-21 21:09:57.047205+0800 test_unityads_492[12772:796278] Connection 1: encountered error(1:61)

2023-11-21 21:09:57.050730+0800 test_unityads_492[12772:796278] Task <40A583E5-3F33-4D01-989B-05FD320DE5FC>.<0> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])

2023-11-21 21:09:57.050906+0800 test_unityads_492[12772:796278] NSURLConnection finished with error - code -1004

2023-11-21 21:10:07.061026+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVInitializeStateConfig execute] (line:35) ::

=============== USRVInitializeStateConfig =============

2023-11-21 21:10:07.061734+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVInitializeStateConfig executeWithLoader] (line:40) ::

=============== USRVInitializeStateConfig TSI FLOW/ USING LOADER =============

2023-11-21 21:10:07.067703+0800 test_unityads_492[12772:796277] I/UnityAds: -[USRVConfigurationRequestFactoryWithLogs requestOfType:] (line:25) :: Configuration Request URL: https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json

2023-11-21 21:10:07.092530+0800 test_unityads_492[12772:796280] [tcp] tcp_input [C2.1:3] flags=[R.] seq=0, ack=422961123, win=0 state=SYN_SENT rcv_nxt=0, snd_una=422961122

2023-11-21 21:10:07.094963+0800 test_unityads_492[12772:796280] Connection 2: received failure notification

2023-11-21 21:10:07.095062+0800 test_unityads_492[12772:796280] Connection 2: failed to connect 1:61, reason -1

2023-11-21 21:10:07.095111+0800 test_unityads_492[12772:796280] Connection 2: encountered error(1:61)

2023-11-21 21:10:07.096451+0800 test_unityads_492[12772:796280] Task <9167078A-1FDB-4030-B604-615B4EE593BB>.<0> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])

2023-11-21 21:10:07.096590+0800 test_unityads_492[12772:796280] NSURLConnection finished with error - code -1004

2023-11-21 21:10:27.099518+0800 test_unityads_492[12772:796280] I/UnityAds: -[USRVInitializeStateConfig execute] (line:35) ::

=============== USRVInitializeStateConfig =============

2023-11-21 21:10:27.099839+0800 test_unityads_492[12772:796280] I/UnityAds: -[USRVInitializeStateConfig executeWithLoader] (line:40) ::

=============== USRVInitializeStateConfig TSI FLOW/ USING LOADER =============

2023-11-21 21:10:27.102466+0800 test_unityads_492[12772:796280] I/UnityAds: -[USRVConfigurationRequestFactoryWithLogs requestOfType:] (line:25) :: Configuration Request URL: https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json

2023-11-21 21:10:27.119095+0800 test_unityads_492[12772:796330] [tcp] tcp_input [C3.1:3] flags=[R.] seq=0, ack=3124603789, win=0 state=SYN_SENT rcv_nxt=0, snd_una=3124603788

2023-11-21 21:10:27.120261+0800 test_unityads_492[12772:796330] Connection 3: received failure notification

2023-11-21 21:10:27.120333+0800 test_unityads_492[12772:796330] Connection 3: failed to connect 1:61, reason -1

2023-11-21 21:10:27.120365+0800 test_unityads_492[12772:796330] Connection 3: encountered error(1:61)

2023-11-21 21:10:27.121326+0800 test_unityads_492[12772:796330] Task <17E1F385-AEAE-421D-9EA7-F48D9A9C695D>.<0> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])

2023-11-21 21:10:27.121528+0800 test_unityads_492[12772:796330] NSURLConnection finished with error - code -1004

The log you attached shows that the device encountered network problems when the SDK was initialized. Can you check whether the network environment is normal?

The network is good. Opening other apps has a network. Have you tested it on iOS 17?I don’t know what to do now.

It’s working on iOS 17 on my end, in the log we can see the “HTTP load failed” error, which means there is a network error, maybe you can use a proxy tool such as Charles to analyze the network log.

I see. It cannot be initialized in Chinese Mainland.
This url (https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json) cannot be opened in Chinese Mainland.
But it can initialize normally on iOS 14, I’m a bit confused.
Do you have a solution to the problem of being unusable in China?

Hi, I can confirm this URL can be opened in China, could you try it again? https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json

I have tried many times but still can’t open it!

Can this URL be opened in your mobile phone’s browser? Please try it using a cellular network.

I tried using a cellular network, but it couldn’t be opened, and even my colleague’s phone couldn’t be opened

My Chinese colleagues and I tested this URL and currently cannot reproduce the issue you mentioned. In order to further investigate it, please provide the following information:
*What are the specific steps for your testing?
*What test devices do you use? What are the system versions?

  • Does this issue occur on certain devices or all devices?
  • Can this URL be opened if using a VPN?
  • Do the devices used for testing have any ad-blocking apps installed?

devices :
iphone 6s plus (ios 15.7.6)
iphone 8 plus (ios 14.4)
iphone 12 (ios 17.1.1)

The url couldn’t be opened on all devices. If VPN is used, it can be opened on all devices.

Only iOS 14.4 device can display ads. If VPN is used, it can display ads on all devices.

All devices have not installed advertising blocking applications.

We used this tool to ping the URL, and it shows the URL can be opened normally in CN:ping检测工具-ping测试-ping值-拨测

You said iOS 14.4 devices can display ads, does it mean that this URL can be opened on OS 14.4 devices?

The url couldn’t be opened on iOS 14.4.

Ping is ok on my computer, but it cannot be opened on the browser!

9491110--1335937--err2.png

Could you please provide a Charles log? As you can see, we tested it with Charles in CN multiple times, and the URL can be opened.

Refused our connection request!

Maybe it’s not that the whole of China cannot be opened, it cannot be opened in Xiamen, China

In China mainland, we don’t use this URL, here is the URL we used in China mainland, are you able to open it? https://configv2.unityads.unitychina.cn/webview/4.9.2/release/config.json

It can be opened, but the URL displayed in the log is not the same. Is there a new version of SDK?

I don’t think it’s related to a special SDK version. I’ll test it and confirm with the team. before we find the root cause, you can use a VPN for testing, I think this URL(https://configv2.unityads.unity3d.com/webview/4.9.2/release/config.json) is only couldn’t be opened in Xiamen for special reasons, which is out of our control.