c3bd8f6446649aa7adedbdabb08cddab57a5707f
angie
  Wed Dec 4 11:16:44 2024 -0800
Use hgdownload.gi not .soe for hubs, hope it helps with self-signed cert errors and slowness

diff --git src/hg/hgPhyloPlace/phyloPlace.c src/hg/hgPhyloPlace/phyloPlace.c
index a104db7..f87dd7f 100644
--- src/hg/hgPhyloPlace/phyloPlace.c
+++ src/hg/hgPhyloPlace/phyloPlace.c
@@ -165,31 +165,31 @@
     if (hubGenome != NULL)
         maybeHubDb = hubGenome->name;
     else
         {
         // Not connected to session currently.  If the name looks like an NCBI Assembly ID
         // then try connecting to the corresponding UCSC assembly hub.
         regmatch_t substrs[5];
         if (regexMatchSubstr(db, "^(GC[AF])_([0-9]{3})([0-9]{3})([0-9]{3})\\.[0-9]$",
                              substrs, ArraySize(substrs)))
             {
             char gcPrefix[4], first3[4], mid3[4], last3[4];
             regexSubstringCopy(db, substrs[1], gcPrefix, sizeof gcPrefix);
             regexSubstringCopy(db, substrs[2], first3, sizeof first3);
             regexSubstringCopy(db, substrs[3], mid3, sizeof mid3);
             regexSubstringCopy(db, substrs[4], last3, sizeof last3);
-            struct dyString *dy = dyStringCreate("https://hgdownload.soe.ucsc.edu/hubs/%s/%s/%s/"
+            struct dyString *dy = dyStringCreate("https://hgdownload.gi.ucsc.edu/hubs/%s/%s/%s/"
                                                  "%s/%s/hub.txt",
                                                  gcPrefix, first3, mid3, last3, db);
             // Use cart variables to pretend user clicked to connect to this hub.
             cartSetString(cart, hgHubDataText, dy->string);
             cartSetString(cart, hgHubGenome, db);
             struct errCatch *errCatch = errCatchNew();
             char *hubDb = NULL;
             if (errCatchStart(errCatch))
                 {
                 hubDb = hubConnectLoadHubs(cart);
                 }
             errCatchEnd(errCatch);
             if (hubDb != NULL)
                 maybeHubDb = hubDb;
             }