inbo/reporting-rshiny-grofwildjacht

[BUG] timeout when deploying to wbe-dev.inbo.be (UAT)

SanderDevisscher opened this issue · 7 comments

Describe the bug
When deploying to the private UAT (wbe-dev.inbo.be) @TheJenne18 gets a timeout. See logs below:

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.909005082Z" level=debug msg="Calling POST /containers/create"

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.910098969Z" level=debug msg="form data: {\"Cmd\":[\"R\",\"-e\",\"reportingGrofwild::runWildApp(public = FALSE)\"],\"Env\":[\"SHINYPROXY_USERGROUPS=\",\"SHINYPROXY_OIDC_ACCESS_TOKEN=eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI4bjB5M2xIS0JDbGpZS0o3d0tJVG5jamhkNEZ6NDdGdjMxcjNZX01GbDlzIn0.eyJleHAiOjE2OTc4MDAxMTEsImlhdCI6MTY5Nzc5OTgxMSwiYXV0aF90aW1lIjoxNjk3Nzk3OTc3LCJqdGkiOiJkZWJkNmFjYy1iNGI0LTQyMWQtYjUzZC1mMDVjZTAyYzYwYTMiLCJpc3MiOiJodHRwczovL2tleWNsb2FrLWRldi5pbmJvLmJlL3JlYWxtcy9XQkUiLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiZGExYjIxMmItMWRkNy00OGIzLWEwZDYtZTdjMDRlMjBlZGFlIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoid2JlLWRldiIsIm5vbmNlIjoid1BOekhzQW8wU2lrZzB6Y1JYcmdKeS15QXNGU3E1V05OX3RfM0hCcEk0USIsInNlc3Npb25fc3RhdGUiOiI4MjFiY2M2NC1iNTc5LTQ5OTYtOTU2YS1lZjg2MzVjNmU1ZDEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cHM6Ly93YmUtZGV2LmluYm8uYmUiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtaW5iby13YmUiLCJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsid2JlLWRldiI6eyJyb2xlcyI6WyJ3YmVfYWRtaW4iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUga2JvX251bW1lcnMiLCJzaWQiOiI4MjFiY2M2NC1iNTc5LTQ5OTYtOTU2YS1lZjg2MzVjNmU1ZDEiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsIm5hbWUiOiJKZW5zIFBPTFNQT0VMIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiamVuc19wb2xzcG9lbCIsImdpdmVuX25hbWUiOiJKZW5zIiwiZmFtaWx5X25hbWUiOiJQT0xTUE9FTCIsImVtYWlsIjoiamVucy5wb2xzcG9lbEBpbmJvLmJlIn0.UlT9G5KFXgX25EHzGopiskTLBuSJa0j6YdY60YAjsySltu185mSASn2FMb2ky0Er5MCIrx-ECI5p7IHLI07XsnKubHpf9LSJO5_0RYttxXKLq-RekGEbKxG6D5QeghkQRc7tHDjROeEm7rxSY8JYc0e_7Tv4t8j2wEkJR0LSCsiUPiT39wnobQ6C7YwETN5kJDfjW1tZCI1aHKqhHiyF79jubX5uazH-Vp4xsNWkOF6T1zb-tNbDZGgP7CbWJDH9BvV9D1iqqpN4KLvKr-AGLVDD5losoB6wHj1kfu51B9ZNocov5dvOtIiyDBMTo32XyPKBojRVHs5hSwWPlJpc0w\",\"SHINYPROXY_USERNAME=jens_polspoel\",\"R_CONFIG_ACTIVE=uat\",\"SHINYPROXY_KBO_NUMMERS=null\",\"SHINYPROXY_PUBLIC_PATH=/app_direct_i/wildapp/_/\"],\"ExposedPorts\":{\"3838\":{}},\"HostConfig\":{\"PortBindings\":{\"3838\":[{\"HostIp\":\"0.0.0.0\",\"HostPort\":\"20000\"}]},\"Privileged\":false},\"Image\":\"openanalytics/wildapp\",\"Labels\":{\"[openanalytics.eu/sp-app-instance\](http://openanalytics.eu/sp-app-instance%5C)":\"_\",\"[openanalytics.eu/sp-instance\](http://openanalytics.eu/sp-instance%5C)":\"5e747e3f6bc5ef1d71d0deab974bda6d1e30d33f\",\"[openanalytics.eu/sp-proxied-app\](http://openanalytics.eu/sp-proxied-app%5C)":\"true\",\"[openanalytics.eu/sp-proxy-created-timestamp\](http://openanalytics.eu/sp-proxy-created-timestamp%5C)":\"1697800249894\",\"[openanalytics.eu/sp-proxy-id\](http://openanalytics.eu/sp-proxy-id%5C)":\"86148dcb-ffda-4c20-af27-a086cb132c24\",\"[openanalytics.eu/sp-public-path\](http://openanalytics.eu/sp-public-path%5C)":\"/app_direct_i/wildapp/_/\",\"[openanalytics.eu/sp-spec-id\](http://openanalytics.eu/sp-spec-id%5C)":\"wildapp\",\"[openanalytics.eu/sp-user-groups\](http://openanalytics.eu/sp-user-groups%5C)":\"\",\"[openanalytics.eu/sp-user-id\](http://openanalytics.eu/sp-user-id%5C)":\"jens_polspoel\"},\"Volumes\":{}}"

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.957777662Z" level=debug msg="container mounted via layerStore: /var/lib/docker/overlay2/93203db703a8ed939735c650838a2cfd7a7dff33da75a01ccfd7ca8e41a2aa1d/merged" container=4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.987257380Z" level=debug msg="Calling POST /containers/4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658/start"

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.987870275Z" level=debug msg="container mounted via layerStore: /var/lib/docker/overlay2/93203db703a8ed939735c650838a2cfd7a7dff33da75a01ccfd7ca8e41a2aa1d/merged" container=4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.988242798Z" level=debug msg="Assigning addresses for endpoint sweet_goodall's interface on network bridge"

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.988266607Z" level=debug msg="RequestAddress(LocalDefault/[172.17.0.0/16](http://172.17.0.0/16), <nil>, map[])"

Oct 20 11:10:49 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:49.988295083Z" level=debug msg="Request address PoolID:[172.17.0.0/16](http://172.17.0.0/16) Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0, 2046)->(0x1, 1)->end Curr:0 Serial:false PrefAddress:invalid IP "

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.019660486Z" level=debug msg="Assigning addresses for endpoint sweet_goodall's interface on network bridge"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.026152898Z" level=debug msg="Programming external connectivity on endpoint sweet_goodall (bf898ea9216a8ddcd945cac691a94eaa8631578a04cbf897357ae9bfa2dc38c6)"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.026258196Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -C DOCKER -p tcp -d 0/0 --dport 20000 -j DNAT --to-destination [172.17.0.2:3838](http://172.17.0.2:3838/) ! -i docker0]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.028355832Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -A DOCKER -p tcp -d 0/0 --dport 20000 -j DNAT --to-destination [172.17.0.2:3838](http://172.17.0.2:3838/) ! -i docker0]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.049419219Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -C DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 3838 -j ACCEPT]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.051802882Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 3838 -j ACCEPT]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.053982533Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -C POSTROUTING -p tcp -s 172.17.0.2 -d 172.17.0.2 --dport 3838 -j MASQUERADE]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.060759398Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -A POSTROUTING -p tcp -s 172.17.0.2 -d 172.17.0.2 --dport 3838 -j MASQUERADE]"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.068139563Z" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.068178285Z" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.070453104Z" level=debug msg="EnableService 4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658 START"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.070483490Z" level=debug msg="EnableService 4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658 DONE"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.075233732Z" level=debug msg="bundle dir created" bundle=/var/run/docker/containerd/4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658 module=libcontainerd namespace=moby root=/var/lib/docker/overlay2/93203db703a8ed939735c650838a2cfd7a7dff33da75a01ccfd7ca8e41a2aa1d/merged

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.300531949Z" level=debug msg="sandbox set key processing took 42.689234ms for container 4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658"

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.338166231Z" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/create

Oct 20 11:10:50 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:50.349769834Z" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/start

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.598070290Z" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/exit

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.607891094Z" level=debug msg=event module=libcontainerd namespace=moby topic=/tasks/delete

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.607929522Z" level=info msg="ignoring event" container=4e920ea14b622301d4afff2cbc6f64b807de638546caa695a05cda489cfb9658 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.624395800Z" level=debug msg="Revoking external connectivity on endpoint sweet_goodall (bf898ea9216a8ddcd945cac691a94eaa8631578a04cbf897357ae9bfa2dc38c6)"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.625398482Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -C DOCKER -p tcp -d 0/0 --dport 20000 -j DNAT --to-destination [172.17.0.2:3838](http://172.17.0.2:3838/) ! -i docker0]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.627137670Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -D DOCKER -p tcp -d 0/0 --dport 20000 -j DNAT --to-destination [172.17.0.2:3838](http://172.17.0.2:3838/) ! -i docker0]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.628971042Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -C DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 3838 -j ACCEPT]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.630533475Z" level=debug msg="/usr/sbin/iptables, [--wait -t filter -D DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 3838 -j ACCEPT]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.631938344Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -C POSTROUTING -p tcp -s 172.17.0.2 -d 172.17.0.2 --dport 3838 -j MASQUERADE]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.633384474Z" level=debug msg="/usr/sbin/iptables, [--wait -t nat -D POSTROUTING -p tcp -s 172.17.0.2 -d 172.17.0.2 --dport 3838 -j MASQUERADE]"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.635735193Z" level=debug msg="DeleteConntrackEntries purged ipv4:0, ipv6:0"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.635758016Z" level=debug msg="DeleteConntrackEntriesByPort for udp ports purged ipv4:0, ipv6:0"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.719392250Z" level=debug msg="Releasing addresses for endpoint sweet_goodall's interface on network bridge"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.719437609Z" level=debug msg="ReleaseAddress(LocalDefault/[172.17.0.0/16](http://172.17.0.0/16), 172.17.0.2)"

Oct 20 11:10:56 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:10:56.719467477Z" level=debug msg="Released address Address:172.17.0.2 Sequence:Bits: 65536, Unselected: 65533, Sequence: (0xc0000000, 1)->(0x0, 2046)->(0x1, 1)->end Curr:3"

Oct 20 11:11:36 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:36.016902592Z" level=debug msg="Calling HEAD /_ping"

Oct 20 11:11:36 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:36.019286888Z" level=debug msg="Calling GET /v1.43/containers/json"

Oct 20 11:11:36 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:36.931891875Z" level=debug msg="Calling HEAD /_ping"

Oct 20 11:11:36 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:36.932369712Z" level=debug msg="Calling GET /v1.43/containers/json"

Oct 20 11:11:37 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:37.725881558Z" level=debug msg="Calling HEAD /_ping"

Oct 20 11:11:37 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:11:37.726443535Z" level=debug msg="Calling GET /v1.43/containers/json"

Oct 20 11:12:06 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:12:06.156309897Z" level=debug msg="Calling HEAD /_ping"

Oct 20 11:12:06 ip-172-28-3-254 dockerd[62804]: time="2023-10-20T11:12:06.157122511Z" level=debug msg="Calling GET /v1.43/containers/json"

for more info feel free to contact @TheJenne18 !

Git SHA (after 0.3.1)
c62fbc1

Did anything change concerning this issue ? Because wbe-dev.inbo.be now works (0.3.1) but the hash info is not displayed and building & running in docker results in a timeout now (see #432)

Did anything change concerning this issue ?

It could be that login with default account triggered the timeout (error #432) versus specific WBE login didn't.

Because wbe-dev.inbo.be now works (0.3.1) but the hash info is not displayed

hash info is only displayed correctly with this build command. @TheJenne18 did you use this?

and building & running in docker results in a timeout now (see #432)

a PR is created for this. Error was due to data update (?)

@mvarewyck when @TheJenne18 tried deploying d4f4c08 he encountered the following error:

root@ip-172-28-1-252:~# docker logs -t ec1bcbd8c3c1

2023-10-31T12:29:40.007825754Z

2023-10-31T12:29:40.008024096Z R version 4.0.5 (2021-03-31) -- "Shake and Throw"

2023-10-31T12:29:40.008138974Z Copyright (C) 2021 The R Foundation for Statistical Computing

2023-10-31T12:29:40.008149074Z Platform: x86_64-pc-linux-gnu (64-bit)

2023-10-31T12:29:40.008153578Z

2023-10-31T12:29:40.008221226Z R is free software and comes with ABSOLUTELY NO WARRANTY.

2023-10-31T12:29:40.008227631Z You are welcome to redistribute it under certain conditions.

2023-10-31T12:29:40.008232208Z Type 'license()' or 'licence()' for distribution details.

2023-10-31T12:29:40.008235849Z

2023-10-31T12:29:40.008303455Z R is a collaborative project with many contributors.

2023-10-31T12:29:40.008309756Z Type 'contributors()' for more information and

2023-10-31T12:29:40.008313780Z 'citation()' on how to cite R or R packages in publications.

2023-10-31T12:29:40.008317733Z

2023-10-31T12:29:40.008374327Z Type 'demo()' for some demos, 'help()' for on-line help, or

2023-10-31T12:29:40.008379915Z 'help.start()' for an HTML browser interface to help.

2023-10-31T12:29:40.008384254Z Type 'q()' to quit R.

2023-10-31T12:29:40.008388579Z

2023-10-31T12:29:43.360670734Z During startup - Warning message:

2023-10-31T12:29:43.360712027Z replacing previous import ‘shiny::renderDataTable’ by ‘DT::renderDataTable’ when loading ‘reportingGrofwild’

2023-10-31T12:29:43.368190913Z > reportingGrofwild::runWildApp(public = FALSE)

2023-10-31T12:29:43.371823840Z sh: 1: git: not found

2023-10-31T12:29:43.373391577Z Loading required package: shiny

2023-10-31T12:29:46.581054698Z Warning in ..stacktraceon..({ : NAs introduced by coercion

2023-10-31T12:29:46.631514836Z List of 5

2023-10-31T12:29:46.633100136Z  $ Code     : chr "NoSuchKey"

2023-10-31T12:29:46.633979173Z  $ Message  : chr "The specified key does not exist."

2023-10-31T12:29:46.635038982Z  $ Key      : chr "spatialDataWBE/NA.RData"

2023-10-31T12:29:46.635740504Z  $ RequestId: chr "2K68REK61CWNHSHC"

2023-10-31T12:29:46.636446354Z  $ HostId   : chr "gTHNhWL+Gpm0AlSQeMYNUDBX7A5n6NTBigP+4ekw89IDA9U7trPvwvf7fOt5ujHM3jmlJOkh2PA="

2023-10-31T12:29:46.637067418Z  - attr(*, "headers")=List of 6

2023-10-31T12:29:46.638035400Z   ..$ x-amz-request-id : chr "2K68REK61CWNHSHC"

2023-10-31T12:29:46.639060615Z   ..$ x-amz-id-2       : chr "gTHNhWL+Gpm0AlSQeMYNUDBX7A5n6NTBigP+4ekw89IDA9U7trPvwvf7fOt5ujHM3jmlJOkh2PA="

2023-10-31T12:29:46.639695152Z   ..$ content-type     : chr "application/xml"

2023-10-31T12:29:46.640320071Z   ..$ transfer-encoding: chr "chunked"

2023-10-31T12:29:46.641001427Z   ..$ date             : chr "Tue, 31 Oct 2023 12:29:46 GMT"

2023-10-31T12:29:46.642376251Z   ..$ server           : chr "AmazonS3"

2023-10-31T12:29:46.643268269Z   ..- attr(*, "class")= chr [1:2] "insensitive" "list"

2023-10-31T12:29:46.644123535Z  - attr(*, "class")= chr "aws_error"

2023-10-31T12:29:46.646064054Z  - attr(*, "request_canonical")= chr "GET\n/inbo-wbe-uat-data/spatialDataWBE/NA.RData\n\nhost:s3-eu-west-1.amazonaws.com\nx-amz-date:20231031T122946Z"| __truncated__

2023-10-31T12:29:46.646875458Z  - attr(*, "request_string_to_sign")= chr "AWS4-HMAC-SHA256\n20231031T122946Z\n20231031/eu-west-1/s3/aws4_request\n33166e219a3cec79eb0d7a7674541fa1455e6da"| __truncated__

2023-10-31T12:29:46.647685251Z  - attr(*, "request_signature")= chr "AWS4-HMAC-SHA256 Credential=ASIATJMIC2PGBJ2NF3GE/20231031/eu-west-1/s3/aws4_request,SignedHeaders=host;x-amz-da"| __truncated__

2023-10-31T12:29:46.647872820Z NULL

2023-10-31T12:29:46.648521231Z Error in parse_aws_s3_response(r, Sig, verbose = verbose) :

2023-10-31T12:29:46.648531491Z   Not Found (HTTP 404).

2023-10-31T12:29:46.648535320Z Calls: <Anonymous> ... save_object -> s3HTTP -> parse_aws_s3_response -> <Anonymous>

2023-10-31T12:29:46.679288419Z Execution halted

See Error in parse_aws_s3_response -> something seems to go wrong in the S3 parsing

@SanderDevisscher It tries to retrieve the data "spatialDataWBE/NA.RData" so with an unknown WBE.
So I would like to know which docker run command @TheJenne18 uses. For me building and running the image for a specific WBE works.

Following the instructions in README

sudo docker run -p 3001:3838 inbo/wildapp R -e "Sys.setenv('AWS_DEFAULT_REGION'='eu-west-1','AWS_ACCESS_KEY_ID'='xxx','AWS_SECRET_ACCESS_KEY'='xxx'); reportingGrofwild::runWildApp(public=FALSE, kbo = xxx)" 

@TheJenne18

  • I think you have to update the docker build command, to resolve sh: 1: git: not found, but this is not a breaking error. See here
  • Your docker run command looks fine. For which KBO did you try to start the app? I think it doesn't find any matching WBE for your KBO. I'll implement a fix that catches this scenario.

@TheJenne18 Could you please try again with the latest changes?

If it still fails, could you print the error logs? It should now also print the KBO, which makes it easier for me to debug.

For an invalid KBO, the app will start but indicate red error message:

Screenshot from 2023-11-06 14-53-17

@TheJenne18 this is fixed ? correct ? reopen ifnot.