[BUG] X Integration
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker-compose, nginx, typescript
- Lĩnh vực
- api, authentication, devops
Hướng nghiên cứu
Start by reproducing the x_write workflow failure on the self-hosted Docker Compose deployment, then inspect docker-compose.prod.yml and the .env credential handling for the X/Twitter variables listed in the report. Done means the container can authenticate with the configured credentials and successfully post through the X node without the 403 error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When attempting to post to X.com (Twitter) using the x_write tool, the workflow fails with an authentication error: "Failed to obtain credential for tool x_write: Failed to fetch access token: 403 {"error":"Authentication required - provide session, API key, or internal JWT"}"
To Reproduce
Steps to reproduce the behavior:
Create a new workflow in Sim Studio
Add an X (Twitter) node with the x_write action
Configure the post content and parameters
Click 'Run' to execute the workflow
See error: "Failed to obtain credential for tool x_write: Failed to fetch access token: 403"
Expected behavior
The workflow should authenticate successfully with X.com using the configured credentials and post the content to Twitter without errors. The tool should either:
Use OAuth credentials (X_CLIENT_ID and X_CLIENT_SECRET) to obtain an access token, or
Use pre-configured Twitter API credentials (API key, API secret, access token, and access token secret)
Screenshots
Error message in workflow execution:
"Failed to obtain credential for tool x_write: Failed to fetch access token: 403 {"error":"Authentication required - provide session, API key, or internal JWT"}"
Additional context
Self-hosted Sim Studio instance running via Docker Compose (docker-compose.prod.yml)
Using HTTPS with nginx reverse proxy (https://sim.rpd.pm/)
Have valid X/Twitter API credentials including:
X_CLIENT_ID and X_CLIENT_SECRET (for OAuth 2.0)
TWITTER_API_KEY and TWITTER_API_SECRET
TWITTER_ACCESS_TOKEN and TWITTER_ACCESS_TOKEN_SECRET
TWITTER_BEARER_TOKEN
Credentials are set in .env file but may not be properly passed to the simstudio container
The error suggests the tool cannot access the credentials, possibly due to missing environment variable configuration in docker-compose.prod.yml
No credential management interface found in the Sim Studio UI to manually configure X/Twitter credentials
- Ngôn ngữ chính
- TypeScript
- Star
- 29.8k
- Fork
- 3.9k
- Merge trung bình
- 1 giờ 44 phút
- Pull request đã merge (30 ngày)
- 841
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của simstudioai/sim
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
simstudioai/sim#9831 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
v2 API rate limits self-hosted installs by IP even with billing disabledCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
simstudioai/sim#8452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)Có thể làm lại được @sahooarnav2007-gif đã nhận 15 ngày trước và không có pull request nào đang mở. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
simstudioai/sim#6246 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
simstudioai/sim#1204 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
simstudioai/sim#9734 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của simstudioai/sim
Issue tương tự
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLCó thể đã có người làm @Donvero đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
mui/material-ui#49751 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
diplodoc-platform/transform#1184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JonasKruckenberg/imagetools#973 ·
Maintainer thường phản hồi trong vòng 1 ngày