Hi Schumann Ye,
I'm not sure I can help you much for this situation. I tried "gradlew -d loadAll > loadAll.txt" but I can't find "Opening connection" nor "Connecting
to jcenter.bintray" in loadAll.txt. So it's environment specific.
Please try "Googling" for <<gradle "Auth cache not set in the context">> you
should find answers like
https://stackoverflow.com/questions/29606506/unable-to-download-dependencies-in-gradle-using-proxy
https://discuss.gradle.org/t/maven-username-password-only-works-when-embedded-in-url-for-some-servers/2542
https://issues.gradle.org/browse/GRADLE-2650?page=com.atlassian.jirafisheyeplugin%3Afisheye-issuepanel
This said it's possible that you have firewall issue indeed... We never got
this issue with our demos...
HTH
Jacques
Le 23/09/2020 à 04:37, Schumann Ye a écrit :
Dear Jacques,
Many thanks for your advice.
I am sure that "gradlew cleanAll" is working so I try "gradlew -s loadAll" but it shows me nothing
more against "gradlew loadAll" by still stopping at "Configuring -> 53/54 projects".
Then I try "gradlew -d loadAll" and found the verbose info and it shows there
might be internet accessing issue due to my server firewall:
02:50:32.005 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Opening
connection {s}->https://jcenter.bintray.com:443
02:50:32.141 [DEBUG]
[org.apache.http.impl.conn.DefaultHttpClientConnectionOperator] Connecting to
jcenter.bintray.com/52.43.200.1:443
02:50:32.141 [DEBUG] [org.apache.http.conn.ssl.SSLConnectionSocketFactory]
Connecting socket to jcenter.bintray.com/52.43.200.1:443 with timeout 0
…
02:50:33.091 [DEBUG] [org.apache.http.impl.execchain.MainClientExec] Connection
can be kept alive indefinitely
02:50:33.091 [DEBUG]
[org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection [id:
0][route: {s}->https://jcenter.bintray.com:443] can be kept alive indefinitely
02:50:33.092 [DEBUG]
[org.apache.http.impl.conn.PoolingHttpClientConnectionManager] Connection
released: [id: 0][route: {s}->https://jcenter.bintray.com:443][total kept
alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
02:50:33.095 [DEBUG]
[org.gradle.internal.resource.transport.http.AlwaysRedirectRedirectStrategy]
Redirect requested to location
'https://repo.jfrog.org/artifactory/libs-release-bintray/junit/junit-dep/4.11/junit-dep-4.11.jar?referrer'
02:50:33.100 [DEBUG] [org.apache.http.impl.execchain.RedirectExec] Resetting
target auth state
02:50:33.101 [DEBUG] [org.apache.http.impl.execchain.RedirectExec] Redirecting to
'https://repo.jfrog.org/artifactory/libs-release-bintray/junit/junit-dep/4.11/junit-dep-4.11.jar?referrer'
via {s}->https://repo.jfrog.org:443
02:50:33.102 [DEBUG] [org.apache.http.client.protocol.RequestAddCookies]
CookieSpec selected: default
02:50:33.102 [DEBUG] [org.apache.http.client.protocol.RequestAuthCache] Auth
cache not set in the context
Could you please help check if what I understand is correct?
Thanks
B.R.
Schumann
________________________________
From: Jacques Le Roux <[email protected]>
Sent: Tuesday, September 22, 2020 6:49 PM
To: [email protected] <[email protected]>
Subject: Re: Failure when building projects
Hi Schumann Ye,
The best thing to do is to use the --stacktrace Gradle option to see what's
happening. Did you try that?
You could copy here for us to help you
Jacques
Le 22/09/2020 à 11:16, Schumann Ye a écrit :
Hi Jacques,
I run into a failure when running "gradlew clean all loadAll" when testing in
my server environment.
The failure stops at "Configuring -> 53/54 projects".
I am pretty sure it is somehow because of internet connection issue because it
works perfectly in my local computer. While my IT is struggling in debugging, I
wonder if you can guide me where or which documents to look into.
P.S. I have checked the build.gradle and setting.gradle and I counted all the
projects including root projects and sub projects within application /
framework / plugins / themes but the sum is no more than 50.
Thanks for your guidance and have a nice day.
Schumann
Get Outlook for Android<https://aka.ms/ghei36>
Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28
Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28