Giter Club home page Giter Club logo

Comments (45)

avwo avatar avwo commented on May 23, 2024

可以在 配置/入口配置 添加域名,但这种只支持http 请求注入小圆点,建议还是上传证书

from nohost.

NidMo avatar NidMo commented on May 23, 2024

from nohost.

NidMo avatar NidMo commented on May 23, 2024
  • 假设我在本地 localhost:8050 起了一个普通web应用(比如vuecli的初始创建项目),那我在入口配置中,该怎么配置才能实现拦截转发到nohost,并在返回的html插入小圆点?我按文档的配置方式并没有成功插入小圆点,所以我这样的需求是能够实现的?
  • 或者我还是在本地 localhost:8050 起了一个普通web应用(比如vuecli的初始创建项目),我能通过nohost,将一个任意域名的请求最后转发到localhost:8050,这样来达成一个代理吗?

from nohost.

avwo avatar avwo commented on May 23, 2024

本地开发可以页面本身的域名,再通过 Whistle 将请求转发到本地服务,参考:https://nohost.pro/docs/developer/usage

from nohost.

NidMo avatar NidMo commented on May 23, 2024

我按文档的说明在入口配置中配置了 localhost.** 。 然后用nohost-client链接成功,在本地 localhost:8050 起了一个普通web应用(比如vuecli的初始创建项目),但并没有插入小圆点。所以必须用whistle转发?

from nohost.

avwo avatar avwo commented on May 23, 2024

avwo/whistle#266

from nohost.

NidMo avatar NidMo commented on May 23, 2024

使用switchyomega是可以插入小圆点,但使用nohost-client,是不是这个客户端有点问题,而且我pack:win出来的程序,打开就白屏闪退,只能run start来使用nohost-client。

from nohost.

avwo avatar avwo commented on May 23, 2024

这个问题我们看下

from nohost.

NidMo avatar NidMo commented on May 23, 2024

或者你们可以定期发布一个Release版本的exe文件

from nohost.

avwo avatar avwo commented on May 23, 2024

这个可以有,通用插件和客户端我们在开发中,尽快上线给大家用。

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

@NidMo 白屏的问题已经修复,可以使用0.0.3这个版本的包

from nohost.

NidMo avatar NidMo commented on May 23, 2024

@NidMo 白屏的问题已经修复,可以使用0.0.3这个版本的包

nohost的客户端是不是无法生效代理?

我配置了一些规则,使用SwitchyOmega。这些代理规则是生效的。
image

但我使用nohost客户端的时候,这些规则就没有生效
@avwo

from nohost.

avwo avatar avwo commented on May 23, 2024

规则怎么配的,nohost 上看下请求有没有过去。

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

@NidMo 白屏的问题已经修复,可以使用0.0.3这个版本的包

nohost的客户端是不是无法生效代理?

我配置了一些规则,使用SwitchyOmega。这些代理规则是生效的。 image

但我使用nohost客户端的时候,这些规则就没有生效 @avwo

在客户端输入nohost的地址了吗?代理是否配置成功,可以通过看系统代理是否有配置

如果浏览器有switchOmega,选择系统代理,看看是否可以

from nohost.

avwo avatar avwo commented on May 23, 2024

点击这个
image

from nohost.

NidMo avatar NidMo commented on May 23, 2024

入口配置:
image

whistle:
image

SwitchyOmega:
image

这套配置是生效的,符合预期。但停止SwitchyOmega,使用nohost的客户端的时候就不行。

from nohost.

avwo avatar avwo commented on May 23, 2024

这里填入 www.qq.com
image

from nohost.

NidMo avatar NidMo commented on May 23, 2024

nohost客户端:
image

系统配置:
image

nohost客户端没生效

from nohost.

avwo avatar avwo commented on May 23, 2024

先按我说的操作看看

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

nohost客户端: image

系统配置: image

nohost客户端没生效

nohost地址需要带上协议,也就是nohost的地址应该是 http://127.0.0.1:8080

from nohost.

NidMo avatar NidMo commented on May 23, 2024

先按我说的操作看看

入口配置是有配 www.qq.com
使用扩展SwitchyOmega,nohost规则是生效的,符合预期的。只是使用nohost客户端的时候没生效

from nohost.

NidMo avatar NidMo commented on May 23, 2024

nohost客户端: image
系统配置: image
nohost客户端没生效

nohost地址需要带上协议,也就是nohost的地址应该是 image

更换为 http://127.0.0.1:8080
依旧没有生效
image

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

勾选上看看
image

from nohost.

NidMo avatar NidMo commented on May 23, 2024

勾选上看看 image

。。。勾选了
image

image

image

from nohost.

NidMo avatar NidMo commented on May 23, 2024

@avwo
image
使用nohost客户端报这个错,错误信息中的node版本和本地的node版本对不上,我尝试切换过node版本,但错误信息好像固定是v12.8.1。

