Hideipnetwork / hideipnetwork-web

Based on Node.js + services wokers

Home Page:https://official.hideip.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

搜索没有反应,打开书签后台报错,v2版本

SenLief opened this issue · comments

bare-node@2.0.2 start
node index.mjs

http server http://0.0.0.0:56559/
/home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929
throw new Error('ipaddr: the address has neither IPv6 nor IPv4 format');
^

Error: ipaddr: the address has neither IPv6 nor IPv4 format
at ipaddr.parse (/home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929:19)
at GetAddrInfoReqWrap.callback (/home/senlief/web-proj/hideipnetwork-web/node_modules/@tomphttp/bare-server-node/dist/createServer.js:35:50)
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8)

Node.js v20.3.1

bare-node@2.0.2 start
node index.mjs

http server http://0.0.0.0:56559/ /home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929 throw new Error('ipaddr: the address has neither IPv6 nor IPv4 format'); ^

Error: ipaddr: the address has neither IPv6 nor IPv4 format at ipaddr.parse (/home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929:19) at GetAddrInfoReqWrap.callback (/home/senlief/web-proj/hideipnetwork-web/node_modules/@tomphttp/bare-server-node/dist/createServer.js:35:50) at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8)

Node.js v20.3.1

如果不是docker部署,请把IP改为127.0.0.1

改了之后还是不行,仍然报这个错误

改了之后还是不行,仍然报这个错误

不可能的,安装教程来,看看哪部漏了

应该就 3 步吧 1. 克隆仓库 2. npm install 3. npm run start Nginx 利用 ws 反代

________________________________ 发件人: allmors @.> 发送时间: Tuesday, July 4, 2023 2:09:47 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31) 改了之后还是不行,仍然报这个错误 不可能的,安装教程来,看看哪部漏了 ― Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA6JHPPMSJPDHYSCGC3XOOXSXANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.***>

请检测服务IP环境

啥意思?服务器 ipv4 和 ipv6 都有,这个服务 ip 环境怎么检测出来的。

________________________________ 发件人: allmors @.> 发送时间: Wednesday, July 5, 2023 4:24:13 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31) 应该就 3 步吧 1. 克隆仓库 2. npm install 3. npm run start Nginx 利用 ws 反代 …
________________________________ 发件人: allmors @.> 发送时间: Tuesday, July 4, 2023 2:09:47 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31<#31>) 改了之后还是不行,仍然报这个错误 不可能的,安装教程来,看看哪部漏了 D Reply to this email directly, view it on GitHub<#31 (comment)<#31 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA6JHPPMSJPDHYSCGC3XOOXSXANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.> 请检测服务IP环境 ― Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA3WHRN5KQB4OFZ3XR3XOUQC3ANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.>

必须强制使用https的

root@TCloud10656:~/hideipnetwork-web# npm run start

bare-node@2.0.2 start
node index.mjs

http server http://10.0.1.192:56559/
/root/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929
throw new Error('ipaddr: the address has neither IPv6 nor IPv4 format');
^

Error: ipaddr: the address has neither IPv6 nor IPv4 format
at ipaddr.parse (/root/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929:19)
at GetAddrInfoReqWrap.callback (/root/hideipnetwork-web/node_modules/@tomphttp/bare-server-node/dist/createServer.js:35:50)

使用 "@tomphttp/bare-server-node": "1.2.2", 版本解决