Title: Postgres engine default keepalives_idle value causes setsockopt(TCP_KEEPIDLE) invalid value · Issue #3750 · feast-dev/feast · GitHub
Open Graph Title: Postgres engine default keepalives_idle value causes setsockopt(TCP_KEEPIDLE) invalid value · Issue #3750 · feast-dev/feast
X Title: Postgres engine default keepalives_idle value causes setsockopt(TCP_KEEPIDLE) invalid value · Issue #3750 · feast-dev/feast
Description: Get OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: setsockopt(TCP_KEEPIDLE) failed: Invalid argument when run feast apply. Because of keepalives_idle=config.keepalives_idle field in function '_get_co...
Open Graph Description: Get OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: setsockopt(TCP_KEEPIDLE) failed: Invalid argument when run feast apply. Because of keepalives_idle=config.ke...
X Description: Get OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: setsockopt(TCP_KEEPIDLE) failed: Invalid argument when run feast apply. Because of keepalives_idle...
Opengraph URL: https://github.com/feast-dev/feast/issues/3750
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Postgres engine default keepalives_idle value causes setsockopt(TCP_KEEPIDLE) invalid value","articleBody":"Get `OperationalError: connection to server at \"localhost\" (127.0.0.1), port 5432 failed: setsockopt(TCP_KEEPIDLE) failed: Invalid argument` when run `feast apply`.\r\nBecause of `keepalives_idle=config.keepalives_idle` field in function '_get_conn' in `infra/utils/postgres/connection_utils.py` file. For example, to avoid this error I need to pass 'keepalives_idle=1', but that argument isn't parsed for the registry in feature_store.yaml and pass 'keepalives_idle=0' by default setting in `infra/utils/postgres/postgres_config.py`. \r\n\r\n- Version: 0.33.1\r\n- Platform: linux ubuntu 20.04\r\n- Subsystem:\r\n\r\n## Possible Solution\r\nCheck this issue with the same problem https://github.com/TobikoData/sqlmesh/issues/750. I think you shouldn't pass 'keepalives_idle=0' by default.","author":{"url":"https://github.com/ndemashov","@type":"Person","name":"ndemashov"},"datePublished":"2023-08-29T20:13:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3750/feast/issues/3750"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e9d54de7-d31f-a4c6-81f8-ba015ccc2a5f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E604:306FB7:10E484A:1793D37:6972633E |
| html-safe-nonce | de36ab13143694bcc4e923851ac3dea32b4026533817293e4433a8c3ddfb3222 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjA0OjMwNkZCNzoxMEU0ODRBOjE3OTNEMzc6Njk3MjYzM0UiLCJ2aXNpdG9yX2lkIjoiOTEwOTc0MTA2ODEyNjE1MTQ4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 319ff3ea54e7cf57fe278ee7a1ee0899241d5c93bd6e9b2451d5d344e47c383c |
| hovercard-subject-tag | issue:1872357327 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/3750/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f24e6acb2be2dbe838280ce93fd7a560365bd531c361b5c9e61e7c020e54b0f7/feast-dev/feast/issues/3750 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f24e6acb2be2dbe838280ce93fd7a560365bd531c361b5c9e61e7c020e54b0f7/feast-dev/feast/issues/3750 |
| og:image:alt | Get OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: setsockopt(TCP_KEEPIDLE) failed: Invalid argument when run feast apply. Because of keepalives_idle=config.ke... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ndemashov |
| hostname | github.com |
| expected-hostname | github.com |
| None | ab2c8e6ec49d8737f6bf007a86b2c4a2bc434bba562c524e0c76465bc9ed358b |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bb8e0c9f4e51b63385b80feac0e6ba25e8dbd5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width