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

Connection error : Connection reset by peer OS error 104 #1597

Closed
clues4me opened this issue Sep 21, 2022 · 16 comments
Closed

Connection error : Connection reset by peer OS error 104 #1597

clues4me opened this issue Sep 21, 2022 · 16 comments
Labels
bug Something isn't working

Comments

@clues4me
Copy link

Hi, just got twice issue get connected to client. I dont know what its, but i think related to security because its somehow blocked by router/firewall.
The day before its okay, nothing got wrong, but accidently its cant connect to a client, others clients is ok.

Im using debian on both side and installed correctly on x11 desktop.
Rustdesk version 1.1.9

Cuplikan layar dari 2022-09-22 05-42-51

@clues4me clues4me added the bug Something isn't working label Sep 21, 2022
@21pages
Copy link
Collaborator

21pages commented Sep 21, 2022

try this master build

@escape0707
Copy link

escape0707 commented Sep 22, 2022

I'm also facing the exact problem.

try this master build

Would you mind doing some explanation before I try that? BTW, I'm on Linux...

@21pages
Copy link
Collaborator

21pages commented Sep 22, 2022

Am also facing the exact problem.

try this master build

Would you mind doing some explanation before I try that? BTW, I'm on Linux...

This problem has been fixed on master branch. I'll put a linux build on that link later.

@escape0707
Copy link

Am also facing the exact problem.

try this master build

Would you mind doing some explanation before I try that? BTW, I'm on Linux...

This problem has been fixed on master branch. I'll put a linux build on that link later.

Okay, thanks for the fix.

I'm using my Linux machine to setup a server and letting my windows enjoyer friend using mine, for a better direct connection. Does he need to update his client software or do I need to update my Linux server for the fix to work?

@21pages
Copy link
Collaborator

21pages commented Sep 22, 2022

Just update client, but can't connect by direct connection. It's solution is changing direct to relay.

@clues4me
Copy link
Author

try this master build

thanks, i'll try

@rustdesk
Copy link
Owner

Can you try out nightly build? There is a fix, though not good enough, not sure if it works in your scenario.

@weirdal3333
Copy link

The nightly build works better, but clicking or using the keyboard causes the os error 104

@rustdesk
Copy link
Owner

The nightly build works better, but clicking or using the keyboard causes the os error 104

What env on controlled side?

@eMPee584
Copy link

eMPee584 commented Feb 12, 2023

Same thing here (on debian unstable), with latest nightly .deb and APK.. this comes up in the system log:

Feb 12 14:24:49 base sudo[2193853]:     root : PWD=/ ; USER=empee584 ; ENV=XDG_RUNTIME_DIR=/run/user/1000 ; COMMAND=/usr/lib/rustdesk/rustdesk --cm 
Feb 12 14:24:49 base sudo[2193853]: pam_unix(sudo:session): session opened for user empee584(uid=1000) by (uid=0) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: launch args: [--cm] 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: --cm started 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: initializing FFI cm 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: _appType:cm,info1-id:5dd12be64155148fd70962fd0000000b,info2-name:Debian GNU/Linux,dir:/home/empee584/ 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: _globalFFI init 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: _globalFFI init end 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: registerEventHandler theme theme 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: registerEventHandler language language 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: Failed to find definition for #a 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #0      debugPrintStack (package:flutter/src/foundation/assertions.dart:1209) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #1      FlutterError.dumpErrorToConsole (package:flutter/src/foundation/assertions.dart:1028) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #2      reportMissingDef (package:flutter_svg/src/utilities/errors.dart:5) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #3      _Elements.linearGradient (package:flutter_svg/src/svg/parser_state.dart:378) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #4      SvgParserState.parse (package:flutter_svg/src/svg/parser_state.dart:885) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: <asynchronous suspension> 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #5      SvgParser.parse (package:flutter_svg/parser.dart:27) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: <asynchronous suspension> 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #6      Svg.fromSvgString (package:flutter_svg/svg.dart:139) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: <asynchronous suspension> 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: #7      Svg.svgPictureStringDecoder (package:flutter_svg/svg.dart:90) 
Feb 12 14:24:50 base rustdesk[2193862]: flutter: <asynchronous suspension> 
Feb 12 14:24:52 base sudo[2193853]: pam_unix(sudo:session): session closed for user empee584 

@eMPee584
Copy link

Surprisingly, anydesk has the same problem right now when it previously worked. Their hint to

try disabling "Allow direct connections" [or] adding "/np" at the end [of the ID]

helped.. both devices are connected to an OpenWRT router (phone via wifi, desktop via LAN) but haven't changed the configuration for quite a while.. 🤔

@rustdesk
Copy link
Owner

rustdesk commented Feb 12, 2023

try disabling "Allow direct connections" [or] adding "/np" at the end [of the ID]

@21pages let's add this also. We have "always use relay" already, for us, it should be try "always use relay".
In addition, add "/np" (let's use "/r" instead) to our id (and set alway use relay for this peer) also.

@rustdesk
Copy link
Owner

rustdesk commented Feb 16, 2023

Could you please try out the nightly build? add "/r" suffix to the id. https://github.com/rustdesk/rustdesk/releases/tag/nightly

@eMPee584
Copy link

uum, the /r
image
gives image
with latest nightly on desktop / phone.. i can activate "Always connect via relay" in the menu of the connection though which works.
But trying without relay why does it occasionally work well for more than a minute, then keeps bringing up error 104 instantly on reconnect? This is on a local network, what is going wrong.. is my openwrt b0rked 🤔

@rustdesk
Copy link
Owner

rustdesk commented Mar 7, 2023

please try out the new fix

@weirdal3333
Copy link

It's late, but those patches did indeed fix the error 104 that I was having.

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

No branches or pull requests

6 participants