René's URL Explorer Experiment


Title: [BUG] "PostgreSQL query failed: host resolves to a blocked IP address" · Issue #4319 · simstudioai/sim · GitHub

Open Graph Title: [BUG] "PostgreSQL query failed: host resolves to a blocked IP address" · Issue #4319 · simstudioai/sim

X Title: [BUG] "PostgreSQL query failed: host resolves to a blocked IP address" · Issue #4319 · simstudioai/sim

Description: Describe the bug Im trying to connect an AI agent to a local postgres DB but keep getting stuck on this error To Reproduce Create a block for PostgreSQL and use a local container name in the same docker network Expected behavior Connecti...

Open Graph Description: Describe the bug Im trying to connect an AI agent to a local postgres DB but keep getting stuck on this error To Reproduce Create a block for PostgreSQL and use a local container name in the same d...

X Description: Describe the bug Im trying to connect an AI agent to a local postgres DB but keep getting stuck on this error To Reproduce Create a block for PostgreSQL and use a local container name in the same d...

Opengraph URL: https://github.com/simstudioai/sim/issues/4319

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] \"PostgreSQL query failed: host resolves to a blocked IP address\"","articleBody":"**Describe the bug**\nIm trying to connect an AI agent to a local postgres DB but keep getting stuck on this error\n\n**To Reproduce**\nCreate a block for PostgreSQL and use a local container name in the same docker network\n\n**Expected behavior**\nConnection OK\n\n**Screenshots**\n\n\u003cimg width=\"1290\" height=\"828\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e0f33ddf-f440-435c-b7ec-9943050f52f7\" />\n\n**Additional context**\nDocker stack im using via Swarm:\n```\nservices:\n  simstudio:\n    image: ghcr.io/simstudioai/simstudio:${VERSION}\n    restart: unless-stopped\n    ports:\n      - '3010:3000'\n    deploy:\n      resources:\n        limits:\n          memory: 8G\n      placement:\n        constraints:\n          - node.labels.env != db\n          - node.labels.env != dmz\n    environment:\n      - NODE_ENV=production\n      - DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-simstudio}\n      - BETTER_AUTH_URL=${NEXT_PUBLIC_APP_URL:-http://10.10.144.81:3010}\n      - NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://10.10.144.81:3010}\n      - BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}\n      - ENCRYPTION_KEY=${ENCRYPTION_KEY}\n      - API_ENCRYPTION_KEY=${API_ENCRYPTION_KEY:-}\n      - INTERNAL_API_SECRET=${INTERNAL_API_SECRET}\n      - REDIS_URL=redis://redis:6379/0\n#      - COPILOT_API_KEY=${COPILOT_API_KEY}\n#      - SIM_AGENT_API_URL=${SIM_AGENT_API_URL}\n      - SOCKET_SERVER_URL=${SOCKET_SERVER_URL:-http://realtime:3002}\n      - NEXT_PUBLIC_SOCKET_URL=${NEXT_PUBLIC_SOCKET_URL:-http://10.10.144.81:3002}\n      - ADMISSION_GATE_MAX_INFLIGHT=${ADMISSION_GATE_MAX_INFLIGHT:-500}\n    depends_on:\n      - db\n      - migrations\n      - realtime\n    healthcheck:\n      test: ['CMD', 'curl', '-fsS', 'http://127.0.0.1:3000']\n      interval: 90s\n      timeout: 5s\n      retries: 3\n      start_period: 10s\n    networks:\n      - ssoc-soar-v2\n      \n  realtime:\n    image: ghcr.io/simstudioai/realtime:${VERSION}\n    restart: unless-stopped\n    ports:\n      - '3002:3002'\n    deploy:\n      resources:\n        limits:\n          memory: 1G\n      placement:\n        constraints:\n        - node.labels.env != db\n        - node.labels.env != dmz\n    environment:\n      - NODE_ENV=production\n      - DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-simstudio}\n      - NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL:-http://10.10.144.81:3010}\n      - BETTER_AUTH_URL=${BETTER_AUTH_URL:-http://10.10.144.81:3010}\n      - BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}\n      - INTERNAL_API_SECRET=${INTERNAL_API_SECRET}\n      - REDIS_URL=redis://redis:6379/0\n    depends_on:\n      - db\n    healthcheck:\n      test: ['CMD', 'curl', '-fsS', 'http://127.0.0.1:3002/health']\n      interval: 90s\n      timeout: 5s\n      retries: 3\n      start_period: 10s\n    networks:\n      - ssoc-soar-v2\n      \n  migrations:\n    image: ghcr.io/simstudioai/migrations:${VERSION}\n    deploy:\n      placement:\n        constraints:\n          - node.labels.env != db\n          - node.labels.env != dmz\n      restart_policy:\n        condition: none\n    working_dir: /app/packages/db\n    environment:\n      - DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/${POSTGRES_DB:-simstudio}\n    depends_on:\n      - db\n    command: ['bun', 'run', 'db:migrate']\n    networks:\n      - ssoc-soar-v2\n      \n  db:\n    image: pgvector/pgvector:pg17\n    restart: unless-stopped\n    deploy:\n      placement:\n        constraints:\n          - node.labels.env != db\n          - node.labels.env != dmz\n    environment:\n      - POSTGRES_USER=${POSTGRES_USER:-postgres}\n      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}\n      - POSTGRES_DB=${POSTGRES_DB:-simstudio}\n      - POSTGRES_HOST_AUTH_METHOD=scram-sha-256\n      - POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256\n    volumes:\n      - /mnt/nfs_share/ssoc/sim/postgres_data:/var/lib/postgresql/data\n    healthcheck:\n      test: ['CMD-SHELL', 'pg_isready -U postgres']\n      interval: 30s\n      timeout: 60s\n      retries: 5\n    networks:\n      - ssoc-soar-v2\n      \n  postgres-alerts:\n    hostname: soar-db-alerts\n    image: postgres:18\n    deploy:\n      mode: replicated\n      replicas: 1\n      restart_policy:\n        condition: on-failure\n        delay: 15s\n        max_attempts: 3\n      placement:\n        constraints:\n          - node.labels.env == db\n    environment:\n    - POSTGRES_DB=alerts\n    - POSTGRES_NON_ROOT_USER=n8n\n    - POSTGRES_NON_ROOT_PASSWORD=REDACTED\n    - POSTGRES_PASSWORD=REDACTED\n    - POSTGRES_USER=root\n    - TZ=Europe/Rome\n    volumes:\n      - /mnt/iscsi-n8n-dbalerts:/var/lib/postgresql/\n    healthcheck:\n      test: ['CMD-SHELL', 'pg_isready -h localhost -U root -d alerts']\n      interval: 15s\n      timeout: 5s\n      retries: 10\n    networks:\n      - ssoc-soar-v2\n\n  redis:\n    hostname: soar-redis\n    image: redis:7-alpine\n    deploy:\n      mode: replicated\n      replicas: 1\n      restart_policy:\n        condition: on-failure\n        delay: 5s\n        max_attempts: 3\n      placement:\n        constraints:\n          - node.labels.env != db\n          - node.labels.env != dmz\n    volumes:\n      - /mnt/nfs_share/ssoc/n8n/redis_storage:/data\n    healthcheck:\n      test: ['CMD', 'redis-cli', 'ping']\n      interval: 5s\n      timeout: 5s\n      retries: 10\n    networks:\n      - ssoc-soar-v2\n\n  qdrant:\n    image: qdrant/qdrant:${QDRANT_VERSION}\n    hostname: qdrant\n    deploy:\n      mode: replicated\n      replicas: 1\n      restart_policy:\n        condition: on-failure\n        delay: 5s\n        max_attempts: 3\n      placement:\n        constraints:\n          - node.labels.env == db\n    volumes:\n      - \"/mnt/iscsi-qdrant:/qdrant/storage:z\"\n    networks:\n      - ssoc-soar-v2\n      - waf\n\nnetworks:\n  ssoc-soar-v2:\n    external: false\n    name: \"ssoc-soar-v2\"\n  waf:\n    external: true\n    name: waf-cld_waf\n```","author":{"url":"https://github.com/xBounceIT","@type":"Person","name":"xBounceIT"},"datePublished":"2026-04-28T09:53:45Z","url":"https://github.com/simstudioai/sim/issues/4319"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3733fc4b-6723-6492-a558-48ba0791d528
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB89C:15DF38:72EA5C:9DAD57:6AFB42B3
html-safe-nonce128195df4012fd573cc4d17bf09f6983581ad6dba01d3822b42b1b1ef2372e4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODlDOjE1REYzODo3MkVBNUM6OURBRDU3OjZBRkI0MkIzIiwidmlzaXRvcl9pZCI6IjM4NjU3ODA1MDkxODg1OTQ0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9f23fa98aca778fe4c2c2bc1fc26406606a4f4e80c004e0d33b9bbdd34770f60
hovercard-subject-tagissue:4342177457
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/simstudioai/sim/4319/issue_layout
twitter:imagehttps://opengraph.githubassets.com/12a42df19394587eab4cf49ac352307f4dc6018c3e11e82b08dfcb9b8d8879ae/simstudioai/sim/issues/4319
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/12a42df19394587eab4cf49ac352307f4dc6018c3e11e82b08dfcb9b8d8879ae/simstudioai/sim/issues/4319
og:image:altDescribe the bug Im trying to connect an AI agent to a local postgres DB but keep getting stuck on this error To Reproduce Create a block for PostgreSQL and use a local container name in the same d...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamexBounceIT
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/simstudioai/sim/issues/4319#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fissues%2F4319
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fissues%2F4319
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/issues/4319
Reloadhttps://github.com/simstudioai/sim/issues/4319
Reloadhttps://github.com/simstudioai/sim/issues/4319
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
https://github.com/simstudioai/sim
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/4319
New issuehttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/4319
[BUG] "PostgreSQL query failed: host resolves to a blocked IP address"https://github.com/simstudioai/sim/issues/4319#top
bugSomething isn't workinghttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/xBounceIT
xBounceIThttps://github.com/xBounceIT
on Apr 28, 2026https://github.com/simstudioai/sim/issues/4319#issue-4342177457
https://private-user-images.githubusercontent.com/35002896/584731487-e0f33ddf-f440-435c-b7ec-9943050f52f7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4NTE4MDgsIm5iZiI6MTc5NDg1MTUwOCwicGF0aCI6Ii8zNTAwMjg5Ni81ODQ3MzE0ODctZTBmMzNkZGYtZjQ0MC00MzVjLWI3ZWMtOTk0MzA1MGY1MmY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE2VDE3NTE0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhOWIwYjRlMDc4Y2UxNzQyMWI5NmQ1NWU4OGFjYTlkMzIwNzY1MTkzODQyYzQ1MzZiNzY1Y2FiYTRlZDJhMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.I69Sf-A41RnzDYRTSaAXdvn7uYpyZOC0-LIG3BohlXo
xBounceIThttps://github.com/xBounceIT
bugSomething isn't workinghttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22bug%22
on Apr 28, 2026https://github.com/simstudioai/sim/issues/4319#event-24941922249
https://github.com/Osraka
Osrakahttps://github.com/Osraka
on Jul 1, 2026https://github.com/simstudioai/sim/issues/4319#issuecomment-4850802783
waleedlatif1https://github.com/waleedlatif1
on Jul 1, 2026https://github.com/simstudioai/sim/issues/4319#event-27443684371
fix(connectors): allow self-hosted private DB hosts via opt-in flag (#…https://github.com/simstudioai/sim/commit/af87de09a7edd15af28fca66d1449397a899c083
#…https://github.com/simstudioai/sim/pull/5322
https://docs.github.com/articles/closing-issues-via-commit-messages
af87de0https://github.com/simstudioai/sim/commit/af87de09a7edd15af28fca66d1449397a899c083
waleedlatif1https://github.com/waleedlatif1
completedhttps://github.com/simstudioai/sim/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
af87de0https://github.com/simstudioai/sim/commit/af87de09a7edd15af28fca66d1449397a899c083
on Jul 2, 2026https://github.com/simstudioai/sim/issues/4319#event-27458313324
Sign up for freehttps://github.com/signup?return_to=https://github.com/simstudioai/sim/issues/4319
Sign in to commenthttps://github.com/login?return_to=https://github.com/simstudioai/sim/issues/4319
bugSomething isn't workinghttps://github.com/simstudioai/sim/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.