Curl errors

Recently I keep getting the following error but remote config still working properly but I think it’s still better to solve the errors.

Curl error 28: Failed to connect to cdp.cloud.unity3d.com port 443: Connection timed out
Curl error 6: Could not resolve host: cdp.cloud.unity3d.com

Hi Optimise,

Thanks for posting on the forums.
When possible can you share the version of Remote Config you are using? Does the error come up when you start your application only or during the fetch of the values?

Best,
Sebastiano

@SebT_Unity I’m using remote config 3.0.0-pre.8. Seems like during fetch the values and after fetch the values still keep logging error few times. I guess timing of error log is quite random.

Hi Optimise,
When you have some time can you try the following.

  • Close the Unity editor

  • Go to your project folder.

  • Locate the Library folder

  • Locate Package Cache folder

  • See if you can find “com.unity.remote-config@X.X.X”

  • Make a copy of the folders you find that have remote-config in the folder names

  • Delete the folders

  • Restart Unity editor

Let me know if it helps with the errors. If not I will continue digging.

Best,
Seb

Just let u know the error I didn’t see those errors at editor. Currently I see it at Android build and Windows build. Seems like it will only happen at real build. Btw for the “6) Make a copy of the folders you find that have remote-config in the folder names” I not really understand. Is that u want me copy remote config to Package folder to make it become local package?

Hi Optimise,

Forgive me for the delayed response here.
Confirming while using the remote config packages do you also have the authentication packages installed?
“com.unity.remote-config”: “3.0.0-pre.8”,
“com.unity.services.authentication”: “1.0.0-pre.37”

I have tested a local WINDOWS build and do not get the error described.
can you share your Unity version?

May be unrelated but are you using an Adblocker?

Thank you.
Seb

Ya. I also using latest “com.unity.remote-config-runtime”: “3.0.0-pre.18”.

Unity 2020.3.25

Hi Optimise,
While speaking to some of my colleagues we will attempt some more testing with some internet settings locally.
One thing that comes to mind is do you have any Firewalls / Adblockers / Routers that may temporarily causing some issues with your internet and for the application? If you can try disabling any of those and let me know if that helps in anyway.

Once done testing will update this post.
Best,
Seb

Hi Optimise,
I was able to get an error when disabling my internet temporarily. I would check your Router/ Adblockers / firewalls to see if there may be a blockage on that end.
Please let me know your findings.

Best of luck
Seb

1 Like

@SebT_Unity From what I observe, I believe remote config is not cater for not really stable network environment that will keep fluctuating or maybe remote config is not stable for certain countries like SEA countries I dunno. I give other people to test the real game and they also have the same curl error so I think it’s not Router/ Adblockers / firewalls issue. Maybe u can try to test Malaysia network.

Btw seems like new Remote config 3.0.0pre.9 release is not working properly. ConfigManager.FetchCompleted event no longer fire anymore.

@optimise When did this start happening? Does it occur in your testing with a newer Android device? Does it work in the Editor?

@JeffDUnity3D I believe it can reproduce with any Android device regardless of version. Actually even at Editor u also can reproduce similar error.

I am not able to reproduce here as you describe, but I do believe you. And you’ve turned of any firewall and ad blockers including in your router? Can you try using a different network, like a phone hot spot?

Alright.

Android phone tested with wifi.

7821909--989868--upload_2022-1-19_17-57-22.png

Tested by another person with phone hot spot and with different phone.

7821909--989871--upload_2022-1-19_17-59-2.png

I also get one interesting error but I forget whether it’s at Android build or editor but I believe it’s at Android build.

Failed to fetch remote configurations: HTTP/1.1 500 Internal Server Error Exceeded configured max-open-requests value of [32]. This means that the request queue of this pool (HostConnectionPoolSetup(rules-mgmt,80,ConnectionPoolSetup(ConnectionPoolSettings(4,0,5,32,1,30 seconds,ClientConnectionSettings(Some(User-Agent: akka-http/10.1.5),10 seconds,10 seconds,512,None,WebSocketSettings(,ping,Duration.Inf,akka.http.impl.settings.WebSocketSettingsImpl$$$Lambda$336/0x00000008403d0040@13be0834),List(),ParserSettings(2048,16,64,64,8192,64,8388608,8388608,256,1048576,Strict,RFC6265,true,Set(),Full,Error,Map(If-Range → 0, If-Modified-Since → 0, If-Unmodified-Since → 0, default → 12, Content-MD5 → 0, Date → 0, If-Match → 0, If-None-Match → 0, User-Agent → 32),false,true,akka.util.ConstantFun$$$Lambda$63/0x000000084017f840@78c9e95a,akka.util.ConstantFun$$$Lambda$63/0x000000084017f840@78c9e95a,akka.util.ConstantFun$$$Lambda$64/0x0000000840180040@176d9eba),None,TCPTransport),New,1 second),akka.http.scaladsl.HttpConnectionContext$@6516eb0b,akka.event.MarkerLoggingAdapter@167d589f))) has completely filled up because the pool currently does not process requests fast enough to handle the incoming request load. Please retry the request later. See http://doc.akka.io/docs/akka-http/current/scala/http/client-side/pool-overflow.html for more information. UnityEngine.Debug:LogWarning (object) Unity.RemoteConfig.Editor.RemoteConfigWebApiClient/<_FetchEnvironments>d__31:MoveNext () (at Library/PackageCache/com.unity.remote-config@3.0.0-pre.8/Editor/RemoteConfigWebApiClient.cs:166) Unity.RemoteConfig.Editor.RemoteConfigWebApiClient:UpdateCoroutine () (at Library/PackageCache/com.unity.remote-config@3.0.0-pre.8/Editor/RemoteConfigWebApiClient.cs:416) Unity.RemoteConfig.Editor.RemoteConfigWebApiClient:Update () (at Library/PackageCache/com.unity.remote-config@3.0.0-pre.8/Editor/RemoteConfigWebApiClient.cs:400) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

