Deployment: Eaasi Service
EaaSI Version: eaasi-release-2020.03
Browser: chromium
Description:
We have not used this instance in some months. Our lead for the project’s contract ended so it languished for a bit but now I am in the process of trying to update the SSL on our server hosted at eaasi-prod.library.cmu.edu.
After I had updated the certificate and key and ran ./scripts/deploy.sh again and then redeployed the docker containers on the site I was able to log in and have no issues with getting through the front-end.
However, I do not see any resources or bookmarks when I navigate from my dashboard.
I looked at the dump of the database and I’m not sure if I should be seeing anything in there but I do not when I search in a few tables. I see the eaasi_user was created in Oct 2020 so I assume that data has not been lost since that exists…
When I try to go to the emulation project page I get this error (cut for length, but can provide full txt file):
##### Front-End Stack Trace #####
message::TypeError: Cannot read properties of undefined (reading 'systems')
info::created hook (Promise/async)
stack::TypeError: Cannot read properties of undefined (reading 'systems')
at t.<anonymous> (https://eaasi-prod.library.cmu.edu/js/app.e41a1638.js:1:157991)
at u (https://eaasi-prod.library.cmu.edu/js/chunk-vendors.36dbd39e.js:38:2088)
at Object.next (https://eaasi-prod.library.cmu.edu/js/chunk-vendors.36dbd39e.js:38:1383)
at a (https://eaasi-prod.library.cmu.edu/js/chunk-vendors.36dbd39e.js:38:936)
###### Web-Api Event List #######
id::37174
level::info
source::unknown
message::::ffff:192.168.224.6 - - [30/Sep/2021:19:19:05 +0000] "GET /eaasi_app/auth/user HTTP/1.0" 304 - "https://eaasi-prod.library.cmu.edu/resources/explore" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
createdAt::2021-09-30T19:19:05.972Z
updatedAt::2021-09-30T19:19:05.972Z
,id::37175
level::info
source::unknown
message::::ffff:192.168.224.6 - - [30/Sep/2021:19:19:06 +0000] "GET /resource_metadata/eaasi-task/ HTTP/1.0" 304 - "https://eaasi-prod.library.cmu.edu/resources/explore" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
createdAt::2021-09-30T19:19:06.039Z
updatedAt::2021-09-30T19:19:06.039Z
,id::37176
level::error
source::ResourceController
message::FetchError: request to https://eaasi-prod.library.cmu.edu:443/emil/EmilEnvironmentData/ failed, reason: unable to verify the first certificate
at ClientRequest.<anonymous> (/app/node_modules/node-fetch/lib/index.js:1455:11)
at ClientRequest.emit (events.js:198:13)
at TLSSocket.socketErrorListener (_http_client.js:392:9)
at TLSSocket.emit (events.js:198:13)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
createdAt::2021-09-30T19:19:06.080Z
updatedAt::2021-09-30T19:19:06.080Z
,id::37178
level::info
source::unknown
message::::ffff:192.168.224.6 - - [30/Sep/2021:19:19:11 +0000] "GET /resource_metadata/bookmark?userID=1 HTTP/1.0" 304 - "https://eaasi-prod.library.cmu.edu/dashboard" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
...
###### App Version #######
EaaSi Version: 1.8.17
########## < END > ##############
So this appears to be some sort of ssl error.
I had some trouble last time I did this which I was able to resolve here:
https://groups.google.com/g/eaasi-tech-talk/c/5uydmrfCeJs/m/iiES6Z-sBAAJ
I did this by going in to the nginx container and updating the approved list of certificates to include those that are self-signed by CMU as there appeared to be an issue with the server accepting our certificates.
However, when I tried to do this again I could not find a container that has java running or a place to update the cacerts file in any of the containers (web-api, nginx, database, front-end).
Any ideas or suggestions would be appreciated.
Included is the latest from /eaas-home/log/server/server.log
server.log (1.8 MB)
Urgency:
not too urgent.