RSUDP certificate error when fetching station

Hi,
I’m trying to get RSUDP running on a Mac with a new Raspberry Shake setup, but I see the following error when trying to start it up:

[get_inventory] Fetching inventory for station AM.R70FA from Raspberry Shake FDSN.
[get_inventory] ERROR: Inventory fetch failed!
[get_inventory] Error detail: HTTPSConnectionPool(host=‘fdsnws.raspberryshakedata.com’, port=443): Max retries exceeded with url: /fdsnws/station/1/query?network=AM&station=R70FA&level=resp&nodata=404&format=xml (Caused by SSLError(SSLCertVerificationError(1, “[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for ‘fdsnws.raspberryshakedata.com’. (_ssl.c:1000)”)))

Is there some setup that I’m missing, or is this an issue on the server end? Thanks in advance!

Hello monosaltamonte, and welcome to our community!

Could you please try changing the URL for the fetch inventory service in the raspberryshake.py file, editing the current https://fdsnws.raspberryshakedata.com/fdsnws/station/1/query? to https://data.raspberryshake.org/fdsnws/station/1/query?

This should fix your issue and allow RSUDP to download the correct inventory file for your station.

To conclude, we are working on this so that the address will no longer be hardcoded and will become more easily editable in the settings .json file.

Great, thanks for the help! That did fix the issue

2 Likes

Great to hear that, and happy to help!

1 Like