[HECnet] PyDECnet setup

Wilm Boerhout wboerhout at gmail.com
Wed Nov 17 06:49:38 PST 2021


Got it. Is in v592

 

From: owner-hecnet at Update.UU.SE <owner-hecnet at Update.UU.SE> On Behalf Of Brian Hechinger
Sent: Wednesday, November 17, 2021 3:44 PM
To: hecnet at Update.UU.SE
Subject: Re: [HECnet] PyDECnet setup

 

I think he meant after line 2. that gets its own line.

On 17/11/21 14:42, Wilm Boerhout wrote:

Stick it where? What does line 2 look like afterwards ?

 

 

From: owner-hecnet at Update.UU.SE <mailto:owner-hecnet at Update.UU.SE>   <mailto:owner-hecnet at Update.UU.SE> <owner-hecnet at Update.UU.SE> On Behalf Of Supratim Sanyal
Sent: Wednesday, November 17, 2021 3:26 PM
To: hecnet at Update.UU.SE <mailto:hecnet at Update.UU.SE> 
Subject: Re: [HECnet] PyDECnet setup

 

Hey Brian,

Also stick this into line 2 - this is Paul's magic solution to big transfers like copy all nodes from MIM to something behind A52RTR.

nsp --qmax=5

On 11/17/21 9:06 AM, Paul Koning wrote:

You have both http and https enabled (both are enabled by default) so it will try to bind ports 8000 and 8443. 

 

               paul






On Nov 17, 2021, at 8:09 AM, Brian Hechinger <wonko at 4amlunch.net <mailto:wonko at 4amlunch.net> > wrote:

 

Oops, I knew I forgot something. Trying to rush the email out.

router.conf:

system --identification "PyDECnet, A52RTR - Quarteira, Portugal" 
routing 52.1023 --type l2router 
logging console 
@nodes.conf 
circuit mul-29-2 Multinet --mode connect --destination 82.70.71.174 --dest-port 9608 --cost 4 --t3 180 
#circuit eth-0 Ethernet internal --mode pcap --cost 1

http.conf:

http --api --insecure-api

-brian

On 17/11/21 13:06, Wilm Boerhout wrote:

Config file please ?

 

From: owner-hecnet at Update.UU.SE <mailto:owner-hecnet at Update.UU.SE>   <mailto:owner-hecnet at Update.UU.SE> <owner-hecnet at Update.UU.SE> On Behalf Of Brian Hechinger
Sent: Wednesday, November 17, 2021 2:02 PM
To: hecnet at Update.UU.SE <mailto:hecnet at Update.UU.SE> 
Subject: [HECnet] PyDECnet setup

 

That other thread is getting out of hand so I'll start a new one.

I've started getting this error:

Exception in thread https: 
Traceback (most recent call last): 
 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner 
   self.run() 
 File "/usr/lib/python3.8/threading.py", line 870, in run 
   self._target(*self._args, **self._kwargs) 
 File "/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/http.py", line 103, in serverstart 
   httpd = DECnetMonitor (server_addr, DECnetMonitorRequest, 
 File "/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/http.py", line 126, in __init__ 
   self.socket = source_addr.create_server () 
 File "/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/host.py", line 399, in create_server 
   sock = self.bind_socket (self.listen_family) 
 File "/usr/local/lib/python3.8/dist-packages/decnet-1.0.592-py3.8.egg/decnet/host.py", line 387, in bind_socket 
   sock.bind (self.sockaddr) 
OSError: [Errno 98] Address already in use

Neither lsof nor netstat show that port in use. Doesn't matter if I use the default 8000 or set something different, I get that every time.

I didn't always though. This was running fine before I tried adding the circuit for ethernet access.

Thoughts?

-brian

 

-- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20211117/c55ab50e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 328 bytes
Desc: not available
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20211117/c55ab50e/attachment.png>


More information about the Hecnet-list mailing list