-
Notifications
You must be signed in to change notification settings - Fork 9
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
Error that create the remote face with "nfdc face create remote tcp4://X.X.X.X:6363 #43
Comments
I have tested between Windows 11 and a Mac OS. Succeeded with python-ndn/example consumer.py and producer.py. |
I think the problem has not been fixed, we meet the problem between Linux and Linux server,Failed with nfdc/C++,the command of "nfdc face create remote tcp://x.x.x.x:6363". |
is yanfd setting |
Yes: Line 47 in b50074d
But I think he is using two machines for test, so this shouldn't be the problem. |
The original code tried to specify the local TCP port number in connect(), which causes problem in Linux. |
The reason seems to be the remote YaNFD side. The TCP listener considers the remote URI of the new face as an UDP face (with RemoteURI=udp4://XX:6363, LocalUI=tcp4://XX:6363), and thus it is unable to maintain the connection.
I will investigate this problem but I'm not sure when I can fix it. If you are willing to, please open an issue on GitHub.
from the intranet:
nfdc face create remote tcp://120.53.13.74:6363
Error 406 when creating face: Transport error
the remote yanfd log:
WARN[0481] [FaceMgmt] Unable to create unicast TCP face with URI tcp4://120.53.13.74:6363:Unable to connect to remote endpoint: dial tcp4 :6363->120.53.13.74:6363: bind: address already in use
The text was updated successfully, but these errors were encountered: