# Genieacs-cwmp process dies and restarts

**URL:** https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290
**Category:** Uncategorized
**Created:** [September 11, 2019, 7:35am UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290 "2019-09-11T07:35:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![gittela](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gittela](https://forum.genieacs.com/u/gittela)
#### Post date: [September 11, 2019, 7:35am UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290/1 "2019-09-11T07:35:57Z")

</div>

Seems there is a bug somewhere… I see these in my logs, but I’m not sure what file it’s barfing on:  
sep. 11 09:44:30 tinn-acs genieacs-cwmp[5468]: 2019-09-11T07:44:30.623Z [ERROR] Uncaught exception; pid=4689 exceptionName=“SyntaxError” exceptionMessage=“Unexpected token o in JSON at position 1” exceptionStack=“SyntaxError: Unexpected token o in JSON at position 1\n at JSON.parse ()\n at getDueTasksAndFaultsAndOperations (/opt/genieacs/dist/bin/genieacs-cwmp:2:124714)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)”

sep. 11 09:44:30 tinn-acs genieacs-cwmp[5468]: 2019-09-11T07:44:30.653Z [ERROR] Worker died; pid=4689 exitCode=0

---

<div class="post-metadata">

### Author: ![bajojoba](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bajojoba](https://forum.genieacs.com/u/bajojoba)
#### Post date: [March 11, 2020, 12:47pm UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290/2 "2020-03-11T12:47:16Z")

</div>

Hi all,

I’m facing the same error in my setup. Don’t know what is the cause. I’ve tried debugging with tcpdump and I see the output seen in

 ![Screenshot from 2020-03-11 13-44-07](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/1X/5a4c61fd420f52f024e2f6bfcec0d9a43c444ef1.png)

If I copy the xml code and post it with curl I can’t recreate the problem.

Thanks in advance!  
BR,  
Janko Bajc

---

<div class="post-metadata">

### Author: ![gittela](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gittela](https://forum.genieacs.com/u/gittela)
#### Post date: [March 12, 2020, 8:19am UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290/3 "2020-03-12T08:19:27Z")

</div>

I figured this one out after a while, but I don’t remember how… I think there was a typo in my config, but I’m not sure. I’ll see if I can figure it out (I got it working and haven’t seen this problem since)  
🙂  
Howard

---

<div class="post-metadata">

### Author: ![bajojoba](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bajojoba](https://forum.genieacs.com/u/bajojoba)
#### Post date: [March 12, 2020, 8:48am UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290/4 "2020-03-12T08:48:07Z")

</div>

Please let me know if you find anything. I’m puzzled. All I can see for now is that it only appears with CPEs connected behind NAT (CGN).  
Thanks again.

---

<div class="post-metadata">

### Author: ![bajojoba](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@bajojoba](https://forum.genieacs.com/u/bajojoba)
#### Post date: [March 13, 2020, 9:17pm UTC](https://forum.genieacs.com/t/genieacs-cwmp-process-dies-and-restarts/290/5 "2020-03-13T21:17:46Z")

</div>

Upgrade to the latest commit has solved my issue.
