davidhamann / python-fmrest

Python wrapper around the FileMaker Data API
MIT License
99 stars 27 forks source link

read time-out #78

Closed wimdecorte closed 1 month ago

wimdecorte commented 1 month ago

Getting this error when running a script that takes some time:

fmrest.exceptions.RequestException: Request error: HTTPSConnectionPool(host='server.ets.fm', port=443): Read timed out. (read timeout=10)

Normally I'd parcel off the long-running task through PSoS-no-wait in the DAPI script but bugs in FMS prevent me from doing that.

How can I change the timeout?

Thanks, Wim

wimdecorte commented 1 month ago

disregard, I found the setting in the server init.

davidhamann commented 1 month ago

Correct. Just make sure you are on the latest version as the timeout was previously only supported to be set via an environment variable.