<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dify]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a> Thank you very much for packaging and maintaining Dify. It's a fascinating software <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=44248645c10" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">During the usage, we have found a limitation to Dify. And here we have included the fix. When possible, please check it. It should be useful to all that are using Dify.</p>
<p dir="auto">Details &gt;&gt;&gt;</p>
<p dir="auto">We hit a wall with the new Integration Trigger feature (workflow triggers from external systems, e.g. the Gmail Trigger plugin from the marketplace). Dify generates each subscription's callback URL from the TRIGGER_URL environment variable, which defaults to <a href="http://localhost:5001" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:5001</a>.<br />
So the UI shows and registers:<br />
<a href="http://localhost:5001/triggers/plugin/" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:5001/triggers/plugin/</a>&lt;id&gt;</p>
<p dir="auto">instead of the app's public domain, and Dify itself warns: "This URL appears to be an internal address, which may cause webhook requests to fail. You may change TRIGGER_URL to a public address."</p>
<p dir="auto">Upstream context (for reference):</p>
<ul>
<li>Official docs require setting TRIGGER_URL to a public URL before creating subscriptions:<br />
<a href="https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/plugin-trigger" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/plugin-trigger</a></li>
<li>Same symptom seen by self-hosters elsewhere, closed as config-not-passed:<br />
<a href="https://github.com/langgenius/dify/issues/28534" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/langgenius/dify/issues/28534</a></li>
</ul>
<p dir="auto">The difficulty on Cloudron: <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a> regenerates /app/data/api-env from a heredoc on every boot, /app/code is read-only, and there is no custom env hook (like /app/data/env in some other packages), so there is currently no way for us to inject TRIGGER_URL persistently. Editing api-env or adding /app/data/env.sh does not survive a restart.</p>
<p dir="auto">Suggested fix (two lines in the api-env heredoc in <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a>) :<br />
TRIGGER_URL=${CLOUDRON_APP_ORIGIN}<br />
ENDPOINT_URL_TEMPLATE=${CLOUDRON_APP_ORIGIN}/e/{hook_id}</p>
<p dir="auto">Rationale:</p>
<ul>
<li>TRIGGER_URL: base URL for /triggers/plugin/&lt;id&gt; callbacks. The package nginx already routes /triggers publicly to the API, so only the generated URL string is wrong.</li>
<li>ENDPOINT_URL_TEMPLATE: same class of problem — defaults to <a href="http://localhost:5002/e/%7Bhook_id%7D" target="_blank" rel="noopener noreferrer nofollow ugc">http://localhost:5002/e/{hook_id}</a>. Nginx already routes /e/ to the plugin daemon, so deriving it from CLOUDRON_APP_ORIGIN fixes plugin custom endpoints too.</li>
<li>Using CLOUDRON_APP_ORIGIN keeps it fully automatic: correct on any domain, no per-install configuration, survives domain changes.</li>
</ul>
<p dir="auto">One note from the docs worth mentioning in the changelog: existing subscriptions keep the URL they were created with, so users must recreate trigger subscriptions after upgrading.</p>
]]></description><link>https://forum.cloudron.io/topic/16241/dify</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 06:58:47 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16241.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Nov 2026 15:00:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dify on Wed, 04 Nov 2026 14:52:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creative567145" aria-label="Profile: creative567145">@<bdi>creative567145</bdi></a>  ... phew !</p>
<p dir="auto">Thanks for letting me know.</p>
]]></description><link>https://forum.cloudron.io/post/132405</link><guid isPermaLink="true">https://forum.cloudron.io/post/132405</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Wed, 04 Nov 2026 14:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Wed, 04 Nov 2026 14:33:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Tim <a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a>  we applied both updates and currently everything is ok</p>
]]></description><link>https://forum.cloudron.io/post/132403</link><guid isPermaLink="true">https://forum.cloudron.io/post/132403</guid><dc:creator><![CDATA[creative567145]]></dc:creator><pubDate>Wed, 04 Nov 2026 14:33:10 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Wed, 04 Nov 2026 10:33:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creative567145" aria-label="Profile: creative567145">@<bdi>creative567145</bdi></a><br />
Another Dify package update this morning<br />
Check the <a href="http://CHANGELOG.md" target="_blank" rel="noopener noreferrer nofollow ugc">CHANGELOG.md</a> or 'Recent Changes' tab on <a href="http://ca.cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">ca.cloudron.io</a></p>
]]></description><link>https://forum.cloudron.io/post/132382</link><guid isPermaLink="true">https://forum.cloudron.io/post/132382</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Wed, 04 Nov 2026 10:33:56 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Tue, 03 Nov 2026 20:31:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creative567145" aria-label="Profile: creative567145">@<bdi>creative567145</bdi></a> that's great, I hope the apps you try are useful.</p>
<p dir="auto">Bug reports very welcome, solved or not !</p>
<p dir="auto">Most apps I package are to scratch an itch, and I don't get to test all integrations, so input very welcome. Community !</p>
]]></description><link>https://forum.cloudron.io/post/132371</link><guid isPermaLink="true">https://forum.cloudron.io/post/132371</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Tue, 03 Nov 2026 20:31:47 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Tue, 03 Nov 2026 19:08:41 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Tim <a class="plugin-mentions-user plugin-mentions-a" href="/user/timconsidine" aria-label="Profile: timconsidine">@<bdi>timconsidine</bdi></a>  very much <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=44248645c10" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
We have started running more and more of your apps, so anytime we find some bug, we will report it to you with the fix included - so that we can atleast contribute somehow. We understand that your job isn't easy <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=44248645c10" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/132365</link><guid isPermaLink="true">https://forum.cloudron.io/post/132365</guid><dc:creator><![CDATA[creative567145]]></dc:creator><pubDate>Tue, 03 Nov 2026 19:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Tue, 03 Nov 2026 17:58:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creative567145" aria-label="Profile: creative567145">@<bdi>creative567145</bdi></a> I have checked that, built and pushed a new update.</p>
<p dir="auto">Thank you for taking the time to report ... and to solve it in the same breath ! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=44248645c10" class="not-responsive emoji emoji-android emoji--pray" style="height:1.4em;width:auto;vertical-align:middle" title=":pray:" alt="🙏" /></p>
<p dir="auto">NOTE : existing trigger subscriptions keep the URL they were created with, so users must recreate them after upgrading.</p>
]]></description><link>https://forum.cloudron.io/post/132363</link><guid isPermaLink="true">https://forum.cloudron.io/post/132363</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Tue, 03 Nov 2026 17:58:51 GMT</pubDate></item><item><title><![CDATA[Reply to Dify on Tue, 03 Nov 2026 16:00:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/creative567145" aria-label="Profile: creative567145">@<bdi>creative567145</bdi></a> great work on the diagnosis and fix building.</p>
<p dir="auto">Looks good from a skim read, will read it more critically as soon as I get a chance, and fix package.</p>
<p dir="auto">If you haven't already done so, you could clone the publicly available Dify repo from <a href="https://forgejo.tcjc.uk/cca/cloudron-dify.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://forgejo.tcjc.uk/cca/cloudron-dify.git</a> and implement the change.<br />
Might get you going faster, but maybe you have already done it.</p>
<p dir="auto">Happy to put in the change also.</p>
]]></description><link>https://forum.cloudron.io/post/132358</link><guid isPermaLink="true">https://forum.cloudron.io/post/132358</guid><dc:creator><![CDATA[timconsidine]]></dc:creator><pubDate>Tue, 03 Nov 2026 16:00:03 GMT</pubDate></item></channel></rss>