I think I’m having a timeout issue when I try to make API calls to the BTC RPC Explorer app using a script I wrote in Python. I’m running Umbrel on a Raspberry Pi4, and connecting to it with my laptop. When I send an API call for a summary of data pertaining to a specific bitcoin address (e.g. “localhost”/api/address/address, including an address at the end), python gives me the following error message:
(‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’)).
Also, when I try to access the API URL using my browser, the browser fails to load the page with the JSON data. It seems like the requests are timing out. On the other hand, I have no problems getting data for blocks or txids from this API. Is there a way to elongate the time-out period, or otherwise address this problem? Any help is much appreciated. Thanks!