As mentioned, I believe you but I’m not able to reproduce. Does it still operate correctly for you and these are just warnings?

Not really I guess. Although it seems working fine for most of the time but sometimes it will not properly though. When it doesn’t work properly it stuck at forever or takes very long time to get the result.

Please don’t guess! Does it work in your testing? What result are you referring to?

Maybe let me do more testing and observe the error message when it doesn’t work properly. Actually I integrated remote config long time ago and testing the game almost every week.

In the words of Yoda, “There is no maybe, there is test or no test” :slight_smile:

1 Like

@JeffDUnity3D I captured some logcat for u went it doesn’t work properly. For this it suddenly become fetching config from production environment instead of develop environment.

2022/01/20 18:02:03.568 3352 3457 Error Unity Curl error 28: Could not resolve host: api.prd.identity.corp.unity3d.com
2022/01/20 18:02:03.568 3352 3457 Error Unity Curl error 6: Could not resolve host: api.prd.identity.corp.unity3d.com
2022/01/20 18:02:03.568 3352 3457 Error Unity Curl error 6: Could not resolve host: be0d4e9b-d913-43a2-ae5d-805d588cff40.client-api.unity3dusercontent.com
2022/01/20 18:02:03.568 3352 3457 Error Unity Curl error 6: Could not resolve host: be0d4e9b-d913-43a2-ae5d-805d588cff40.client-api.unity3dusercontent.com
2022/01/20 18:02:03.586 3352 3409 Warn Unity [Authentication]: Network error detected, retrying…
2022/01/20 18:02:03.586 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:03.586 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:03.586 3352 3409 Warn Unity UnityEngine.Logger:LogWarning (string,object)
2022/01/20 18:02:03.586 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:16)
2022/01/20 18:02:03.586 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest:RequestCompleted (System.Threading.Tasks.TaskCompletionSource1<string>,long,bool,bool,string,string,System.Collections.Generic.IDictionary2<string, string>) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/WebRequest.cs:197)
2022/01/20 18:02:03.586 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest/<>c__DisplayClass19_1:b__0 (UnityEngine.AsyncOperation) (at C:/ProjectClone/Library/PackageCache/com.u
2022/01/20 18:02:03.587 3352 3409 Warn Unity [Authentication]: Network error detected, retrying…
2022/01/20 18:02:03.587 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:03.587 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:03.587 3352 3409 Warn Unity UnityEngine.Logger:LogWarning (string,object)
2022/01/20 18:02:03.587 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:16)
2022/01/20 18:02:03.587 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest:RequestCompleted (System.Threading.Tasks.TaskCompletionSource1<string>,long,bool,bool,string,string,System.Collections.Generic.IDictionary2<string, string>) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/WebRequest.cs:197)
2022/01/20 18:02:03.587 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest/<>c__DisplayClass19_1:b__0 (UnityEngine.AsyncOperation) (at C:/ProjectClone/Library/PackageCache/com.u

2022/01/20 18:02:28.664 3352 3464 Error Unity Curl error 28: Resolving timed out after 10000 milliseconds
2022/01/20 18:02:28.664 3352 3464 Error Unity Curl error 28: Resolving timed out after 10000 milliseconds
2022/01/20 18:02:28.664 3352 3464 Error Unity Curl error 6: Could not resolve host: cdp.cloud.unity3d.com
2022/01/20 18:02:28.686 3352 3409 Warn Unity [Authentication]: Request completed with error: Request timeout
2022/01/20 18:02:28.686 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:28.686 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:28.686 3352 3409 Warn Unity UnityEngine.Logger:LogWarning (string,object)
2022/01/20 18:02:28.686 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:16)
2022/01/20 18:02:28.686 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest:RequestCompleted (System.Threading.Tasks.TaskCompletionSource1<string>,long,bool,bool,string,string,System.Collections.Generic.IDictionary2<string, string>) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/WebRequest.cs:209)
2022/01/20 18:02:28.686 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest/<>c__DisplayClass19_1:b__0 (UnityEngine.AsyncOperation) (at C:/ProjectClone/Library/PackageC
2022/01/20 18:02:28.690 3352 3409 Warn Unity [Authentication]: Well-known keys request failed (attempt: 1): 0, Request timeout
2022/01/20 18:02:28.690 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:28.690 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:28.690 3352 3409 Warn Unity UnityEngine.Logger:LogWarning (string,object)
2022/01/20 18:02:28.690 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:16)
2022/01/20 18:02:28.690 3352 3409 Warn Unity Unity.Services.Authentication.AuthenticationServiceInternal/d__93:MoveNext () (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/AuthenticationServiceInternal.cs:382)
2022/01/20 18:02:28.690 3352 3409 Warn Unity System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
2022/01/20 18:02:28.690 3352 3409 Warn Unity System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
2022/01/20 18:02:28.690 3352 3409 Warn Unity System.Threading.Execu
2022/01/20 18:02:28.691 3352 3409 Warn Unity [Authentication]: Request completed with error: Request timeout
2022/01/20 18:02:28.691 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:28.691 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:28.691 3352 3409 Warn Unity UnityEngine.Logger:LogWarning (string,object)
2022/01/20 18:02:28.691 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.Logger:LogWarning (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:16)
2022/01/20 18:02:28.691 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest:RequestCompleted (System.Threading.Tasks.TaskCompletionSource1<string>,long,bool,bool,string,string,System.Collections.Generic.IDictionary2<string, string>) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/WebRequest.cs:209)
2022/01/20 18:02:28.691 3352 3409 Warn Unity Unity.Services.Authentication.Utilities.WebRequest/<>c__DisplayClass19_1:b__0 (UnityEngine.AsyncOperation) (at C:/ProjectClone/Library/PackageC
2022/01/20 18:02:29.299 3352 3409 Error Unity [Authentication]: Request failed: 0, Request timeout
2022/01/20 18:02:29.299 3352 3409 Error Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:29.299 3352 3409 Error Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:29.299 3352 3409 Error Unity UnityEngine.Logger:LogError (string,object)
2022/01/20 18:02:29.299 3352 3409 Error Unity Unity.Services.Authentication.Utilities.Logger:LogError (object) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/Utilities/Logger.cs:17)
2022/01/20 18:02:29.299 3352 3409 Error Unity Unity.Services.Authentication.AuthenticationServiceInternal:BuildServerException (Unity.Services.Authentication.Utilities.WebRequestException) (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/AuthenticationServiceInternal.cs:684)
2022/01/20 18:02:29.299 3352 3409 Error Unity Unity.Services.Authentication.AuthenticationServiceInternal/d__96:MoveNext () (at C:/ProjectClone/Library/PackageCache/com.unity.services.authentication@1.0.0-pre.37/Runtime/AuthenticationServiceInternal.cs:433)
2022/01/20 18:02:29.299 3352 3409 Error Unity S

