[Fiware-creatifi-coaching] [CreatiFI Benelux Hub] Bug PEP proxy GE fixed

Andrea Maestrini amaestrini at create-net.org
Thu Aug 20 08:21:37 CEST 2015


Dear,
following a feedback from a CreatiFI applicants that could be useful for
fix issue related to PEP Proxy GE

************************************

Hi, I am using the PEP proxy with HTTPS.

When I did a request, it went to PEP proxy, tried to redirect to the app
but did not come back.
After some investigation I found a problem in root.js file:

On line 106, you have the following statement:
proxy.sendData('http', options, req.body, res);

Where clearly the protocol is http and I am using https so that was
problematic.
I just changed it into the following: proxy.sendData(req.protocol, options,
req.body, res);

Which solved the problem - maybe best to inform GE owner to check and adapt
the code.

Thanks!
Jan

************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-creatifi-coaching/attachments/20150820/fbcd460f/attachment.html>


More information about the Fiware-creatifi-coaching mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy