[GH-ISSUE #4353] WARP license #2967

Closed
opened 2026-10-31 20:29:13 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @BlackRockSoul on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4353

Describe the bug

Cannot set WARP license

Seems like a mistake in the

// web/service/warp.go:155
if success, _ := response["success"].(bool); !success {

The success response doesn't seem to have a success field.
The response is:

{
  "id": "abcdefjh-abcd-abcd-abcd-abcdefghijkl",
  "created": "0001-01-01T00:00:00Z",
  "updated": "2026-05-13T00:00:00.000000000Z",
  "premium_data": 0,
  "quota": 0,
  "warp_plus": true,
  "referral_count": 0,
  "referral_renewal_countdown": 0,
  "role": "child"
}

How to repeat the problem?

  1. Get a license key in the 1.1.1.1 mobile app
  2. Create WARP outbound
  3. Enter the WARP / WARP+ license key and press "Update"

Expected action

The license key is set successfully

Received action

Getting warp set license failed: unknown error

3x-ui Version

3.0.1

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @BlackRockSoul on GitHub (May 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4353 ### Describe the bug Cannot set WARP license Seems like a mistake in the ```go // web/service/warp.go:155 if success, _ := response["success"].(bool); !success { ``` The success response doesn't seem to have a `success` field. The response is: ```json { "id": "abcdefjh-abcd-abcd-abcd-abcdefghijkl", "created": "0001-01-01T00:00:00Z", "updated": "2026-05-13T00:00:00.000000000Z", "premium_data": 0, "quota": 0, "warp_plus": true, "referral_count": 0, "referral_renewal_countdown": 0, "role": "child" } ``` ### How to repeat the problem? 1. Get a license key in the 1.1.1.1 mobile app 2. Create WARP outbound 3. Enter the `WARP / WARP+ license key` and press "Update" ### Expected action The license key is set successfully ### Received action Getting `warp set license failed: unknown error` ### 3x-ui Version 3.0.1 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:29:13 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@abdalrahmanx9 commented on GitHub (May 14, 2026):

github.com/MHSanaei/3x-ui@adc262a238

<!-- gh-comment-id:4446811797 --> @abdalrahmanx9 commented on GitHub (May 14, 2026): https://github.com/MHSanaei/3x-ui/commit/adc262a23875c8c2d107a02209633aaf65a162d3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2967
No description provided.