我本地使用的是最新的v17.2.0

from nohost.

avwo avatar avwo commented on May 23, 2024

估计网络不通,Whistle Network 上看下请求 Server IP 是否正确

from nohost.

NidMo avatar NidMo commented on May 23, 2024

估计网络不通,Whistle Network 上看下请求 Server IP 是否正确

我切换到最新的node LTS(v16.13.1), @nohost/server: 1.2.4 。还是一样的报错。
image

network中没有任何记录,应该是连不上。但这些问题,都是出现在使用nohost客户端。使用SwitchyOmega没有任何问题,是不是nohost客户端还是不能正常使用。

from nohost.

avwo avatar avwo commented on May 23, 2024

nohost 客户端抓包看下有没有请求过去

from nohost.

NidMo avatar NidMo commented on May 23, 2024

nohost 客户端抓包看下有没有请求过去

使用mac版本的nohost也是一切正常,明天回公司我再试试win版本的nohost客户端

from nohost.

NidMo avatar NidMo commented on May 23, 2024

image

依旧没有请求过去。。。莫名的错误,顺便催更一下,TDE大概什么时候开源出来,明年有一个准确一点的时间节点吗 @avwo

from nohost.

avwo avatar avwo commented on May 23, 2024

image

依旧没有请求过去。。。莫名的错误,顺便催更一下,TDE大概什么时候开源出来,明年有一个准确一点的时间节点吗 @avwo

网关已经完成 90%,管理后台还在规划中,如果一切顺利应该在明年3月份开源。

from nohost.

NidMo avatar NidMo commented on May 23, 2024

image
依旧没有请求过去。。。莫名的错误,顺便催更一下,TDE大概什么时候开源出来,明年有一个准确一点的时间节点吗 @avwo

网关已经完成 90%,管理后台还在规划中,如果一切顺利应该在明年3月份开源。

nohost客户端win版本 v0.0.3 应该还是有问题的,我找同事安装测试nohost服务还是和我本机一样的报错,同样使用代理扩展,服务一切正常。

from nohost.

avwo avatar avwo commented on May 23, 2024

好的,我们看下

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

我这边用window电脑调试是没有问题的,方便的话,加一下这个qq:397788323,我们qq上聊 @NidMo

from nohost.

NidMo avatar NidMo commented on May 23, 2024

我这边用window电脑调试是没有问题的,方便的话,加一下这个qq:397788323,我们qq上聊 @NidMo

吓,没有问题吗,那是不是有什么前置条件我是没做吗?我是直接安装Release里的v0.3版本。会不会和我公司内网环境有关,我晚上回去找台window电脑再调试一波。

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

我本地启动nohost,客户端配置http://127.0.0.1:8080,是可以正常使用的

from nohost.

NidMo avatar NidMo commented on May 23, 2024

我本地启动nohost,客户端配置http://127.0.0.1:8080,是可以正常使用的

尴尬了,在家借了台window电脑试了下,发现没有问题。那现在的问题可能就是公司那边的内网造成的影响,使用nohost客户端会报错,使用switchyomega正常,这种情况我应该怎么处理。@avwo

from nohost.

avwo avatar avwo commented on May 23, 2024

报什么错

from nohost.

NidMo avatar NidMo commented on May 23, 2024

报什么错

image

使用nohost客户端,在公司的内网环境下会报这个错误。使用浏览器扩展switchyomega就没问题。@avwo

from nohost.

NidMo avatar NidMo commented on May 23, 2024

image

在公司内网环境下,直接设置系统代理,nohost也是符合预期。但使用nohost客户端就是不行,我应该如何排查这个问题。@avwo @WzFFzW

from nohost.

avwo avatar avwo commented on May 23, 2024

应该是客户端的问题,我们排查下。

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

@NidMo 方便的话,加一下我QQ吧,快速定位一下问题

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

@NidMo

  1. 打开客户端,浏览器访问127.0.0.1:55001是否正常
  2. 访问http://127.0.0.1:55001/whistle.proxy-settings/cgi-bin/rules,看下是否有返回。
  3. 访问业务链接,看看127.0.0.1:55001的界面的抓包,是否有connect请求。
  4. 看下127.0.0.1:55001的界面的这个,
    image

from nohost.

NidMo avatar NidMo commented on May 23, 2024

image
打开客户端,浏览器访问127.0.0.1:5500正常

image
访问http://127.0.0.1:55001/whistle.proxy-settings/cgi-bin/rules
有返回

image
访问业务链接,看看127.0.0.1:55001的界面的抓包,没有connect请求

image
没有勾选

from nohost.

WzFFzW avatar WzFFzW commented on May 23, 2024

image

从这个看,应该是配置一个不存在的域名imwebtest.test.com,导致有问题

from nohost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.