Nethereum / Nethereum/Nethereum

Running on Windows 11 - onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(550)\

Open
#973 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.3k
Forks
744
PR merge metrics
No merged PRs in 30d

Description

When running on windows 11. The GetHostByName is deprecated. Only GetHostName is supported as far as I can tell.

Expected Behavior

No console warnings

Current Behavior

Says: onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(550)\nlansp_c.dll!00007FFE5424D93D: (caller: 00007FFE6AA6ACF6) LogHr(9) tid(634c) 8007277C No such service is known. The service cannot be found in the specified name space.

when doing a CallAsync()

Possible Solution

Replace GetHostByName with GetHostName - https://stackoverflow.com/a/70978244

Using nugets 4.16 for dotnet core.

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 by locating the CallAsync() path that triggers GetHostByName and inspect how hostname resolution is performed. Compare the current call with the reported GetHostName alternative, then reproduce the behavior on Windows 11 and verify that the console warning no longer appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
networking, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.