[PR #177] [MERGED] fix plugin manager listen addr #102

Closed
opened 2025-12-29 07:19:21 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/177
Author: @hxzhao527
Created: 3/2/2025
Status: Merged
Merged: 3/2/2025
Merged by: @gschier

Base: masterHead: fix/plugin_manager_addr


📝 Commits (1)

  • 5325906 fix plugin manager listen addr

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 src-tauri/yaak-plugins/src/manager.rs (+2 -2)

📄 Description

When both IPv4 and IPv6 are enabled (dual-stack), localhost resolves to ::1 (IPv6), causing the plugin ​yaaknode​ to fail to connect, which subsequently leads to application startup failure. Therefore, we explicitly use the IPv4 localhost address (127.0.0.1) here.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/177 **Author:** [@hxzhao527](https://github.com/hxzhao527) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/2/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `fix/plugin_manager_addr` --- ### 📝 Commits (1) - [`5325906`](https://github.com/mountain-loop/yaak/commit/5325906db0f70f8e7d3ba7993eb1dca8da260f70) fix plugin manager listen addr ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/yaak-plugins/src/manager.rs` (+2 -2) </details> ### 📄 Description When both `IPv4` and `IPv6` are enabled (dual-stack), `localhost` resolves to `::1` (`IPv6`), causing the plugin ​`yaaknode​` to fail to connect, which subsequently leads to application startup failure. Therefore, we explicitly use the `IPv4` `localhost` address (`127.0.0.1`) here. ![image](https://github.com/user-attachments/assets/5d4a31a5-bd1e-4035-a0e3-23850d020f23) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:21 +01:00
adam closed this issue 2025-12-29 07:19:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#102