Random association aborts with Windows Server over network
See original GitHub issueAssociation gets aborted with Pynetdicom on windows server when tried from network. Let me describe what happens:
On my windows server:
> python -m pynetdicom storescp 5253 -v --ignore
I: Accepting Association
I: Association Aborted (A-P-ABORT)
IP of my server is 192.168.0.119. What I did on my client over wifi.
$ echoscu -v 192.168.0.119 5253
I: Requesting Association
I: Association Accepted (Max Send PDV: 16370)
I: Sending Echo Request (MsgID 1)
E: Echo Failed: 0006:0317 Peer aborted Association (or never connected)
I: Peer Aborted Association
I have tried to reproduce the same thing with dcmtk’s storescp and there was no issue. Also run pynetdicom inside a ubunut docker on windows and there was no issue either.
Surprisingly if I use pynetdicom’s echoscu client, it works
$ python -m pynetdicom echoscu -v 192.168.0.119 5253
I: Requesting Association
I: Association Accepted
I: Sending Echo Request: MsgID 1
I: Received Echo Response (Status: Success)
I: Releasing Association
If I did echoscu from the windows server, it works!
.\bin\echoscu.exe -v localhost 5253
I: Requesting Association
I: Association Accepted (Max Send PDV: 16370)
I: Sending Echo Request (MsgID 1)
I: Received Echo Response (Success)
I: Releasing Association
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (25 by maintainers)
Top Results From Across the Web
Server 2012 R2 File Server Stops Responding to SMB ...
I am running the servers on hyper-v 2012 r2 and have sr-iov enabled on the server nics to rule out the microsoft hyper-v...
Read more >Service overview and network port requirements for Windows
These ports are also informally known as random RPC ports. In these cases, RPC clients rely on the RPC endpoint mapper to tell...
Read more >Troubleshooting WINS error event ID 4102, 4243, 4242, and ...
Describes how to troubleshoot Windows Internet Name Service (WINS) replication-related error messages.
Read more >Microsoft's PrintNightmare update is causing a lot of problems ...
Microsoft's PrintNightmare update is causing a lot of problems with network printers mapped on a print server.
Read more >Client, service, and program issues can occur if you change ...
Microsoft Network Client for MS-DOS, Windows 95, Windows 98, Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003: Non-administrators who try to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
And change to
self.ae = ae = AE()
so it get’s cleaned up properly if it fails.test_transport.py::TestAssociationServer
You’ll have to add
a_associate_rq
to the imports from.encoded_pdu_items
as well