mobile-shell / mobile-shell/mosh

OS X: Nothing received from server on UDP port 60003

Open
#1,254 50 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

OS X support
Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

Reproduction

  1. Ran mosh-server and got the following output
> mosh-server

MOSH CONNECT 60003 SaHaHCFHl3b93sZkEsZDZA

mosh-server (mosh 1.4.0) [build mosh-1.3.2.95rc1-13-gc516fb4-dirty]
Copyright 2012 Keith Winstein <mosh-devel@mit.edu>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[mosh-server detached, pid = 83878]
  1. Copied the key
  2. Ran env MOSH_KEY="SaHaHCFHl3b93sZkEsZDZA" mosh-client 192.168.0.200 60003

Expected

The client should connect to the mosh-server and display my login shell

Actual

Instead it seems to make initial ssh connection, but the mosh connection hangs:

mosh: Nothing received from server on UDP port 60003

image

Environment

Key Value
Operating System OS X Ventura 13.1
Mosh version mosh 1.4.0 [build mosh-1.3.2.95rc1-13-gc516fb4-dirty]
Local Network IP 192.168.0.200

What I've tried

  • Followed the debug guide on the wiki and used the netcat command to listen on UDP port 60003, then used netcat in another terminal pane to send a message. It worked as expected.
  • It does work on localhost env MOSH_KEY="<key>" mosh-client 127.0.0.1 60003 but not my local network IP like the example above
  • Disabled the firewall on OS X and my router, setup port forwarding as well

Any help would be appreciated!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported mosh-server and mosh-client commands on OS X Ventura, comparing localhost with 192.168.0.200. Consult the debug guide on the wiki and repeat the netcat UDP test to narrow down why the LAN connection receives nothing. Done means mosh-client connects over the local network and displays the login shell.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.