<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111983/unable-to-install-mqtt-bridge-mosquitto-yarn-deploy-is-failing</link><description>Hi, 
 I&amp;#39;ve attached the steps performed to install the mosquitto bridge and getting errors on yarn deploy 
 
 Also see attached steps, I believe I have done everything correct. 
 
 Please let me know. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Aug 2024 00:03:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111983/unable-to-install-mqtt-bridge-mosquitto-yarn-deploy-is-failing" /><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/498527?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 00:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69402b48-658f-461d-bf20-ba7d012534f7</guid><dc:creator>Lincoln Thomas</dc:creator><description>&lt;p&gt;Hi Coby,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m resolving this DevZone case based on our further email conversations.&lt;/p&gt;
&lt;p&gt;Our bridge developer John Conley made fixes for the cases you encountered, and you reported all is well now, both for the bridge and the demo apps.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Lincoln&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488787?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 04:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b932885-639f-4195-9889-d2f1a5e7ddbe</guid><dc:creator>Lincoln Thomas</dc:creator><description>&lt;p&gt;Hi Coby,&lt;/p&gt;
&lt;p&gt;I had asked: do you have the CDKToolkit stack installed?&lt;/p&gt;
&lt;p&gt;Was it installed before you ran it this last time?&lt;/p&gt;
&lt;p&gt;Depending on your prior state, you may have to reverse steps 4 &amp;amp; 5, so please do this: (I&amp;#39;ve reversed them here)&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;4. yarn bridge-init &amp;lt;nRF Cloud api key&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;5. yarn cdk bootstrap&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;code&gt;6. yarn deploy&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488734?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 16:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d642bd7-2cb4-4f11-a6a6-c18b3a4bcbc9</guid><dc:creator>cjh39</dc:creator><description>&lt;p&gt;I&amp;#39;ve also tried to rerun&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718297303386v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488730?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 16:08:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac661314-53b8-46c2-88fc-9ea5d35dd4c4</guid><dc:creator>cjh39</dc:creator><description>&lt;p&gt;Hi Lincoln,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve restarted but ran into a different issue:&lt;/p&gt;
&lt;p&gt;The yarn cdk bootstrap is not working&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1718294884698v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488718?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 14:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7724eb13-47dd-478b-8770-34b191d91988</guid><dc:creator>cjh39</dc:creator><description>&lt;p&gt;Thanks For the help.&lt;/p&gt;
&lt;p&gt;I finally got the Stack Deleted and will try to do a fresh install today.&lt;/p&gt;
&lt;p&gt;-Coby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488551?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 16:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f087ce16-27b8-4198-aedd-1a3c8c634fc9</guid><dc:creator>Lincoln Thomas</dc:creator><description>&lt;p&gt;Hi Coby,&lt;/p&gt;
&lt;p&gt;The UPDATE_FAILED message from CloudFormation in your Word document is why I thought you did a CloudFormation stack update instead of a new deployment.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; I removed all the previous install...&lt;/p&gt;
&lt;p&gt;How did you do that? Going into AWS CloudFormation console and clicking Delete on the deployed bridge stacks? Or by directly terminating things like EC2 instances that those stacks deployed? If the latter, then the stacks may still be there, and your &amp;quot;yarn deploy&amp;quot; actually tried to update the installed CloudFormation stacks but got derailed by the missing resources it had deployed earlier.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7318.pastedimage1718207624532v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If you still have these stacks, please Delete them to ensure everything is cleaned up. If it fails because some things it tries to find are already deleted, you can click Delete again and Retain the things that failed, then delete those AWS resources manually from the various resource types&amp;#39; AWS consoles.&lt;/p&gt;
&lt;p&gt;Also, do you have the CDKToolkit stack installed? (shown above) If not, then after you clean everything up, enter the command &lt;span style="font-family:courier new, courier;"&gt;&amp;quot;yarn cdk bootstrap&lt;/span&gt;&amp;quot; after &amp;quot;&lt;span style="font-family:courier new, courier;"&gt;yarn compile&lt;/span&gt;&amp;quot; but before &amp;quot;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;yarn bridge-init &amp;lt;nRF Cloud api key&amp;gt;&lt;/code&gt;&lt;/span&gt;&amp;quot;. It&amp;#39;s usually put there automatically, but let me know if this step is required in your case and I can add it to the steps. So they would become: (you&amp;#39;ve already done 1 through 3)&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;git clone &lt;a href="https://github.com/nRFCloud/MQTT-bridge-mosquitto"&gt;https://github.com/nRFCloud/MQTT-bridge-mosquitto&lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;yarn install&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;yarn compile&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;yarn cdk bootstrap&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;yarn bridge-init &amp;lt;nRF Cloud api key&amp;gt;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family:courier new, courier;"&gt;&lt;code&gt;yarn deploy&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks for your patience and continued efforts here.&lt;/p&gt;
&lt;p&gt;Lincoln&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488522?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 13:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4c934d2-b64d-449e-a494-ef549ef4564e</guid><dc:creator>cjh39</dc:creator><description>&lt;p&gt;Hi Lincoln,&lt;/p&gt;
&lt;p&gt;I removed all the previous install , and started with a new EC2 to do the initial MQTT-bridge-mosquitto, since I did not see anything in AWS IOT from the previous install.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why the current install is looking for the &amp;quot;&lt;span&gt;&lt;span style="font-family:courier new, courier;"&gt;sg-0aae9cb3b5b5804b5&lt;/span&gt;&lt;/span&gt;&amp;quot; security group, but it does not exist any more.&lt;/p&gt;
&lt;p&gt;Maybe there is something on my NRFCloud account that needs to be reset also ?&lt;/p&gt;
&lt;p&gt;Please let me know.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Coby&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to Install MQTT-bridge-mosquitto / yarn deploy is failing</title><link>https://devzone.nordicsemi.com/thread/488409?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 04:32:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83db9bf-fcc1-4a0e-a5eb-f68ce47e6aee</guid><dc:creator>Lincoln Thomas</dc:creator><description>&lt;p&gt;(This is a continuation of now-closed ticket &lt;span&gt;#327937.)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hi Coby,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the earlier ticket, you showed a successful deployment (&lt;span style="font-family:courier new, courier;"&gt;yarn deploy&lt;/span&gt;) of the bridge. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In this ticket, you show a failure of the same &lt;span style="font-family:courier new, courier;"&gt;yarn deploy&lt;/span&gt; command. Is this an update to the bridge you successfully installed? If so, why did you need to perform an update?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;On the update, it claims that a security group installed by the previous (successful?) deployment no longer exists. Can you verify if &lt;span style="font-family:courier new, courier;"&gt;sg-0aae9cb3b5b5804b5&lt;/span&gt; exists?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Lincoln&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>