2022/01/20 18:02:29.354 3352 3409 Warn Unity Auth Service not initialized.
2022/01/20 18:02:29.354 3352 3409 Warn Unity Request might result in empty or incomplete response
2022/01/20 18:02:29.354 3352 3409 Warn Unity Please refer to Code integration | Remote Config | 3.0.0
2022/01/20 18:02:29.354 3352 3409 Warn Unity UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
2022/01/20 18:02:29.354 3352 3409 Warn Unity UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[ ])
2022/01/20 18:02:29.354 3352 3409 Warn Unity UnityEngine.Logger:Log (UnityEngine.LogType,object)
2022/01/20 18:02:29.354 3352 3409 Warn Unity UnityEngine.Debug:LogWarning (object)
2022/01/20 18:02:29.354 3352 3409 Warn Unity Unity.RemoteConfig.ConfigManagerImpl:smile:oRequest (string,string) (at C:/ProjectClone/Library/PackageCache/com.unity.remote-config-runtime@3.0.0-pre.18/Runtime/ConfigManagerImpl.cs:520)
2022/01/20 18:02:29.354 3352 3409 Warn Unity Unity.RemoteConfig.ConfigManagerImpl:PostConfigWithConfigType (string,object,object,object) (at C:/ProjectClone/Library/PackageCache/com.unity.remote-config-runtime@3.0.0-pre.18/Runtime/ConfigManagerImpl.cs:470)
2022/01/20 18:02:29.354 3352 3409 Warn Unity Unity.RemoteConfig.ConfigManagerImpl:FetchConfigs<InitRemoteConfigSystem/userAttributes, InitRemoteConfigSystem/appAttr