Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout potential fix #175

Open
e3palma opened this issue Oct 3, 2023 · 2 comments
Open

Timeout potential fix #175

e3palma opened this issue Oct 3, 2023 · 2 comments

Comments

@e3palma
Copy link

e3palma commented Oct 3, 2023

I kept getting Timeout error when attempting to connect to pfsense firewall.
I have a prod and a new dev and errors were the same with fresh install.

2023-10-03 08:55:20.814 ERROR (SyncWorker_6) [custom_components.pfsense.pypfsense] Unexpected get_system_info error err=TimeoutError('The read operation timed out'), type(err)=<class 'TimeoutError'>

Increasing timeout to 30 in /config/custom_components/pfsense/pypfsense/init.py solved it for me.

@fama-lama
Copy link

fixed the issue for me

@Rabiat1963
Copy link

Rabiat1963 commented Jul 16, 2024

Increased it to 30.. then to 60.. still getting this:

`This error originated from a custom integration.

Logger: custom_components.pfsense.pypfsense
Source: custom_components/pfsense/pypfsense/init.py:110
integration: pfSense (documentation, issues)
First occurred: July 10, 2024 at 16:07:32 (12690 occurrences)
Last logged: 00:13:45

Unexpected get_system_info error err=gaierror(-3, 'Try again'), type(err)=<class 'socket.gaierror'>
Unexpected delete_arp_entry error err=gaierror(-5, 'Name has no usable address'), type(err)=<class 'socket.gaierror'>
Unexpected get_system_info error err=gaierror(-5, 'Name has no usable address'), type(err)=<class 'socket.gaierror'>
Unexpected get_firmware_update_info error err=TimeoutError('The read operation timed out'), type(err)=<class 'TimeoutError'>
Unexpected get_telemetry error err=TimeoutError('The read operation timed out'), type(err)=<class 'TimeoutError'>`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants