# Could not connect to the Processing server to install libraries

**URL:** <https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126>\
**Category:** Libraries\
**Created:** [March 21, 2024, 5:20am UTC](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126 "2024-03-21T05:20:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [March 29, 2024, 8:57pm UTC](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126/8 "2024-03-29T20:57:51Z")

</div>

> [@ppiyo](#):
>
> May I know how to solve this issue? I am using Processing 3.5.4.

The links to the libraries are available here:  
[https://download.Processing.org/contribs](https://download.processing.org/contribs) Thanks @GoToLoop for providing this!  
I would save a copy of this somewhere in case it is not available in the future for any reason!

Adding a Processing library:  
_[Adding a Processing Li... | Wiki | UAL Creative Computing Institute](https://wiki.cci.arts.ac.uk/books/dark-lab/page/adding-a-processing-library)_

Some code I wrote to save a file with links or name of zip file (modify for this):

```auto
String [] contrib;
int count = 0;

void setup()
  {
  contrib = loadStrings("https://download.processing.org/contribs");
  for(int i=0; i< contrib.length; i++)
    {
    if (contrib[i].contains("download="))
      {
      
      //links  
      println(contrib[i].substring(9));
      
      //zip
      //int lastIndex = contrib[i].lastIndexOf("/");
      //String ss = contrib[i].substring(lastIndex+1);
      //println(ss);
      count++;
      }
    } 
  println("Count: ", count);
  
  String links [] = new String [count]; 
  
  int ix=0; 
  for(int i=0; i< contrib.length; i++)
    {    
    if (contrib[i].contains("download="))
      {
      links[ix++] = contrib[i].substring(9);
      }
    }
  saveStrings("links.txt", links);   
  }

```

You can certainly download them one at a time.

I used _wget_ to archive all the zip files locally:

> **[Wget for Windows](https://gnuwin32.sourceforge.net/packages/wget.htm)**
>
> wget {whatisit}

I had some fun downloading them all in Processing and also with command-line scripts.  
I will leave this adventure for the enthusiastic!

`:)`

---

_[View the full topic](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126)._
