Hi,
On a CP X4 I am running a Python routine that attempts to open a socket to port 502 on localhost (to the IA module) and read from it.
A standalone test version works fine.
Called from a larger program (which is also doing some HTTP POSTing to an external server), the same code gets an ‘unknown encoding: idna’ on socket.connect().
Appears I am sensitizing something that causes the idna encoding error.
There was a previous post by someone encountering this error using httplib. Solution was to use digi_httplib. That doesn’t seem to be what is happening here.
Anyone seen such behavior?
Thanks,
- C