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

unable to connect to windows rdp server #32

Open
liang4work opened this issue Sep 16, 2020 · 6 comments
Open

unable to connect to windows rdp server #32

liang4work opened this issue Sep 16, 2020 · 6 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed NeedsInvestigation

Comments

@liang4work
Copy link

occamy log:

occamy | [GIN] 2020/09/16 - 08:05:09 | 200 | 22.489149ms | 117.74.128.130 | GET /api/v1/connect?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MDAyNDYyMzEsImhvc3QiOiIxMDEuMTMzLjIzNC42NjozMzg5Iiwib3JpZ19pYXQiOjE2MDAyNDI2MzEsInBhc3N3b3JkIjoibGlhbmchMTIzIiwicHJvdG9jb2wiOiJyZHAiLCJ1c2VybmFtZSI6ImFkbWluaXN0cmF0b3IifQ.kD-gU3PWAMvW-lLdQ54tfJyEMVoeCgEBEkf2UrffU9s
occamy | time="2020-09-16T08:05:09Z" level=info msg="occamy-proxy: reading from desktop terminated."
occamy | time="2020-09-16T08:05:09Z" level=info msg="occamy-proxy: reading from client terminated."
occamy | time="2020-09-16T08:05:09Z" level=info msg="occamy-proxy: IO goroutines are terminated."
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 77.559µs | 117.74.128.130 | GET /static/
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 56.83µs | 117.74.128.130 | GET /static/css/app.6658f915.css
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 37.928µs | 117.74.128.130 | GET /static/css/chunk-vendors.d39e9fad.css
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 38.997µs | 117.74.128.130 | GET /static/js/app.7486a57b.js
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 36.105µs | 117.74.128.130 | GET /static/js/chunk-vendors.58f2d251.js
occamy | [GIN] 2020/09/16 - 08:06:42 | 304 | 66.431µs | 117.74.128.130 | GET /static/fonts/element-icons.535877f5.woff
occamy | [GIN] 2020/09/16 - 08:07:33 | 200 | 99.664µs | 117.74.128.130 | POST /api/v1/login
occamy | time="2020-09-16T08:07:33Z" level=info msg="occamy-proxy: new session was created: $32a6116b-775e-4081-9228-5ad020c94332"
occamy | occamy-lib[139790149191424]: Parameter "console" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "ignore-cert" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "disable-auth" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: No security mode specified. Defaulting to RDP.
occamy | occamy-lib[139790149191424]: User resolution is 1024x768 at 96 DPI
occamy | occamy-lib[139790149191424]: Parameter "dpi" omitted. Using default value of 96.
occamy | occamy-lib[139790149191424]: Using resolution of 1024x768 at 96 DPI
occamy | occamy-lib[139790149191424]: Parameter "read-only" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "client-name" omitted. Using default value of "Guacamole RDP".
occamy | occamy-lib[139790149191424]: Parameter "enable-wallpaper" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "enable-theming" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "enable-font-smoothing" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "enable-full-window-drag" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "enable-desktop-composition" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "enable-menu-animations" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "disable-bitmap-caching" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "disable-offscreen-caching" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "disable-glyph-caching" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "color-depth" omitted. Using default value of 16.
occamy | occamy-lib[139790149191424]: Parameter "enable-printing" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "printer-name" omitted. Using default value of "Guacamole Printer".
occamy | occamy-lib[139790149191424]: Parameter "enable-drive" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Parameter "drive-name" omitted. Using default value of "Guacamole Filesystem".
occamy | occamy-lib[139790149191424]: Parameter "drive-path" omitted. Using default value of "".
occamy | occamy-lib[139790149191424]: Parameter "create-drive-path" omitted. Using default value of 0.
occamy | occamy-lib[139790149191424]: Resize method: none
occamy | occamy-lib[139790179628800]: Loading keymap "base"
occamy | occamy-lib[139790179628800]: Loading keymap "en-us-qwerty"
occamy | recv: Connection reset by peer
occamy | occamy-lib[139790179628800]: Error connecting to RDP server
occamy | time="2020-09-16T08:07:33Z" level=info msg="User @6946df3a-724c-47a5-aba7-296849607558 disconnected (0 users remain)"
occamy | time="2020-09-16T08:07:33Z" level=info msg="occamy-proxy: reading from client terminated."
occamy | time="2020-09-16T08:07:33Z" level=info msg="occamy-proxy: reading from desktop terminated."
occamy | time="2020-09-16T08:07:33Z" level=info msg="occamy-proxy: IO goroutines are terminated."

@changkun
Copy link
Owner

It looks like the connection is closed normally. Are your credentials correct?

@liang4work
Copy link
Author

liang4work commented Sep 17, 2020

the second time, I ignore cert: "ignore-cert" omitted. Using default value of 1. reset again

/* Ignore SSL/TLS certificate */
settings->ignore_certificate =
    guac_user_parse_args_boolean(user, GUAC_RDP_CLIENT_ARGS, argv,
            IDX_IGNORE_CERT, 1);

@liang4work
Copy link
Author

liang4work commented Sep 17, 2020

guacamole connect to the same windows, working correctly, setting below:

`
<authorize username="administrator" password="xxxxx">
        <connection name="windows rpd test">
            <protocol>rdp</protocol>
            <param name="hostname">101.133.234.66</param>
            <param name="port">3389</param>
            <!-- 需要链接的服务器的账号密码 -->
            <param name="username">administrator</param>
            <param name="password">xxxxx</param>

           <!-- must do it -->
            <param name="ignore-cert">true</param>
        </connection>
    </authorize>
`

@changkun changkun added the bug Something isn't working label Sep 17, 2020
@changkun changkun changed the title be reset when connect to windows rdp server unable to connect to windows rdp server Sep 17, 2020
@changkun changkun added the help wanted Extra attention is needed label Sep 17, 2020
@his1devil
Copy link

guacamole connect to the same windows, working correctly, setting below:

`
<authorize username="administrator" password="xxxxx">
        <connection name="windows rpd test">
            <protocol>rdp</protocol>
            <param name="hostname">101.133.234.66</param>
            <param name="port">3389</param>
            <!-- 需要链接的服务器的账号密码 -->
            <param name="username">administrator</param>
            <param name="password">xxxxx</param>

           <!-- must do it -->
            <param name="ignore-cert">true</param>
        </connection>
    </authorize>
`

hi, where can i find this settings file ? changed guac_user_parse_args_boolean(user, GUAC_RDP_CLIENT_ARGS, argv,
IDX_IGNORE_CERT, 1); not helped, thanks

@PareshSolankiMI
Copy link

I am facing same issue

1 similar comment
@Osub
Copy link

Osub commented Nov 7, 2021

I am facing same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed NeedsInvestigation
Projects
None yet
Development

No branches or pull requests

5 participants