[Twisted-Python] Python.org moves to Buildbot 0.9, Twisted 17.9.0 and Python 3

2017-10-17 Thread Craig Rodrigues
I worked with Zachary Ware, who maintains the buildbots for python.org.
Zachary upgraded python.org's  buildbot from 0.8 to 0.9:

https://www.python.org/dev/buildbot/

buildbot 0.9 is the first release of buildbot that
can run on Python 3.  The python.org buildbot master is running on Python
3.4:

http://buildbot.python.org/all/#/about

That master is connected to multiple workers/slaves, most of which are
0.8 running on Python 2:

http://buildbot.python.org/all/#/workers

This upgrade could not have been possible without the
porting of Twisted PB to Python 3.

This is a highly visible deployment of Twisted running Python 3,
and aligns with python.org's direction to move the world to Python 3. :)

--
Craig
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Twisted HTTPS Server-Client Communication problem

2017-10-17 Thread Ohad Shai
Hi,


I have an important question about twisted HTTPS client-server communication.


I ran an HTTPS server with my own certs and tried to communicate with a twisted 
HTTPS client with the specific cert.


I am getting an error that says: "Invalid DNS-ID".


all the error info with all my code is in here: 
https://gist.github.com/anonymous/e46d4d8dc1c102857497cde9e2fc4725#file-gistfile1-txt

Twisted-HTTPS-client-server
gist.github.com
Twisted-HTTPS-client-server




I will be appreciate if someone has a clue how can I fix this error.


Thanks,



Ohad Shai
Software Engineer, EDR Linux
972-052-6887792
ohad.s...@cyberbit.com

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Twisted Application(Daemon) with multiple clients

2017-10-17 Thread Daniel Doron
Hi,

Sorry in advance for sending this to both Twisted mailing list. i was
not sure for which was it was most appropriate.

I have a design in which I would like to have a Twisted Application
which would periodically connect to a REST Server to pull
configuration information, i.e. as client and upon receiving that
information and processing would communicate spawn 1 or more clients
connecting to local process via Unix sockets to send them
configuration information.
I think I understand how the standard approach would be:
1. create a function that would be called with callLater/LoopingCall
2. in that function create my client, connect to the REST Server, get
info etc...

So:
1. Do you think my approach is correct? Essentially as explained I
need a service/daemon to periodically connect ot one server to pull
information and then connect to other local process to forward them
the relevant configuration.
2. How do I turn this into a twisted plugin? (daemon)


Thanks
-Daniel

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python