You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I certify that I have read the contributing guidelines and I acknowledge if I don't follow the format below, or I'm using an old version of trojan, or I apparently fail to provide sufficient information (such as logs, specific numbers), or I don't check this box, my issue will be closed immediately without any notice.
Trojan Version
1.16.0
Describe the bug
Trojan server declines requests because of incorrect password when the password is correctly saved in mysql database.
To Reproduce
Create database and insert a user, attempt to connect with the password.
Logs valid trojan request structure but possibly incorrect password (8fdd806e2faa58d8dd807977987d2f39442b2d0ce0198bd03d8191ab)
Environment
ubuntu
Additional context
users table:
CREATE TABLE `users` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(64) NOT NULL,
`password` char(56) NOT NULL,
`quota` bigint NOT NULL DEFAULT '0',
`download` bigint unsigned NOT NULL DEFAULT '0',
`upload` bigint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `password` (`password`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (13,'ali','8fdd806e2faa58d8dd807977987d2f39442b2d0ce0198bd03d8191ab',0,0,0);
Trojan Version
1.16.0
Describe the bug
Trojan server declines requests because of incorrect password when the password is correctly saved in mysql database.
To Reproduce
Create database and insert a user, attempt to connect with the password.
Logs
valid trojan request structure but possibly incorrect password (8fdd806e2faa58d8dd807977987d2f39442b2d0ce0198bd03d8191ab)
Environment
ubuntu
Additional context
users table:
my trojan.conf:
The text was updated successfully, but these errors were encountered: