Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Error: I/O must be done in the executor #112

Open
krubottom opened this issue Apr 29, 2021 · 4 comments
Open

Error: I/O must be done in the executor #112

krubottom opened this issue Apr 29, 2021 · 4 comments

Comments

@krubottom
Copy link

Hello, when attempting to setup I get the error message below after trying to link.

Logger: O365.connection
Source: /usr/local/lib/python3.8/site-packages/O365/connection.py:509
First occurred: 7:22:03 AM (1 occurrences)
Last logged: 7:22:03 AM

Unable to fetch auth token. Error: I/O must be done in the executor; Use await hass.async_add_executor_job() at custom_components/o365/init.py, line 159: self.account.con.request_token(

@krubottom
Copy link
Author

I also get the error below:

Logger: homeassistant.util.async_
Source: util/async_.py:131
First occurred: 7:49:40 AM (2 occurrences)
Last logged: 7:54:40 AM

Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for o365 doing I/O at custom_components/o365/init.py, line 159: self.account.con.request_token(

@ryanm7780
Copy link

Did anyone find a solution to this?

@krubottom
Copy link
Author

I had to change to the alternate authentication flow.

@Talvien
Copy link

Talvien commented Jul 12, 2021

Same issue here

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

No branches or pull requests

3 participants