0

I am looking to implement JSON-RPC using the python twisted framework. I've installed the latest version of txJSON-RPC (v0.3.1) and simplejson (v2.3.2) and am trying the json examples with twisted v12.0.0 for Python 2.7.

The server from this StackOverflow post Python Twisted JSON RPC compiles and runs, but the client errors out:

error [Failure instance: Traceback (failure with no frames): <class   
'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side:   
10061: No connection could be made because the target machine actively refused it..
]

Which, from the look of it, means that the server isn't actually running. However, after executing the server, you can connect to the port via telnet.

I also tried the examples included in the /examples directory in the txJSON-RPC tarball, but those didn't run correctly either.

Any ideas about where I can find up-to-date information on how to successfully run a JSON-RPC server with Twisted?

Community
  • 1
  • 1
jpreed00
  • 893
  • 8
  • 25

0 Answers0