Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全新装的1.5.3,无法远程windows服务器,2008r2/2016都试过了,都不可以 #3312

Open
mengqykids opened this issue Oct 9, 2019 · 8 comments

Comments

@mengqykids
Copy link

commented Oct 9, 2019

[简述你的问题]
全新装的1.5.3,无法远程windows服务器,2008r2/2016都试过了,都不可以

使用版本

[请提供你使用的Jumpserver版本 1.x.x 注: 0.3.x不再提供支持]
全新安装的1.5.3

问题复现步骤
  1. [步骤1]
  2. [步骤2]
    Linux服务器可以正常连接,Windows服务器都无法连接
具体表现[截图可能会更好些,最好能截全]

image

其他

[注:] 完成后请关闭 issue

@wojiushixiaobai

This comment has been minimized.

Copy link
Collaborator

commented Oct 9, 2019

@mengqykids web连接报错截图,windows远程设置截图,windows防火墙远程设置截图

@mengqykids

This comment has been minimized.

Copy link
Author

commented Oct 9, 2019

@wojiushixiaobai 您好,
https://user-images.githubusercontent.com/18392319/66444660-a6622080-ea76-11e9-83f5-b3a7d486b95f.png
这个是Web连接报错

日志报错不太清楚如何查,麻烦指导一下是哪个目录下的哪个文件,谢谢;

windows远程设置截图:
image

Windows防火墙截图:
image

服务器上有赛门铁克,默认防火墙是关闭状态。我们可以使用远程桌面正常访问
image

非常感谢

@BaiJiangJie

This comment has been minimized.

Copy link
Member

commented Oct 9, 2019

查看一下 会话管理 > 终断管理 > 终断列表 中1以 [Gua] 开头的终断的在线状态是什么?

image

@mengqykids

This comment has been minimized.

Copy link
Author

commented Oct 9, 2019

image
您好,状态都是绿色的。

@BaiJiangJie

This comment has been minimized.

Copy link
Member

commented Oct 15, 2019

截一下 Guacamole 的日志(在连接 Windows 资产时)

请问 guacamole 组件是以哪种方式进行部署的?(docker / 源码)

@mengqykids

This comment has been minimized.

Copy link
Author

commented Oct 16, 2019

您好,
请问Guacamole的日志该如何查看?我没有找到这个。

组件是按照官方指导安装的,链接是:
https://jumpserver.readthedocs.io/zh/master/setup_by_centos7.html

@mengqykids

This comment has been minimized.

Copy link
Author

commented Oct 16, 2019

您好,我从网上搜了一下教程,看到日志如下,不知道对不对,麻烦您帮忙看一下,谢谢。

