Can't update project libs

53 views
Skip to first unread message

Bryan Buchanan

unread,
Apr 10, 2015, 3:07:56 AM4/10/15
to codenameone...@googlegroups.com

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)

Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 1

Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25

Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b26

System: Linux version 3.13.0-49-generic running on amd64; UTF-8; en_AU (nb)    

   

CN1 plugin Version: 1.0.85

 
Your local libraries are out of date updating them from the server. After update is completed the build might fail! You will need to resubmit the build with the updated libraries!

Download Starting...
An error occured during library update: 
java.io.IOException: Server returned HTTP response code: 403 for URL: https://www.codenameone.com/files/updatedLibs.zip
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:90)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1432)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1430)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:713)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1429)

emil.h....@gmail.com

unread,
Apr 10, 2015, 3:33:43 AM4/10/15
to codenameone...@googlegroups.com
Have you tried doing exactly as suggested = resubmitting the build?

As far as i remember, the CN1 update system syncs the local/server libs on build. Therefore, when new server libs are rolled out, you might need to submit you build twice (once to update local libs, once to build with the new libs). 

Please correct me if i'am wrong.

Bryan Buchanan

unread,
Apr 10, 2015, 3:35:42 AM4/10/15
to codenameone...@googlegroups.com, emil.h....@gmail.com
Makes no difference. The problem is the update URL does not exist (or the update server is dead).

emil.h....@gmail.com

unread,
Apr 10, 2015, 3:43:40 AM4/10/15
to codenameone...@googlegroups.com, emil.h....@gmail.com
Ah, okay. I just made a successful iOS build from IntelliJ, so i don't think it's a server problem.

Shai Almog

unread,
Apr 10, 2015, 11:03:25 AM4/10/15
to codenameone...@googlegroups.com
If you click the file in the browser is it reachable?
It should work just fine and should be cached by cloudflare to provide fast download. 

Are you behind a proxy or firewall?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at http://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/185949fa-d8f1-4617-a7ea-7813afab731d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Bryan Buchanan

unread,
Apr 10, 2015, 4:46:36 PM4/10/15
to codenameone...@googlegroups.com
On Saturday, April 11, 2015 at 1:03:25 AM UTC+10, Shai Almog wrote:
If you click the file in the browser is it reachable?

Yes it was.

The build was submitted OK, but could still not update project libs from Properties->Update Project Libs.

Works OK this morning though.

Shai Almog

unread,
Apr 11, 2015, 1:09:02 AM4/11/15
to codenameone...@googlegroups.com
Thanks. It seems this was my bad.
Chen looked into your report and found that cloudflare blocks our requests since we are missing a user agent string in the download URL.
I was able to track the relevant configuration and add a rule to disable that there.
Reply all
Reply to author
Forward
0 new messages