Re: SSL Socket Error

2015-05-09 Thread Kev Dwyer
shdwkee...@gmail.com wrote: > Ive setup a Debian server with Python 2.7.9. Have everything running and > SSL as well, but when I try and login to using HTTPS:// I get this error: > > Incoming web connection from ('192.168.15.177', 53202) > error: uncaptured python exception, closing channel lis

SSL Socket Error

2015-05-08 Thread shdwkeeper
Ive setup a Debian server with Python 2.7.9. Have everything running and SSL as well, but when I try and login to using HTTPS:// I get this error: Incoming web connection from ('192.168.15.177', 53202) error: uncaptured python exception, closing channel (:certfile must be specified for server-s

Socket Error : Address still in use (Conveting from python 1.5.2 to 2.7.1)

2012-03-27 Thread Wong Wah Meng-R32813
Hello there, I am in the midst of converting my application from python 1.5.2 to python 2.7.1 on HP-UX 11 Itanium box. My application server will set a listening port, accepting request from multiple clients. The code just works fine in the old python environment. E.g. when I do a lsof | grep

Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 08:59 PM, Grant Edwards wrote: > On 2010-06-18, AK wrote: > >> Here it is: >> >> Traceback (most recent call last): >> File "./vimp3_player.py", line 112, in >> Player().main() >> File "./vimp3_player.py", line 35, in main >> self.listen() >> File "./vimp3_player.py",

Re: Socket error 98 "Address already in use"

2010-06-17 Thread Grant Edwards
On 2010-06-18, AK wrote: > Here it is: > > Traceback (most recent call last): > File "./vimp3_player.py", line 112, in > Player().main() > File "./vimp3_player.py", line 35, in main > self.listen() > File "./vimp3_player.py", line 41, in listen > s.bind((HOST, PORT)) > File "

Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 08:19 PM, Grant Edwards wrote: > On 2010-06-17, AK wrote: >> Hi, I'm trying to make a little mp3 server / client and I'm running into >> a problem with the Socket error 98 "Address already in use". The error >> doesn't happen right aw

Re: Socket error 98 "Address already in use"

2010-06-17 Thread Grant Edwards
On 2010-06-17, AK wrote: > Hi, I'm trying to make a little mp3 server / client and I'm running into > a problem with the Socket error 98 "Address already in use". The error > doesn't happen right away, I can send 3-4 commands, disconnecting and > reconnect

Re: Socket error 98 "Address already in use"

2010-06-17 Thread AK
On 06/17/2010 07:21 PM, AK wrote: > Hi, I'm trying to make a little mp3 server / client and I'm running into > a problem with the Socket error 98 "Address already in use". The error > doesn't happen right away, I can send 3-4 commands, disconnecting and > recon

Socket error 98 "Address already in use"

2010-06-17 Thread AK
Hi, I'm trying to make a little mp3 server / client and I'm running into a problem with the Socket error 98 "Address already in use". The error doesn't happen right away, I can send 3-4 commands, disconnecting and reconnecting and they work fine and then I get this er

Re: Socket Error: Permission Denied

2010-02-09 Thread Stephen Hansen
On Mon, Feb 8, 2010 at 7:38 PM, W. eWatson wrote: > I'm using McAffee. I see it was pythonw.exe blocked in red. There are > several choices: Allow Access, Allow Outboubnd only > Block (current), Remove Prgrm permission, Learn More. > > Outbound only seem reasonable, but why does the blocking keep

Re: Socket Error: Permission Denied

2010-02-09 Thread W. eWatson
I decided to go with outbound. Now when I run the program, I get a long of messabge about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied (Firewall)

2010-02-09 Thread W. eWatson
(corrected typos) I decided to go with outbound in McAfee. Now when I run the program, I get a long list of messages about deprecations and NumpyTest will be removed in the next release. please update code to nose or unittest. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Permission Denied