2019-10-16 15:33:44,499 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:33:54,512 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:04,531 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:14,544 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:24,558 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:34,573 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:44,586 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:54,555 [http-nio-8080-exec-5] INFO o.a.g.a.j.c.JumpserverConfigurationService 36 - getUser:7f30aa49-f573-4ed1-9d8d-596f144ef6b7
2019-10-16 15:34:54,556 [http-nio-8080-exec-5] INFO o.a.g.r.auth.AuthenticationService 292 - User "7f30aa49-f573-4ed1-9d8d-596f144ef6b7" successfully authenticated from [10.170.132.141, 172.17.0.1].
2019-10-16 15:34:54,603 [Thread-5] INFO o.a.g.a.j.r.JumpserverRegisterService 220 - 心跳成功{code:201,result:[]}
2019-10-16 15:34:54,607 [http-nio-8080-exec-4] INFO o.a.g.a.j.c.JumpserverConfigurationService 108 - getPermission:{code:200,result:{"actions":["all","connect","upload_file","download_file","updownload"]}}
2019-10-16 15:34:54,633 [http-nio-8080-exec-4] INFO o.a.g.a.j.c.JumpserverConfigurationService 170 - systemUser: f7229a0e-a300-41e0-8213-d3033258f9be
2019-10-16 15:34:54,660 [http-nio-8080-exec-4] INFO o.a.g.a.j.c.JumpserverConfigurationService 122 - getAsset:{code:200,result:{"id":"a816722c-731d-4d46-b3e2-048b4bc64010","ip":"10.170.133.15","hostname":"10.170.133.15","protocols":["rdp/1589"],"platform":"Windows","is_active":true,"public_ip":"","domain":"b12dcf87-2cb9-4b19-b60c-5244fc422b08","admin_user":"587e1bc0-5081-4bf0-bb93-3baea213eac2","nodes":["5817e370-4446-4727-b5e5-bcbd0b8d3875"],"labels":[],"number":"","vendor":null,"model":null,"sn":null,"cpu_model":null,"cpu_count":null,"cpu_cores":null,"cpu_vcpus":null,"memory":null,"disk_total":null,"disk_info":null,"os":null,"os_version":null,"os_arch":null,"hostname_raw":null,"comment":"","created_by":"Administrator","date_created":"2019-10-08 17:22:39 +0800","hardware_info":"","connectivity":{"status":2,"datetime":"2019-10-16 23:34:54 +0800"},"org_id":"","org_name":"DEFAULT"}}
2019-10-16 15:34:54,677 [http-nio-8080-exec-4] INFO o.a.g.a.j.c.JumpserverConfigurationService 154 - Domain: b12dcf87-2cb9-4b19-b60c-5244fc422b08
2019-10-16 15:34:54,677 [http-nio-8080-exec-4] INFO o.a.g.a.j.JumpserverAuthenticationService 208 - 显示设置, width: null, height: null
2019-10-16 15:34:54,677 [http-nio-8080-exec-4] INFO o.a.g.a.j.JumpserverAuthenticationService 222 - 添加资产成功,userId: 7f30aa49-f573-4ed1-9d8d-596f144ef6b7, assetId: a816722c-731d-4d46-b3e2-048b4bc64010, systemUserId: f7229a0e-a300-41e0-8213-d3033258f9be
2019-10-16 15:34:55,080 [http-nio-8080-exec-8] INFO o.a.g.a.j.c.JumpserverConfigurationService 36 - getUser:7f30aa49-f573-4ed1-9d8d-596f144ef6b7
2019-10-16 15:34:55,154 [http-nio-8080-exec-10] INFO o.a.g.environment.LocalEnvironment 124 - GUACAMOLE_HOME is "/config/guacamole".
2019-10-16 15:34:55,210 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService 220 - User "7f30aa49-f573-4ed1-9d8d-596f144ef6b7" connected to connection "a816722c-731d-4d46-b3e2-048b4bc64010".
2019-10-16 15:34:55,210 [http-nio-8080-exec-10] INFO o.a.g.a.j.s.JumpserverSessionService 317 - 注册Session{remote_addr=10.170.132.141, protocol=rdp, date_start=2019-10-16 15:34:55 +0000, org_id=, id=2fa8ce85-2728-4fba-94e2-00b3446d9fda, system_user=administrator, asset=10.170.133.15, user=meng.qingyu (meng.qingyu), is_finished=false, login_from=WT}
2019-10-16 15:34:55,333 [http-nio-8080-exec-10] INFO o.a.g.a.j.s.JumpserverSessionService 319 - {code:201,result:{"id":"2fa8ce85-2728-4fba-94e2-00b3446d9fda","user":"meng.qingyu (meng.qingyu)","asset":"10.170.133.15","system_user":"administrator","login_from":"WT","login_from_display":"Web Terminal","remote_addr":"10.170.132.141","is_finished":false,"has_replay":false,"can_replay":false,"protocol":"rdp","date_start":"2019-10-16 23:34:55 +0800","date_end":null,"terminal":"21082949-3882-4f53-a304-b0c9b1e4620f","command_amount":0,"org_id":"","org_name":"DEFAULT"}}
2019-10-16 15:34:55,333 [http-nio-8080-exec-10] INFO o.a.g.a.j.s.JumpserverSessionService 321 - 注册Session成功
2019-10-16 15:34:56,232 [http-nio-8080-exec-10] INFO o.a.g.tunnel.TunnelRequestService 318 - User "7f30aa49-f573-4ed1-9d8d-596f144ef6b7" disconnected from connection "a816722c-731d-4d46-b3e2-048b4bc64010". Duration: 899 milliseconds
2019-10-16 15:34:56,263 [http-nio-8080-exec-1] INFO o.a.g.a.j.c.JumpserverConfigurationService 36 - getUser:7f30aa49-f573-4ed1-9d8d-596f144ef6b7
2019-10-16 15:34:57,855 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 60 - Session Type: UPLOAD
2019-10-16 15:34:57,855 [Thread-107] INFO o.a.g.a.j.s.JumpserverSessionService 60 - Session Type: FINISH
2019-10-16 15:34:57,855 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 387 - path:/config/guacamole/record/7f30aa49-f573-4ed1-9d8d-596f144ef6b7
2019-10-16 15:34:57,855 [Thread-107] INFO o.a.g.a.j.s.JumpserverSessionService 339 - 更新Session{date_end=2019-10-16 15:34:56 +0000, is_finished=true}
2019-10-16 15:34:57,855 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 388 - recordName:10.170.133.15-c6d663bb-4d8d-4a71-92ae-0b4615d3e3f4
2019-10-16 15:34:57,856 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 405 - index:10.170.133.15-c6d663bb-4d8d-4a71-92ae-0b4615d3e3f4
2019-10-16 15:34:57,856 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 193 - compress to /config/guacamole/record/7f30aa49-f573-4ed1-9d8d-596f144ef6b7/2019-10-16-2fa8ce85-2728-4fba-94e2-00b3446d9fda.gz
2019-10-16 15:34:57,872 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 225 - {code:201,result:{"url":"/media/replay/2019-10-16/2fa8ce85-2728-4fba-94e2-00b3446d9fda.replay.gz"}}
2019-10-16 15:34:57,872 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 227 - 上传录像成功
2019-10-16 15:34:57,873 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 448 - 更新Session成功(录像上传完毕){has_replay=true}
2019-10-16 15:34:57,881 [Thread-107] INFO o.a.g.a.j.s.JumpserverSessionService 341 - {code:200,result:{"id":"2fa8ce85-2728-4fba-94e2-00b3446d9fda","user":"meng.qingyu (meng.qingyu)","asset":"10.170.133.15","system_user":"administrator","login_from":"WT","login_from_display":"Web Terminal","remote_addr":"10.170.132.141","is_finished":true,"has_replay":false,"can_replay":false,"protocol":"rdp","date_start":"2019-10-16 23:34:55 +0800","date_end":"2019-10-16 23:34:56 +0800","terminal":"21082949-3882-4f53-a304-b0c9b1e4620f","command_amount":0,"org_id":"","org_name":"DEFAULT"}}
2019-10-16 15:34:57,881 [Thread-107] INFO o.a.g.a.j.s.JumpserverSessionService 344 - 更新Session成功
2019-10-16 15:34:57,882 [Thread-107] WARN o.a.g.a.j.s.JumpserverSessionService 355 - ForwardPort 为空,port: 1589
2019-10-16 15:34:57,896 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 450 - {code:200,result:{"id":"2fa8ce85-2728-4fba-94e2-00b3446d9fda","user":"meng.qingyu (meng.qingyu)","asset":"10.170.133.15","system_user":"administrator","login_from":"WT","login_from_display":"Web Terminal","remote_addr":"10.170.132.141","is_finished":true,"has_replay":true,"can_replay":true,"protocol":"rdp","date_start":"2019-10-16 23:34:55 +0800","date_end":"2019-10-16 23:34:56 +0800","terminal":"21082949-3882-4f53-a304-b0c9b1e4620f","command_amount":0,"org_id":"","org_name":"DEFAULT"}}
2019-10-16 15:34:57,896 [Thread-106] INFO o.a.g.a.j.s.JumpserverSessionService 453 - 更新Session成功(录像上传完毕)

@BaiJiangJie

This comment has been minimized.

Copy link
Member

commented Oct 17, 2019

看日志没什么问题,其他版本的 Windows Server 可以连接吗?
系统用户是手动登录还是自动登录?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.