# SQLState 08006, errorCode 17002: IO Error: Connection timed out in Oracle Integration: cause and fix

Source page: https://ipaaserrors.com/oracle-integration/sqlstate-08006-errorcode-17002-connection-timed-out
Platform: Oracle Integration · Oracle Database adapter (polling trigger) · Code 17002
Checked against vendor docs: 2026-11-23

SQLState 08006 with errorCode 17002 in the Oracle Database adapter can mean a firewall is terminating idle database sessions. Make sure the firewall does not terminate idle connections, and avoid updating the table that the trigger polls.

## Error text

```
SQLState: 08006 errorCode: 17002 message: IO Error: Connection timed out
```

## Likely causes

- A firewall between the adapter and the database terminates idle sessions.
- The table being polled by the trigger is also being updated.

## How to fix it

1. Make sure the firewall does not terminate idle database connections.
2. Avoid updating the table that the polling trigger reads from.
3. Reactivate the integration and confirm polling resumes.

## Sources

- [Resolve Message Time Out Errors](https://docs.oracle.com/en/cloud/paas/application-integration/dbaas-adapter/resolve-message-time-out-errors.html)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/oracle-integration/sqlstate-08006-errorcode-17002-connection-timed-out and the vendor documentation above.
