Skip to content

od_catalogue(local = FALSE) fails with SSL verification error #48

@DavidZenz

Description

@DavidZenz

Describe the bug
Calling od_catalogue(local = FALSE) fails due to SSL verification:

> data_catalogue <- od_catalogue(local = FALSE)
Fehler in curl::curl_fetch_memory(url, handle = handle) : 
  SSL peer certificate or SSH remote key was not OK [data.statistik.gv.at]: server certificate verification failed. CAfile: none CRLfile: none

To Reproduce

library(STATcubeR)

data_catalogue <- od_catalogue(local = FALSE)

Expected behavior
The function should download and parse the remote catalogue over HTTPS without SSL errors on a standard Linux server with a functioning system CA bundle.

Environment

> sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3 
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3;  LAPACK version 3.8.0

locale:
 [1] LC_CTYPE=de_AT.UTF-8       LC_NUMERIC=C               LC_TIME=de_AT.UTF-8        LC_COLLATE=de_AT.UTF-8     LC_MONETARY=de_AT.UTF-8    LC_MESSAGES=de_AT.UTF-8    LC_PAPER=de_AT.UTF-8      
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=de_AT.UTF-8 LC_IDENTIFICATION=C       

time zone: Europe/Vienna
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] STATcubeR_0.5.0   data.table_1.15.0 lubridate_1.9.3   forcats_1.0.0     stringr_1.5.1     dplyr_1.1.4       purrr_1.0.2       readr_2.1.5       tidyr_1.3.1       tibble_3.2.1      ggplot2_4.0.0    
[12] tidyverse_2.0.0   rvest_1.0.3      

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       compiler_4.3.0     tidyselect_1.2.0   xml2_1.3.6         scales_1.4.0       here_1.0.1         R6_2.5.1           generics_0.1.3     curl_6.2.2         rprojroot_2.0.4   
[11] pillar_1.9.0       RColorBrewer_1.1-3 tzdb_0.4.0         rlang_1.1.5        utf8_1.2.4         stringi_1.8.3      fs_1.6.3           S7_0.2.0           timechange_0.3.0   cli_3.6.2         
[21] withr_3.0.0        magrittr_2.0.3     grid_4.3.0         rstudioapi_0.15.0  remotes_2.4.2.1    hms_1.1.3          lifecycle_1.0.4    vctrs_0.6.5        glue_1.7.0         farver_2.1.1      
[31] fansi_1.0.6        httr_1.4.7         tools_4.3.0        pkgconfig_2.0.3   

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions