Hello,
Firstly I'm new to twisted hence patience and a deep breath my be necessary.
I wrote a simple VC++ client that communicates to a VC++ server using OpenSSL.
It loads .pem file and communicates great.
However I want the client to talk to a twisted server provided from
TwistedMatrix:
# Co
Hello,
error:02002751:system library:connect:reason(1873)
Is dumped out from the client. This apparently is a :
0x2751 == 10065 == (WSA)EHOSTUNREACH
> "A socket operation was attempted to an unreachable host."
Strange because I can ping the server machine from the client. Not very
informative.
:
error:0200274D:system library:connect:reason(1869)
ECONNREFUSED = 0x274D = 10061
Any ideas would be appreciated.
Thanks,
Garyc
--- On Wed, 9/23/09, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] VC++ client and a Twisted OpenSSL Server
> To: twisted-python@twistedm
Hello,
I am a new guy looking into the twisted platform.
I am trying to track down why the twisted server using open-ssl is
failing to communicate to my VC++ open-ssl client:
error:0200274D:system library:connect:reason(1869)
I am seeing 0x274D which is a ECONNREFUSED 10061 not sure what the
ex
Oh boy. I finally got it working and connecting. Now to move onto the real
stuff.
--- On Thu, 9/24/09, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] Twisted OpenSSL Server Debug Information
> To: twisted-python@twistedmatrix.com
> Date: Thursday, September 24
Hello,
I am new to Twisted, hence the red flag and patience card pulled out.
I have written a client that connects perfectly well to a twisted server thats
using open-ssl to communicate to each other. Basically I took the open-ssl echo
server example and tweaked it.
Thats all fine and dandy, b
e )
class AirChatService( internet.TCPServer ):
def __init__(self):
internet.TCPServer.__init__(self, 80, AirChatFactory())
I think thats good for now. I dont have to create my own repository just
manipulate the factory object, marvelous. Time for a pint.
Hello,
I am sending a large amount of data to a twisted server. I want to know how
the protocol class knows that no more data is to be received.
I dont pass the length of the data in the packet, hence I'm looking for a
termination field in the packet.Like .
I did see a logging class but not su
Date: Monday, September 28, 2009, 6:29 AM
> On Mon, Sep 28,
> 2009 at 7:15 AM, gary clark
> wrote:
>
> Hello,
>
>
>
> I am sending a large amount of data to a twisted server. I
> want to know how
>
> the protocol class knows that no more data is to be
>
Hello,
I have a server that needs to track changes on a table database.
When a table changes it needs the server accesses the table and send data out.
Not sure what the best approach to do this in twisted. Do I create a thread in
twisted and monitor for any changes in a table or can I create
a
Thanks for the information, thats what I need to use in this case
"wisted.internet.task.LoopingCall".
Great support.
Much appreciated,
Garyc
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/li
Hello,
Probably a pretty standard question. However what are recommended mechanics of
parsing XML on twisted? I have a humongous string that needs to be parsed and
pushed into a database in the right columns.
Much appreciated in advance,
Garyc
___
I'm building a website with twisted and pylons which I hope to release in
December. I cant explain what the idea is, but I like python and the twisted
site seems excellent. Smart guys, hopefully I can reciprocate one day.
Cheers,
Garyc
--- On Thu, 10/1/09, Steve wrote:
> From: Steve
> Subjec
Hello,
I went to use the SAX library to perform parsing. However I hit an unusual
problem.
Its having a problem parsing a token that has a '&' it just crashes. It
certainly woke me up when I witnessed this.
Jim & Nancy
are passed to the ContentHandler class. When characters(self,chars) membe
thanks. ughh! 10 years old. oh boy.
Garyc
--- On Sat, 10/3/09, Amaury Forgeot d'Arc wrote:
> From: Amaury Forgeot d'Arc
> Subject: Re: [Twisted-Python] XML parsing on twisted
> To: "Twisted general discussion"
> Date: Saturday, October 3, 2009, 5:42 PM
Hello,
I want to send raw binary data but also text in the message. I am currently
sending ascii data to the twisted server via open-ssl.
Its great and twisted is cool. However I want to send a name of document and
then the raw data in the same message? Is this possible with twisted.
Essentially
There are probably several way to accomplish this I just needed to think about
it a wee bit longer. One way would be to prepend an identifier to the
file,strip the header from the raw data on reception and then save the image. I
dont think its complicated. I may need a seperate server to handle
11:10 AM
> Hello again everyone,
> Maybe using two senders/receivers would help. The control
> protocol,
> which can use XML or JSON, or whatever, would identify the
> files by
> their md5 sum? The file transfert protocol would detect the
> header of
> each file to separate the
Hello,
I'm tested my client server model. The server being a twisted server.
I am using the class NetstringReceiver. When I close down the client the
appropriate call to close the connection is made "connectionLost". However when
I just pull the client connection cable from the network. I would
d by polling/hearbeat/keepalive logic. You can make
> your twisted server aware of the keepalive timeouts by
> turning on setTcpKeepAlive to 1:
>
> self.transport.setTcpKeepAlive(1)
> Cheers,Alvin
>
> On Wed, Feb 17, 2010 at 12:15 AM,
> gary clark
> wrote:
>
&g
I have to poll at the twisted server "getTcpKeepAlive" for the state of the
keep alive.
Thanks,
Garyc
--- On Tue, 2/16/10, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] Pulling the ethernet cable out
> To: "Twisted general discussion"
>
>
> http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.tcp.Connection.html#getTcpKeepAlive
> http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.tcp.Connection.html#setTcpKeepAlive
>
> Best Regards,Alvin
>
> On Wed, Feb 17, 2010 at 1:06 AM,
> gary cl
with those changes.
>
> > -Original Message-
> > From: twisted-python-boun...@twistedmatrix.com
> [mailto:twisted-python-
> > boun...@twistedmatrix.com]
> On Behalf Of gary clark
> > Sent: Tuesday, February 16, 2010 10:19 AM
> > To: Twisted general
The correct way I think is to use base64 and just one connection after more
research. Good to research.
Thanks,
Garyc
--- On Sun, 2/14/10, gary clark wrote:
> From: gary clark
> Subject: Re: [Twisted-Python] Sending jpeg data over TCP/IP
> To: "Twisted general discussion&qu
Hello,
I want to create a twisted daemon from my application:
if __name__ == '__main__':
import nfdprocess, sys
log.startLogging(sys.stdout)
serverContext = ServerContextFactory()
serverContext.protocol = nfdprocess.HandlePacket
port =int(sys.argv[1])
checkT = checkTables(
Thanks Reza I wil give it a crack.
Much appreciated,
Garyc
--- On Mon, 3/15/10, Reza Lotun wrote:
> From: Reza Lotun
> Subject: Re: [Twisted-Python] Creating a daemon from my application
> To: "Twisted general discussion"
> Date: Monday, March 15, 2010, 10:35 AM
> Hi,
>
> > I want to create
"nfddaemon.tac", line 2, in
from nfdmessenger import ServerContextFactory
exceptions.ImportError: No module named nfdmessenger
It looks like it cannot find the module? Do I have to set the path?
Also not too sure about my getService routine...well suspect.
Thanks,
Garyc
--- O
Yeh I have to install them and create a setup.py to find the path.
--- On Mon, 3/15/10, gary clark wrote:
> From: gary clark
> Subject: Re: [Twisted-Python] Creating a daemon from my application
> To: "Twisted general discussion"
> Date: Monday, March 15, 2010, 12
Re: [Twisted-Python] Creating a daemon from my application
> To: "Twisted general discussion"
> Date: Monday, March 15, 2010, 1:15 PM
> On Mon, Mar 15, 2010 at 6:03 PM, gary
> clark
> wrote:
> > Yeh I have to install them and create a setup.py to
> find the path.
>
&
=service.Application('nfdm')
service=get_service()
service.setServiceParent(application)
--- On Mon, 3/15/10, gary clark wrote:
> From: gary clark
> Subject: Re: [Twisted-Python] Creating a daemon from my application
> To: "Twisted general discussion"
> Date: Monday,
=service.Application('nfdm')
service=get_service()
service.setServiceParent(application)
Thats better.
--- On Mon, 3/15/10, gary clark wrote:
> From: gary clark
> Subject: Re: [Twisted-Python] Creating a daemon from my application
> To: "Twisted general discussion"
> Date: Mond
I have written an init.d script thats starts and stops a twistd. You need to
create a .tac file and create a daemon. A wee bit more tricky but you can start
twistd fine.
Thanks,
Garyc
--- On Wed, 4/21/10, Tim Allen wrote:
> From: Tim Allen
> Subject: Re: [Twisted-Python] twistd and init.d
>
My understanding is the twistd will have a default log twistd.log.
Thanks,
Garyc
--- On Wed, 4/21/10, Don Schoeman wrote:
From: Don Schoeman
Subject: Re: [Twisted-Python] twistd and init.d
To: "Twisted general discussion"
Date: Wednesday, April 21, 2010, 7:54 AM
Sorry, I mean't to say I
Hey Guys,
I apologise in advance but this is is not the correct platform.
Essentially I'm porting my server to a new VPS and the platform is enough to
cause
me headaches to resurrect my twisted server.
I'm using open-ssl however I'm seeing mismatches:
[r...@1003100u6h1z pyOpenSSL-0.9]# python
Date: Wednesday, April 21, 2010, 7:13 PM
>
> On Apr 21, 2010, at 2:47 PM, gary clark wrote:
>
> > undefined symbol: PyUnicodeUCS2_Decode
>
> > What is this PyUnicodeUCS2_Decode? Has anybody else
> seen this blighter?
>
> When you build Python, you either build its
Durable solution http://kind.ourchaoscandidate.com
<http://kind.ourchaoscandidate.com/>
Gary Clark
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Hiya,
I have created a client-server application which uses ssl to communicate.
I am trying to determine if its the server or client. However its definetly
sending a string in the connection.transport.write to the target client.
The majority of the time is sends and receives, but occasionall
t the moment.
Thanks,
Gary C
--- On Thu, 4/28/11, Glyph Lefkowitz wrote:
> From: Glyph Lefkowitz
> Subject: Re: [Twisted-Python] problems with transport.write
> To: "Twisted general discussion"
> Date: Thursday, April 28, 2011, 6:43 PM
>
> On Apr 28, 2011, at 4:18
Hello,
I am trying to connect a twisted server to a remote machine which contains the
mysql database, unfortunately I cannot access the database am am seeing error:
Failed to load application: Cant connect to MySQL on server 192.168.1.10.
db=create_engine('mysql://root:pwd@192.168.1.10/database
OK needed to allow port 3306 for mysql. Grant accesses on the database.
Thanks,
Gary C
--- On Thu, 6/16/11, gary clark wrote:
> From: gary clark
> Subject: [Twisted-Python] Failure to connect remotely to MySQL database
> To: "Twisted general discussion"
> Date: Thursda
Hello,
This problem has been driving me crazy for a couple of days. I'm hoping someone
can shed some light
on this. I have a twisted server its using open-ssl (using certificates) and
runs on linux and communicates great with a windows client thats send messages
every second.
However when I
Guys,
Its the MTU size. Anything bigger than 1500 bytes is getting fragmented.
Using wireshark I'm seeing TCP Previous segment lost anything bigger than 1500.
However once that
happens things go south and remain there.
Oh boy one day I will learn but not today.
Cheers,
Gazza
From: "exar...
ay in twisted.
Sorry for all the questions.
Thanks,
Gazza
From: gary clark
To: Twisted general discussion
Sent: Saturday, July 27, 2013 12:36 PM
Subject: Re: [Twisted-Python] ugh open-ssl and twisted python
Guys,
Its the MTU size. Anything bigger than 1500 bytes is getting fragmented.
Ok finally fixed the damn thing. I made the packets smaller and created a task
in the .tac file to call a routine that send the message parts piece by piece.
Thanks,
Gazza
From: gary clark
To: gary clark ; Twisted general discussion
; Twisted general discussion
Sent: Saturday, July 27
44 matches
Mail list logo