[GH-ISSUE #3450] The user = your_name configuration item is concatenated with visitor server_name item , Therefore custom cannot be found #2761

Closed
opened 2026-05-05 13:46:52 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @louzhuzhijia on GitHub (May 26, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3450

Bug Description

computer windows01
[common]
user = win_01

[xtcp_win_02_3389_visitor]
type = xtcp
role = visitor
server_name = win_02.xtcp_3389

computer windows02
[common]
user = win_02

[xtcp_3389]
type = xtcp

use computer 01 connection exception log:
[win_01.xtcp_win_02_3389_visitor] start new visitor connection error: custom listener for [win_01.win_02.xtcp_3389] doesn't exist
When computer 01 connects to computer 02 port 3389, its [user] name will be concatenated to [server_name]. Therefore, custom cannot be found
Remove the user = win_01 configuration in computer 01 to access normally

frpc Version

0.48.0

frps Version

0.48.0

System Architecture

windows/amd64

Configurations

see the description

Logs

No response

Steps to reproduce

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @louzhuzhijia on GitHub (May 26, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3450 ### Bug Description computer windows01 [common] user = win_01 [xtcp_win_02_3389_visitor] type = xtcp role = visitor server_name = win_02.xtcp_3389 computer windows02 [common] user = win_02 [xtcp_3389] type = xtcp use computer 01 connection exception log: [win_01.xtcp_win_02_3389_visitor] start new visitor connection error: custom listener for [win_01.win_02.xtcp_3389] doesn't exist When computer 01 connects to computer 02 port 3389, its [user] name will be concatenated to [server_name]. Therefore, custom cannot be found Remove the user = win_01 configuration in computer 01 to access normally ### frpc Version 0.48.0 ### frps Version 0.48.0 ### System Architecture windows/amd64 ### Configurations see the description ### Logs _No response_ ### Steps to reproduce _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@zhangnew commented on GitHub (Jun 9, 2023):

根据 #927 作者的回复,stcp 客户端和服务端的 user 需要相同,这个逻辑比较奇怪~

<!-- gh-comment-id:1584338157 --> @zhangnew commented on GitHub (Jun 9, 2023): 根据[ #927 ](https://github.com/fatedier/frp/issues/927#issuecomment-440503770) 作者的回复,stcp 客户端和服务端的 user 需要相同,这个逻辑比较奇怪~
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: github-starred/frp#2761
No description provided.