1.1.1 webservice doesn't work over https or on non-standard ports

Bug #589581 reported by Alex Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Medium
Alex Harrington

Bug Description

Problem 2 (server on internet) => http://htmdgw.dyndns.org:82/xibo-server-1.1.1
I cannot use this url to register display , have an error about SOAP and here is an error

SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://htmdgw.dyndns.org/xibo-server-1.1.1/xmds.php?wsdl' : failed to load external entity "http://htmdgw.dyndns.org/xibo-server-1.1.1/xmds.php?wsdl"

Related branches

Revision history for this message
Alex Harrington (alexharrington) wrote :

AH:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/encke-lineendings/annotate/head%3A/server/lib/app/kit.class.php#L417

On Line 420 I'm going to take a punt and guess that the line should read:

return 'http://' . $_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT'] . $request[0];

Also needs to be adjusted to check if $_SERVER['HTTPS'] is set and use HTTPS in that URL if it is - but that's not important here.

DG:
I think Alex is right - it wants to be more like the code in the above function (345 - 365).

Changed in xibo:
status: New → Confirmed
milestone: none → 1.2.0-rc1
importance: Undecided → Medium
Changed in xibo:
assignee: nobody → Alex Harrington (alexharrington)
Changed in xibo:
status: Confirmed → Fix Committed
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.