<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>WeChat on Margrop Blog</title>
    <link>https://blog.margrop.net/en/tag/wechat/</link>
    <description>Recent content in WeChat on Margrop Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Sun, 31 May 2026 08:00:00 +0800</lastBuildDate>
    <atom:link href="https://blog.margrop.net/en/tag/wechat/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Why HermesAgent Would Not Reply in WeChat or WeCom: The Real Culprit Was a Local Relay With a 3-Second Timeout</title>
      <link>https://blog.margrop.net/en/post/hermesagent-wechat-wecom-relay-timeout-debugging/</link>
      <pubDate>Sun, 31 May 2026 08:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/hermesagent-wechat-wecom-relay-timeout-debugging/</guid>
      <description>The short version This incident looked like a model problem or a broken messaging channel, but the real failure happened one layer lower: my local relay cut the upstream request off after 3 seconds. That was fine for quick health checks, but it was wrong for real WeChat and WeCom turns, which often take longer to produce a complete answer from the NewAPI gateway. Once the relay disconnected too early, HermesAgent could only see Connection error, RemoteProtocolError, and then exhausted fallback attempts.</description>
    </item>
    <item>
      <title>Why My AI Assistant Repeated One Reply Four Times: Debugging an OpenClaw WeChat Channel Issue</title>
      <link>https://blog.margrop.net/en/post/openclaw-wechat-duplicate-reply-debugging/</link>
      <pubDate>Fri, 29 May 2026 11:24:29 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/openclaw-wechat-duplicate-reply-debugging/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;The symptom looked like a messaging-channel bug: an AI assistant connected to a personal chat channel appeared to repeat the same reply multiple times. The real bug was earlier in the chain. Before the reply ever reached the message-sending layer, the OpenClaw agent had already produced duplicated visible text. The useful fix was not to patch the chat sender blindly, but to split the path into transport, session, model-routing, and provider layers, then compare the OpenAI-compatible gateway path with the native provider path. Once the faulty compatible provider candidate was removed from the visible model set and the personal IM channel was pinned to the native provider, the same minimal prompt returned exactly once.&lt;/p&gt;&#xA;&lt;p&gt;This post is deliberately privacy-safe. It contains no real internal addresses, account IDs, tokens, session IDs, personal chat identifiers, or private file paths. Configuration examples use placeholders. The value is the debugging method, not the private environment.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>How to Prompt OpenClaw, HermesAgent, Codex, Claude, Gemini, OpenCode, and Droid to Write Articles and Publish WeChat Drafts</title>
      <link>https://blog.margrop.net/en/post/agent-prompt-wechat-draft-automation/</link>
      <pubDate>Tue, 05 May 2026 16:00:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/agent-prompt-wechat-draft-automation/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Short version&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you want an agent such as OpenClaw, HermesAgent, Codex, Claude, Gemini, OpenCode, or Droid to write an article, prepare a Hugo blog post, convert the Chinese version into WeChat-compatible HTML, preview it, fix layout issues, and create a WeChat Official Account draft, the prompt cannot simply say &amp;ldquo;write and publish an article.&amp;rdquo; A useful prompt must define the goal, source material, paths, account constraints, fixed-IP requirements, conversion steps, preview checks, failure recovery, privacy boundaries, and final verification evidence.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;This post describes a reusable prompting pattern for article automation. It explains how to prepare the WeChat draft API, why a Linux machine with a fixed public IP is often required, how to tell an agent to try local API access first and then fall back to a fixed-egress host, how to use a Markdown-to-WeChat-HTML converter, and how to make the agent check for invisible white text, strange indentation, broken images, and accidental leaks before declaring the job done.&lt;/p&gt;&#xA;&lt;p&gt;All examples are privacy-safe. They use placeholders rather than real secrets, private IP addresses, hostnames, repository URLs, tokens, cookies, or personal paths. Replace placeholders with your own values only in a protected runtime environment, never in a public article, public repository, or screenshot.&lt;/p&gt;</description>
    </item>
    <item>
      <title>[Repost] Google Cloud Free VM, 2-core 1 GB RAM, 30 GB disk, 200 GB traffic/month</title>
      <link>https://blog.margrop.net/en/post/google-cloud-free-vm-repost/</link>
      <pubDate>Mon, 20 Apr 2026 08:28:00 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/google-cloud-free-vm-repost/</guid>
      <description>&lt;h1 id=&#34;repost-google-cloud-free-vm-2-core-1-gb-ram-30-gb-disk-200-gb-trafficmonth&#34;&gt;[Repost] Google Cloud Free VM, 2-core 1 GB RAM, 30 GB disk, 200 GB traffic/month&lt;/h1&gt;&#xA;&lt;section style=&#34;margin-bottom: 40px;line-height: 1.6em;&#34;&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;I have introduced several free cloud servers before. In fact, the three major overseas cloud providers (Google, Amazon, and Microsoft) all have free tiers. The latter two are time-limited and not very interesting. In addition to a three-month trial of regular-priced machines, Google also offers a permanent free server.&lt;/span&gt;&lt;/span&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;It comes with 2 cores, 1 GB of memory, 30 GB of disk, and 200 GB of traffic per month. That is still enough to play around with.&lt;/span&gt;&lt;/span&gt;&lt;/section&gt;&lt;section style=&#34;margin-bottom: 24px;line-height: 1.6em;&#34;&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;font-size: 20px;letter-spacing: 0.5px;color: rgb(0, 128, 255);font-weight: bold;&#34;&gt;I. Google Cloud Trial &amp; Free&lt;/span&gt;&lt;/span&gt;&lt;/section&gt;&lt;section style=&#34;margin-bottom: 24px;line-height: 1.6em;&#34;&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;Google Cloud, as the name suggests, is a cloud server made by Google. The current Google Cloud trial is only three months, and the quota seems to be 300 US dollars. If you buy a regular-price machine, it will be used up all at once, so it is better to use a free server.&lt;/span&gt;&lt;/span&gt;&lt;/section&gt;&lt;section style=&#34;margin-bottom: 24px;line-height: 1.6em;&#34;&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;This article does not involve Google Cloud registration and trial use. Anyone with a Google account can register for this thing. It is not difficult. Moreover, I registered it several years ago. I don’t remember the specific details. If you don’t know, you can Google it yourself. Even if the new account is still on trial, it will not affect the trial of the free instance in this article.&lt;/span&gt;&lt;/span&gt;&lt;/section&gt;&lt;section style=&#34;margin-bottom: 24px;line-height: 1.6em;&#34;&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;Mainly Google Cloud’s free servers. Google Cloud has given free quotas to corresponding regions.&lt;/span&gt;&lt;/span&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;Oregon, Iowa, South Carolina&lt;/span&gt;&lt;/span&gt;&lt;span leaf=&#34;&#34;&gt;&lt;span textstyle=&#34;&#34; style=&#34;letter-spacing: 0.5px;&#34;&gt;e2-micro instance, 2-core CPU + 1g memory + 30g hard disk, with public network IPv4, 200g traffic per month. This traffic is not limited to regions. Some people will say that the picture does not say &#34;1 per month&#34; GB outbound traffic?&#34; Yes, first of all, Google Cloud only counts outbound traffic, not two-way traffic. Secondly, the free 1g traffic in the picture is &#34;advanced tier&#34;, not &#34;standard tier&#34; traffic. The advanced tier is a little better than the standard tier network quality, of course, it is only a little better (although it was not before), and the standard tier is global 200g traffic.&lt;/span&gt;&lt;/span&gt;&lt;/section&gt;</description>
    </item>
    <item>
      <title>WeChat Old Version Installation Method - Version Too Low, Please Upgrade to the Latest Version</title>
      <link>https://blog.margrop.net/en/post/how-to-install-old-version-wechat/</link>
      <pubDate>Fri, 05 Mar 2021 11:22:11 +0800</pubDate>
      <guid>https://blog.margrop.net/en/post/how-to-install-old-version-wechat/</guid>
      <description>&lt;h1 id=&#34;first-install-the-latest-version-of-wechat-and-log-in&#34;&gt;First install the latest version of WeChat and log in.&lt;/h1&gt;&#xA;&lt;h1 id=&#34;uninstall-the-app-using-the-cmd-command-while-preserving-user-data&#34;&gt;Uninstall the app using the cmd command while preserving user data:&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;adb shell pm uninstall -k com.tencent.mm&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;restart-your-phone&#34;&gt;Restart your phone&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;adb root&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;This step is very important, otherwise you will get an error message &lt;code&gt;adb: failed to install xxxxxx Failure [INSTALL_FAILED_VERSION_DOWNGRADE]&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;install-the-old-version-apk-using-the-cmd-command-followed-by-the-installation-package-path&#34;&gt;Install the old version APK using the cmd command (followed by the installation package path):&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;adb install -r -d&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;log-into-your-wechat-account-on-the-old-version&#34;&gt;Log into your WeChat account on the old version.&lt;/h1&gt;</description>
    </item>
  </channel>
</rss>
