Platform?
Windows 10

Which controllers specifically did you try?
360 controller and ds4 controller both wired

When using wired method, did you disable any bluetooth options to avoid interference?
Yes

Do you have multiple controllers or other 3rd party devices hooked up the machine?
No

Did anything change in the computer's environment that may have contributed to the problem?
No

Try running a clean boot on the machine to see if that may help (disable any programs that may be interfering with the game such as discord if applicable)
Can't say if it help or not, it doesn't happen all the time, sometimes it doesn't happen in days and then it happen every minutes for an hour or so

Wired or wireless connection:
Wired