Re: Failure when building projects

2020-09-23 Thread Schumann Ye
Hi Jacques,

Thanks again for your professional replies.
It's for sure the company lan network specific issue and has nothing to do with 
Demo itself.

You sir have a nice day!

B.R.
Schumann
Get Outlook for Android


From: Jacques Le Roux 
Sent: Wednesday, September 23, 2020 5:12:05 PM
To: user@ofbiz.apache.org 
Subject: Re: Failure when building projects

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 <> 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 
> Sent: Tuesday, September 22, 2020 6:49 PM
> To: user@ofbiz.apache.org 
> 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
> 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



Re: Demos shutdown because possible security issues

2020-09-23 Thread Jacques Le Roux

Hi Shane,

Your message has been moderated, else it would not have reached this Mailing 
List.

Please subscribe to the user ML for such questions and then use your email 
client.
See why here http://ofbiz.apache.org/mailing-lists.html.

You will get a better support, people can answer you on the ML.
The wider the audience the better the answers you might get.

Also it's more work for moderators who have to accept your messages as long as 
you have not subscribed.
I'll personally no longer accept them (other moderators still could).

Thanks

This said, how do you know that it's only (demo) data (which is right) and not 
code :) ?

Jacques

Le 24/09/2020 à 06:03, Shane Hollis a écrit :

Hi,

We went to view the demos and saw the security message. It might be
worth making it really clear the security issue is the data not the code
- as it is not a good look to have a project shut for security reasons -
especially one that handles finances. Just saying :)

Shane



On 2020/08/11 10:50:43, Jacques Le Roux  wrote:
  > Hi,>
  >
  > Due to possible security issues the demos have been shutdown.>
  >
  > These possible security issues are due to the demos data.>
  >
  > So custom projects should not have to worry.>
  >
  > We will discuss in dev ML how to restart the demos.>
  >
  > Thanks for your patience>
  >
  > Jacques>
  >
  >


All Outsourced Information Technology Limiteds work, sales and 
correspondence is covered under our terms of service and privacy policies found 
at https://outsourcedit.co.nz/tandc . Our online invoicing system is found at 
https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can be 
accessed there. All goods and services sold are covered under the Sale of Goods 
Act and the Consumer Guarantees Act of NZ and will be liable for GST where 
applicable.



Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28



Re: Demos shutdown because possible security issues

2020-09-23 Thread Shane Hollis
Hi,

We went to view the demos and saw the security message. It might be
worth making it really clear the security issue is the data not the code
- as it is not a good look to have a project shut for security reasons -
especially one that handles finances. Just saying :)

Shane



On 2020/08/11 10:50:43, Jacques Le Roux  wrote:
 > Hi,>
 >
 > Due to possible security issues the demos have been shutdown.>
 >
 > These possible security issues are due to the demos data.>
 >
 > So custom projects should not have to worry.>
 >
 > We will discuss in dev ML how to restart the demos.>
 >
 > Thanks for your patience>
 >
 > Jacques>
 >
 >


All Outsourced Information Technology Limiteds work, sales and 
correspondence is covered under our terms of service and privacy policies found 
at https://outsourcedit.co.nz/tandc . Our online invoicing system is found at 
https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can be 
accessed there. All goods and services sold are covered under the Sale of Goods 
Act and the Consumer Guarantees Act of NZ and will be liable for GST where 
applicable.




Re: Failure when building projects

2020-09-23 Thread Jacques Le Roux

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 <> 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 
Sent: Tuesday, September 22, 2020 6:49 PM
To: user@ofbiz.apache.org 
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

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