Hello, I have a strange behaviour when trying to connect to an smtp server (or any external url for that matter using urrlib). My host uses Red Hat 4.1.2-14 with Python 2.4.3 Running django under FastCGI
Test code is very simple import smtplib smtp = smtplib.SMTP() smtp.connect('smtp.mydomain.com', 25) It gives me the error "unable to select on socket" from socket.py I have tried all possible ports and servers and they work from my local machine so no error there. Worth noting is that import urllib urllib.openurl("http://www.google.com/") gives the same error I know this sounds like a Python issue and not a django issue but the thing is that it works perfectly when running Python from a shell (via SSH). Does anyone have any idea what can cause this? I think it is a linux/ fcgi security issue but I do not know Linux well and my web host claims that there is something wrong with my code after running out of options. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---