Events not hitting collector

;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[]; p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments) };p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1; n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","","snowplow"));

    window.snowplow('newTracker', 'sp1', '', { 
  appId: 'my-app-id',
  cookieDomain: ''


This is the code snippet i have included in my website . i have deployed snowplow pipeline using terraform .
The attached image contains error i am getting . there is something wrong about tp2 endpoint .

Hi @Abhi_31 ,

The collector endpoint you’re using doesn’t resolve:


> curl: (6) Could not resolve host:

So I would say that either the endpoint is wrong, the collector is down, or you’ve got some networking issue. The endpoint needs to be available to all traffic.

Hope this helps, any questions let us know.

Thanks for ur suggestion ,i will check with elb configuration