# LEADS | New lead replaces previous lead

**URL:** <https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707>\
**Category:** Product Support\
**Created:** [November 5, 2015, 1:11pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707 "2015-11-05T13:11:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [November 5, 2015, 1:11pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707/1 "2015-11-05T13:11:21Z")

</div>

Hello,  
  
  
  
I’m running a self hosted install using Amazon EC3 and SES.  
  
  
  
Whenever I add a lead through a form on my site the lead replaces whatever lead is already there.  
  
  
  
I have tested this over and over and it does the same thing, over and over.  
  
  
  
Please see image A: ![leadreplaceslead-1-2015-11-05_1504.png](http://content.screencast.com/users/vexer/folders/Jing/media/05bddb7c-cd5b-44a4-8b35-d5b90a3369fb/leadreplaceslead-1-2015-11-05_1504.png)  
  
  
  
And image B:  
  
  
  
 ![leadreplaceslead-2-2015-11-05_1504.png](http://content.screencast.com/users/vexer/folders/Jing/media/f39387bc-1c0f-4e67-ab6c-cc2184f816cc/leadreplaceslead-2-2015-11-05_1504.png)  
  
  
  
Does anyone have any suggestions?  
  
I’m happy to pull logs, I’m just not sure which logs to pull.  
  
  
  
There are some erros in the error.log file:

Code:

2015/11/04 15:54:53 [error] 2438#0: \*275 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 41.0.14.196, server: mymautic.com, request: "GET /mtracking.gif?d=YTo0OntzOjU6InRpdGxlIjtzOjQ1OiJUaW0gTm9ha2VzIERpZXQgdnMgUGFsZW8gLSBUaGVQYWxlb0RpZXQuY28uemEiO3M6ODoibGFuZ3VhZ2UiO3M6NToiZW5fVVMiO3M6ODoicmVmZXJyZXIiO3M6NTI6Imh0dHA6Ly90aGVwYWxlb2RpZXQuY28uemEvcHJvZmVzc29yLXRpbS1ub2FrZXMtZGlldC8iO3M6MzoidXJsIjtzOjgwOiJodHRwOi8vdGhlcGFsZW9kaWV0LmNvLnphL3RpbS1ub2FrZXMtZGlldC12cy1wYWxlbz9uYW1lPXRpbS1ub2FrZXMtZGlldC12cy1wYWxlbyI7fQ%3D%3D HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock", host: "mauticec2.thepaleodiet.co.za", referrer: "http://thepaleodiet.co.za/tim-noakes-diet-vs-paleo/" 2015/11/04 17:09:29 [error] 2438#0: \*419 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.196.50.33, server: mymautic.com, request: "GET http://testp4.pospr.waw.pl/testproxy.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock:", host: "testp4.pospr.waw.pl" 2015/11/05 12:28:49 [error] 2438#0: \*1105 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.196.50.33, server: mymautic.com, request: "GET http://testp3.pospr.waw.pl/testproxy.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock:", host: "testp3.pospr.waw.pl" ubuntu@ip-172-30-0-107:~/myMautic.com/logs$

  
This is a bit above my bug-killing ability ![:(]( ":(")  
  
Any help would be great!

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [November 5, 2015, 1:11pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707/2 "2015-11-05T13:11:21Z")

</div>

Hello,

I’m running a self hosted install using Amazon EC3 and SES.

Whenever I add a lead through a form on my site the lead replaces whatever lead is already there.

I have tested this over and over and it does the same thing, over and over.

Please see image A: ![](http://content.screencast.com/users/vexer/folders/Jing/media/05bddb7c-cd5b-44a4-8b35-d5b90a3369fb/leadreplaceslead-1-2015-11-05_1504.png)

And image B:

![](http://content.screencast.com/users/vexer/folders/Jing/media/f39387bc-1c0f-4e67-ab6c-cc2184f816cc/leadreplaceslead-2-2015-11-05_1504.png)

Does anyone have any suggestions?  
I’m happy to pull logs, I’m just not sure which logs to pull.

There are some erros in the error.log file:

`2015/11/04 15:54:53 [error] 2438#0: *275 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 41.0.14.196, server: mymautic.com, request: "GET /mtracking.gif?d=YTo0OntzOjU6InRpdGxlIjtzOjQ1OiJUaW0gTm9ha2VzIERpZXQgdnMgUGFsZW8gLSBUaGVQYWxlb0RpZXQuY28uemEiO3M6ODoibGFuZ3VhZ2UiO3M6NToiZW5fVVMiO3M6ODoicmVmZXJyZXIiO3M6NTI6Imh0dHA6Ly90aGVwYWxlb2RpZXQuY28uemEvcHJvZmVzc29yLXRpbS1ub2FrZXMtZGlldC8iO3M6MzoidXJsIjtzOjgwOiJodHRwOi8vdGhlcGFsZW9kaWV0LmNvLnphL3RpbS1ub2FrZXMtZGlldC12cy1wYWxlbz9uYW1lPXRpbS1ub2FrZXMtZGlldC12cy1wYWxlbyI7fQ%3D%3D HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock", host: "mauticec2.thepaleodiet.co.za", referrer: "http://thepaleodiet.co.za/tim-noakes-diet-vs-paleo/"
2015/11/04 17:09:29 [error] 2438#0: *419 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.196.50.33, server: mymautic.com, request: "GET http://testp4.pospr.waw.pl/testproxy.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock:", host: "testp4.pospr.waw.pl"
2015/11/05 12:28:49 [error] 2438#0: *1105 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 91.196.50.33, server: mymautic.com, request: "GET http://testp3.pospr.waw.pl/testproxy.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm-ubuntu.sock:", host: "testp3.pospr.waw.pl"
ubuntu@ip-172-30-0-107:~/myMautic.com/logs$`

This is a bit above my bug-killing ability ☹

Any help would be great!

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [November 5, 2015, 5:59pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707/3 "2015-11-05T17:59:29Z")

</div>

If you are adding leads form the same computer/IP, turn on the Kiosk mode in the form.

---

<div class="post-metadata">

**Author:** ![andrewchildsza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/andrewchildsza/32/33_2.png) [@andrewchildsza](https://forum.mautic.org/u/andrewchildsza)\
**Post date:** [November 5, 2015, 6:12pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707/4 "2015-11-05T18:12:58Z")

</div>

Thanks, this makes sense.

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:57pm UTC](https://forum.mautic.org/t/leads-new-lead-replaces-previous-lead/2707/5 "2020-02-02T22:57:13Z")

</div>


