summaryrefslogtreecommitdiff
path: root/issues/broken-cd.gmi
blob: e2cf65cb36093fe55104e98948453b18da5a54bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Broken continuous deployment

* assigned: aruni
* tags: critical

The continuous deployment (CD) of GeneNetwork2 at https://gn2dev.genenetwork.org/ is broken. Even with all javascript enabled, none of the menu items load. The error message "There was an error retrieving and setting the menu. Try again later." appears. Perhaps there is something missing in the CD that is present in production?

This bug is quite critical. Our CD is unusable without addressing this bug.

=> https://gn2dev.genenetwork.org/ GeneNetwork2 Continuous Deployment

## Resolution

It turned out that there were 3 issues at play here.

* GN_SERVER_URL was not set in the CD. GN_SERVER_URL is required by the javascript to query the genenetwork3 API and populate the menu.
* The mariadb socket was not accessible to the genenetwork3 process inside its container.
* Cross-Origin Resource Sharing (CORS) was not allowed by the genenetwork3 server. Fred is now working on fixing this in the genenetwork3 code.

* assigned: fredm


## Update: 2022-07-11

The CORS issue is now fixed. The menus are loading appropriately.

* status: closed, completed