2010-02-08 Thread W. eWatson
On 2/8/2010 7:24 PM, W. eWatson wrote: I'm using IDLE with winxp. It seems every day I get into the Subject above. Usually, after 5-8 minutes I get past it. A msg appearing at the same time say, "IDLE's subprocess didn't make connect. ... possible firewall problem." A resource for this is

Socket Error: Permission Denied

2010-02-08 Thread W. eWatson
I'm using IDLE with winxp. It seems every day I get into the Subject above. Usually, after 5-8 minutes I get past it. A msg appearing at the same time say, "IDLE's subprocess didn't make connect. ... possible firewall problem." A resource for this is . There a

Re: smtplib.SMTP throw : 'Socket error: 10053 software caused connection abort'

2009-01-21 Thread aberry
aberry wrote: > > I am using 'smtplib' module to send an email but getting exception... > > smtplib.SMTP( throw error : > > here is trace back snippet :- > > " smtp = smtplib.SMTP(self.server) > File "D:\Python24\lib\smtplib.py", line 244, in __init__ >(code, msg) = self.connect(host,

smtplib.SMTP throw : 'Socket error: 10053 software caused connection abort'

2009-01-20 Thread aberry
I am using 'smtplib' module to send an email but getting exception... smtplib.SMTP( throw error : here is trace back snippet :- " smtp = smtplib.SMTP(self.server) File "D:\Python24\lib\smtplib.py", line 244, in __init__ (code, msg) = self.connect(host, port) File "D:\Python24\lib\smtplib

Re: socket error: connection refused?

2008-06-23 Thread cirfu
On 23 Juni, 20:55, [EMAIL PROTECTED] wrote: > It's a security conflict. You should be able to run it again and have > it work. Our company's cisco does the same thing (even after we > approve the app) doesnt work but i found out i should open the task manager and kill all the python processes, the

Re: socket error: connection refused?

2008-06-23 Thread hall . jeff
It's a security conflict. You should be able to run it again and have it work. Our company's cisco does the same thing (even after we approve the app) -- http://mail.python.org/mailman/listinfo/python-list

socket error: connection refused?

2008-06-23 Thread cirfu
The first time i start the shell it always works. But often after closing it and restarting it I get: Two windows pops up and the shell, after clicking the windows the shell just closes by itself. socket error: connection refused IDLE's subprocess didnt make connection. im using python

Re: socket error when loading the shell?

2008-03-31 Thread Gabriel Genellina
En Mon, 31 Mar 2008 23:28:13 -0300, <[EMAIL PROTECTED]> escribió: > tried wi5th the normal IDLE too and it worked later after i posted > this but now it doesnt work again. and i havent chnaged my firewall in > between. Perhaps any other running process has opened the port that IDLE uses to comm

Re: socket error when loading the shell?

2008-03-31 Thread vokinloksar
i mean vpython(www.vpython.org). tried wi5th the normal IDLE too and it worked later after i posted this but now it doesnt work again. and i havent chnaged my firewall in between. python.exe works but i want the idle not the dos-interpreter. -- http://mail.python.org/mailman/listinfo/python-li

Re: socket error when loading the shell?

2008-03-30 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > using python and wpython. What's wpython? > when using run module or python shell on the run menu in the GUI i > get "socket error, connection refused". > > it worked before, what si wrong now? There's no process listening for the

Re: socket error when loading the shell?

2008-03-30 Thread Gabriel Genellina
En Sun, 30 Mar 2008 16:46:00 -0300, <[EMAIL PROTECTED]> escribió: > using python and wpython. Soory, I don't know what wpython is > when using run module or python shell on the run menu in the GUI i get > "socket error, connection refused". > > it worke

socket error when loading the shell?

2008-03-30 Thread vokinloksar
hi using python and wpython. when using run module or python shell on the run menu in the GUI i get "socket error, connection refused". it worked before, what si wrong now? and i cant find where to start the shell directly. think i had an exe before but cant seem to find it now

Re: IDLE Won't Start w/o Socket Error--Win XP

2008-02-12 Thread W. Watson
Thanks. That did the trick. Mike Driscoll wrote: > On Feb 12, 2:18 pm, "W. Watson" <[EMAIL PROTECTED]> wrote: >> After simply trying to write a program with help(MakeQTE), a module, and >> having it fail with socket errors, I decided to restart IDLE, thinking I ... > > I sometimes get this messag

Re: IDLE Won't Start w/o Socket Error--Win XP

2008-02-12 Thread Gabriel Genellina
: "IDLE's subprocess didn't make > connection. ... firewall may be blocking the connection." I doubt the FW > connection. There's a small X warning dialog that says "Socket Error: > Connection refused." Is there a way to reset IDLE? From the IDLE About

Re: IDLE Won't Start w/o Socket Error--Win XP

2008-02-12 Thread Mike Driscoll
27;s subprocess didn't make > connection. ... firewall may be blocking the connection." I doubt the FW > connection. There's a small X warning dialog that says "Socket Error: > Connection refused." Is there a way to reset IDLE? > -- >

IDLE Won't Start w/o Socket Error--Win XP

2008-02-12 Thread W. Watson
ion." I doubt the FW connection. There's a small X warning dialog that says "Socket Error: Connection refused." Is there a way to reset IDLE? -- Wayne Watson (Nevada City, CA) Web Page: -- http://mail.python.org/mailman/listinfo/python-list

Socket Error 106: 'Transport endpoint is already connected'

2007-01-17 Thread palmem
I am trying to write a simple FTP server in order to learn about sockets This is my first time trying sockets This code should take a connection on port 8110, dump it to a client "thread" (not a thread yet), print "Test\n" to the thread, and close everything. It fails on creating the client thread

Re: urllib.urlopen: Errno socket error

2006-11-09 Thread frifri007
uot;, line 728, in _send_output > self.send(msg) > File "C:\Python25\lib\httplib.py", line 695, in send > self.connect() > File "C:\Python25\lib\httplib.py", line 679, in connect > raise socket.error, msg > IOError: [Errno socket error] (10060, '

Re: urllib.urlopen: Errno socket error

2006-10-17 Thread kgrafals
Dennis, I tried a ProxyHandler with the following code ... proxy_support = urllib2.ProxyHandler({}) opener = urllib2.build_opener(proxy_support) urllib2.install_opener(opener) ... but it's giving me the same result. Then I tried to tunnel using code from ... http://aspn.activestate.com/ASPN/Co

Re: urllib.urlopen: Errno socket error

2006-10-16 Thread kgrafals
Hi Salvatore, Even if I catch the exceptions in a loop it goes on forever. - ken -- http://mail.python.org/mailman/listinfo/python-list

Re: urllib.urlopen: Errno socket error

2006-10-16 Thread Salvatore
py", line 856, in endheaders > self._send_output() > File "C:\Python25\lib\httplib.py", line 728, in _send_output > self.send(msg) > File "C:\Python25\lib\httplib.py", line 695, in send > self.connect() > File "C:\Python25\lib\

urllib.urlopen: Errno socket error

2006-10-16 Thread kgrafals
File "C:\Python25\lib\httplib.py", line 679, in connect raise socket.error, msg IOError: [Errno socket error] (10060, 'Operation timed out') I'm behind my company's firewall. Would that cause a problem? If it does, How do I get around it? -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error: Connection Refused

2006-04-17 Thread Steve Horsley
[EMAIL PROTECTED] wrote: > Dear c.l.p, > > I have recently been doing the tutorial of Python and everything is > well, i'm upto the pass section. Anyway, when I try to launch idle now > I get the error message: Socket Error: Connection Refused. I do not > have a firewal

Socket Error: Connection Refused

2006-04-13 Thread niceyama
Dear c.l.p, I have recently been doing the tutorial of Python and everything is well, i'm upto the pass section. Anyway, when I try to launch idle now I get the error message: Socket Error: Connection Refused. I do not have a firewall, so I don't know what is going on. Also, thi

Socket error: 10053 software caused connection abort

2006-03-18 Thread endcompany
  -- http://mail.python.org/mailman/listinfo/python-list

Socket Error

2005-11-17 Thread Chad Everett
Does anyone know why you get socket error while trying to run IDLE and the module. Is says something about a Subprocess Startup Error. I know that it always says something about a personal firewall. I have all that shut off. About 50% of the time when I try and test code by running the module

Re: "import socket" error

2005-10-09 Thread akbar
Fedora Core 4. -- http://mail.python.org/mailman/listinfo/python-list

Re: "import socket" error

2005-10-09 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I am following this tutorial > https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=dw-linux-pysocks&S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07PythonSockets > ( free reg. req. ) > > The article told me to do this: > > [camus]$ python > Python 2.4 (#1, Feb 20 2005

"import socket" error

2005-10-09 Thread [EMAIL PROTECTED]
Hi, I am following this tutorial https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=dw-linux-pysocks&S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07PythonSockets ( free reg. req. ) The article told me to do this: [camus]$ python Python 2.4 (#1, Feb 20 2005, 11:25:45) [GCC 3.2.2 20030222 (Re

python socket error

2005-06-01 Thread Thomas Thomas
Is there any getaround for the following error .. This happens when uploading large files say>50MB..   Python version Python 2.3.5 (#62, Feb  8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)] on win32Type "help", "copyright", "credits" or "license" for more information.   Traceback (most recent

Re: socket error on windows, working fine on mac

2005-05-01 Thread Heiko Wundram
Am Montag, 2. Mai 2005 04:35 schrieb Thomas: > I am getting socket error for large file transfer on windows (100MB+) Get an operating system... :-) No, seriously, I think that the problem might be that WinSock doesn't block the sending process while it can't send out the da

socket error on windows, working fine on mac

2005-05-01 Thread Thomas
I am getting socket error for large file transfer on windows (100MB+) Working fine for files <50MB.   Everything is working fine on mac..   File "C:\Python23\lib\httplib.py", line 576, in send     self.sock.sendall(str)   File "", line 1, in sendall so

Re: Socket Error

2005-04-14 Thread Matt
[EMAIL PROTECTED] wrote: > Thanks everybody, it works now. I thought I needed to do something like > that but it didn't show it in the tutorial so I decided to ask here. Where was the tutorial? If it's in the Python docs, perhaps you could submit a patch to fix it ... ;-) M@ -- http://mail.py

Re: Socket Error

2005-04-14 Thread kingofearth . com
Thanks everybody, it works now. I thought I needed to do something like that but it didn't show it in the tutorial so I decided to ask here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread Achim Domma (Procoders)
[EMAIL PROTECTED] wrote: NameError: name 'socket' is not defined You forgot to import the socket module: import socket regards, Achim -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread [EMAIL PROTECTED]
You missed the import socket statement. Also the socket.PF_INET should be socket.AF_INET -- http://mail.python.org/mailman/listinfo/python-list

Re: Socket Error

2005-04-14 Thread Tiziano Bettio
[EMAIL PROTECTED] wrote: When I try to open a socket with python i get the following error: Traceback (most recent call last): File "./mailer", line 3, in ? sock = socket.socket(socket.PF_INET, socket.SOCK_STREAM) NameError: name 'socket' is not defined the code is: #!/usr/bin/python sock = soc

Socket Error

2005-04-14 Thread kingofearth . com
When I try to open a socket with python i get the following error: Traceback (most recent call last): File "./mailer", line 3, in ? sock = socket.socket(socket.PF_INET, socket.SOCK_STREAM) NameError: name 'socket' is not defined the code is: #!/usr/bin/python sock = socket.socket(socket.P