ESOCKETTIMEDOUT on Android 10 real device

Hi,

I am getting ESOCKETTIMEDOUT error when trying to run tests on real device Samsung S10 (Android 10). The login steps work fine, but after that appium returns ESOCKETTIMEDOUT error when trying to perform click action.

Appium version: 1.15.1
Android version: 10

Appium logs:

Calling AppiumDriver.click() with args: [“a3fffd48-34e1-42cf-b341-bb2f63a929fc”,“0093d422-00ce-4fc6-b14a-c9697b9965f5”]
[WD Proxy] Got an unexpected response with status undefined: {“code”:“ESOCKETTIMEDOUT”,“connect”:false}
[debug] [WD Proxy] Matched ‘/element/a3fffd48-34e1-42cf-b341-bb2f63a929fc/click’ to command name ‘click’
[debug] [WD Proxy] Proxying [POST /element/a3fffd48-34e1-42cf-b341-bb2f63a929fc/click] to [POST http://localhost:8203/wd/hub/session/a2cd3ad3-67b1-40c4-9761-7e14778ea125/element/a3fffd48-34e1-42cf-b341-bb2f63a929fc/click] with body: {“element”:“a3fffd48-34e1-42cf-b341-bb2f63a929fc”}
[debug] [W3C (0093d422)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
[debug] [W3C (0093d422)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:261:13)
[debug] [W3C (0093d422)] at
[WD Proxy] Got an unexpected response with status undefined: {“code”:“ESOCKETTIMEDOUT”,“connect”:false}
[debug] [W3C (0093d422)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
[debug] [W3C (0093d422)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:261:13)
[debug] [W3C (0093d422)] at
[HTTP] <-- POST /wd/hub/session/0093d422-00ce-4fc6-b14

Could someone help me resolve this issue?