NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
nuSOAP Requests to Virtual Hosts (fsockopen/fopen troubles)


Joined: 06 Aug 2006
Posts: 1
Reply with quote
Hey everybody,

I'm have a nuSOAP setup (sugarCRM) running on a virtual host on my site (i.e. http://crm_mysite). Apparently fopen (with HTTP wrappers enabled) and fsockopen don't work with virtual hosts. Has anybody run into this before? Any solutions out there, other that not making this under a virtual host?

Thanks!
Lucas

Error Message
---
HTTP Error: Couldn't open socket connection to server http://xxxxx_mysite/xxxxxxxxx.php, Error (672383238):

Setup
---
FreeBSD 5.4
Apache 1.3
Mysql Latest Stable
PHP 5
View user's profileFind all posts by lucius910Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
fopen() wrappers are not required for SOAP and in particualar for nuSoap.
You may want to make sure that server's outbound connections are allowed on remote TCP/80 port. Check firewall settings.
As a proof that it is configured properly, you may try wget on the server or something that can use HTTP.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
RE: subdomain with NuSoap


Joined: 21 Aug 2006
Posts: 2
Location: Canada
Reply with quote
check your httpd.conf file
look at the virtual host ServerAlias
and change myserver to
cms.myhost.com

I had an issue running a nuSOAP from a sub-domain service and that did the trick,

Cheers,
View user's profileFind all posts by canfoneSend private message
nuSOAP Requests to Virtual Hosts (fsockopen/fopen troubles)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic