Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MCEC Client Host is failing on an IP address #29

@OlHall

Description

@OlHall

Describe the bug
The Host property of the Client mode for MCEC doesn't appear to work with an IP address. It's ok if I use a hostname.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Client'
  3. Enter an IP in the Host field - e.g. 192.168.1.100
  4. Click OK
  5. Observe the logging window - (see logs below)

Expected behavior
MCEC should connect to the server on the given IP address (and port)

Version Information
Include the first line from the log window, like this:

2022-12-08 13:54:19,537 INFO  - MCE Controller v2.2.10.2 - OS: Microsoft Windows NT 10.0.22621.0 on x64 - .NET: 4.0.30319.42000

Snippets from the log
Include any other relevant logs (either copy/pasted from the MCE Controller window or from the log files found in %appdata%\Kindel Systems\MCE Controller which contain more debug info).

2022-12-08 14:12:00,557 INFO  - Client: Waiting 30 seconds to connect
2022-12-08 14:12:35,523 DEBUG - SocketClient: (BeginConnect) SocketException: No such host is known
2022-12-08 14:12:35,523 DEBUG - No such host is known (11001)
2022-12-08 14:12:35,523 DEBUG - ClientSocketNotificationHandler - ServiceStatus.Error: No such host is known (11001)
2022-12-08 14:12:35,523 ERROR - Client: Error; No such host is known (11001)
2022-12-08 14:12:35,536 INFO  - Client: Stopping...

Desktop (please complete the following information):
MCEC is running on a DELL laptop, the Server is a TCP Server running on a Crestron control system (listening on 0.0.0.0:5150)

Additional context
I can workaround by adding a dummy host to my local hosts file (c:\windows\system32\drivers\etc\hosts),

e.g.:
192.168.1.200 fakehost

And then use fakehost in the Host field.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions