CWMP crashing non-stop behind reverse proxy

Manny Veloso manny.veloso at smartrg.com
Fri Apr 29 11:56:41 EDT 2016


Are you using HAProxy as your proxy? You need a transparent TCP proxy, not one that normally does web proxying.

---
Manny Veloso / technical person
o: +360 859 1780


Follow SmartRG<http://www.smartrg.com/> news and events on Facebook<https://www.facebook.com/SmartRG?fref=ts> | Twitter<https://twitter.com/SRGcrew> | LinkedIn<https://www.linkedin.com/company/2568791?trk=vsrp_companies_res_name&trkInfo=VSRPsearchId%3A80173221376409258784%2CVSRPtargetId%3A2568791%2CVSRPcmpt%3Aprimary> | YouTube<https://www.youtube.com/channel/UCxs7PruCYyHnuAVHO_oQAmQ>

From: Users on behalf of Grímur Daníelsson
Reply-To: Community support for GenieACS users
Date: Wednesday, April 20, 2016 at 2:43 AM
To: "users at lists.genieacs.com<mailto:users at lists.genieacs.com>"
Subject: CWMP crashing non-stop behind reverse proxy

Hi

I set up CWMP behind a reverse proxy that has https, I set it up so that I can omit the port on my routers and simply use https://tr069.domain.com

But once i start cwmp the workers start crashing non stop after around a minute.
root at serv: /usr/lib/node_modules/genieacs genieacs-cwmp
20 Apr 09:36:39 - Worker 2698 listening to 0.0.0.0:7547
20 Apr 09:36:39 - Worker 2699 listening to 0.0.0.0:7547
20 Apr 09:36:39 - Worker 2700 listening to 0.0.0.0:7547
20 Apr 09:36:39 - Worker 2701 listening to 0.0.0.0:7547
util.error: Use console.error instead
2016-04-20T09:37:34.767Z - Error: Start tag expected, '<' not found

    at Error (native)
    at Object.module.exports.fromXml (/usr/lib/node_modules/genieacs/node_modules/libxmljs/lib/document.js:146:21)
    at Object.exports.request (/usr/lib/node_modules/genieacs/lib/soap.js:373:20)
    at /usr/lib/node_modules/genieacs/lib/cwmp.js:642:26
    at getSession (/usr/lib/node_modules/genieacs/lib/cwmp.js:573:12)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/genieacs/lib/cwmp.js:640:12)
    at IncomingMessage.emit (events.js:104:17)
    at _stream_readable.js:908:16
    at process._tickDomainCallback (node.js:381:11)

Is it not possible to use cwmp behind a reverse proxy by chance? Does it crash if the requests being made aren't soap requests?
Regards,
Grímur Daníelsson
Software Developer
Sales & Services
[cid:image003.png at 01D09C51.3470DC00]
Sími: +354 520-4000 - <mailto:grimurd at snerpa.is> grimurd at snerpa.is<mailto:grimurd at snerpa.is>
Snerpa ehf - Mánagata 6 - 400 Ísafjörður
<http://www.snerpa.is/>http://www.snerpa.is - Lagalegur fyrirvari<http://snerpa.is/disclaimer/>  <redir.aspx?C=b907d32f5c804528a8dbaad5e0461db6&URL=http%3a%2f%2fsnerpa.is%2fdisclaimer%2f>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160429/a3e1863c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jiacbeij.png
Type: image/png
Size: 9232 bytes
Desc: jiacbeij.png
URL: <http://lists.genieacs.com/pipermail/users/attachments/20160429/a3e1863c/attachment-0001.png>


More information about the Users mailing list