[Bug][JIRA Service API TOKEN] Jira API Gateway: saved service-account token truncated by varchar(255), causing Base64 errors and HTTP 500
Maintainer antworten meist innerhalb von 2 Tagen
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 58/100
Rechercherichtung
Start by tracing how Jira connection tokens are saved and loaded, then inspect the database schema or model for the token column and the code that decodes it. Reproduce by saving a scoped Atlassian service-account token and reopening the connection; the report says widening the column to LONGTEXT and recreating the connection resolves it. Done when the saved token is preserved and the Jira connection can be reopened without a Base64 error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Search before asking
- I had searched in the issues and found no similar issues.
What happened
Jira Cloud connections using Atlassian API Gateway and a scoped service-account API token pass Test Connection, but fail after saving.
The issue reproduced in both development and production. Widening the database’s token column to LONGTEXT and recreating the affected connection resolved it.
Version / environment
DevLake backend: v1.0.3-beta17
Config UI: v1.0.3-beta17
Deployment: AWS ECS Fargate
Database: MySQL-compatible, InnoDB, utf8mb4
Connector: Jira Cloud (Atlassian API Gateway)
Authentication: scoped Atlassian service-account API token (AccessToken)
What do you expect to happen
illegal base64 data at input byte 252
Wraps: (2) illegal base64 data at input byte 252
Error types: (1) *hintdetail.withDetail (2) base64.CorruptInputError
How to reproduce
Steps to reproduce
Create a Jira connection.
Select Jira Cloud (Atlassian API Gateway).
Enter a valid site Cloud ID and scoped service-account token.
Click Test Connection—it succeeds.
Save the connection.
Open Add Data Scopes or reload Jira connections.
Anything else
No response
Version
DevLake backend: v1.0.3-beta17
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- Vorherrschende Sprache
- Go
- Sterne
- 3.2k
- Forks
- 832
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 78
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus apache/devlake
-
[Bug][Testmo] Runs, milestones and automation runs: only the first 100 are collectedEvtl. vergeben @ShivamSharma43 hat das vor 1 Tag übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug][Tempo] Worklog domain ids lack the connection id, so connections with the same worklog id overwrite each otherEvtl. vergeben @ShivamSharma43 hat das vor 1 Tag übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 2 Tagen
-
[Bug][linker] LinkPrToIssue never matches lowercase issue keys (e.g. in branch names)Evtl. vergeben @VictorColomb hat das vor 4 Tagen übernommen. Offentype/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
apache/devlake#9283 · 1 Kommentar · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
Maintainer antworten meist innerhalb von 2 Tagen
-
type/bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 51/100
Maintainer antworten meist innerhalb von 2 Tagen
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
blocked-needs-validation bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
projectcapsule/capsule#2280 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
kerti/balances-v2#801 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG] AdvancedCronJob validating webhook reports incorrect field paths for concurrencyPolicy and pod templatesEvtl. vergeben @bhuvan-somisetty hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
openkruise/kruise#2650 ·
Maintainer antworten meist innerhalb von 1 Tag