Comments (3)
看下 nohost 管理后台 / Whistle / Online 的 CPU 和内存使用情况。
from nohost.
后台是比较正常的,而且其他人访问没有问题,就只有一台电脑出现了,不是先记录用户环境,再请求成功的吗?
看着目前是请求成功(访问到测试环境),再记录用户环境
from nohost.
排查到跟nohost-client有关,背景是目前我们nohost有存在外网访问的场景,之前会导致大家出口ip是同一个而互相干扰环境选择,于是在代理插件 whistle.proxy-settings-hw 上增加了逻辑获取本地的ip作为唯一标识传入到 reqHeaders://(x-whistle-client-id=xxxx) 请求头中,代码如下:
但是后台抓包日志看到是没有clienId,抓包工具由 autosave 修改,应该不会出错。觉得有如下两种可能,大佬也帮忙看下两个中是否有问题:
- nohost服务端解析clientId功能有问题
- client代理时没有把请求头加上
当前解决方案,临时在nohost服务端拦截身份标识丢失的请求:
from nohost.
Related Issues (20)
- 自定义clientIp绑定逻辑 HOT 1
- 无法使用autosave插件 HOT 21
- client设置了多个请求头规则,但是只有 x-whistle-client-id 生效了 HOT 5
- 上传证书之后会将证书域名增加到入口规则 HOT 3
- baseDir 绝对路径(如 /data/.nohost )配置不生效 HOT 2
- nohost 部署在云函数报错 non-error thrown: node: bad option: --tls-min-v1.0 HOT 2
- 在账号抓包界面中,生成二维码地址有误 HOT 4
- nohost对接本地的whistle后,当去除接入规则后,whistle的自有规则受到影响 HOT 6
- macos 13 ventura系统版本中使用发生闪退 HOT 5
- 默认的正式环境能否禁用 HOT 1
- 账密加密使用sha1不够安全
- 这里的证书和key如何配置呀 HOT 1
- 偶发网站无法访问,需要过段时间才能访问 HOT 7
- 服务部署一段时间后出现 Error: socket hang up HOT 18
- 这里如果是app抓包,是怎么控制多环境的呢 HOT 1
- 同一局域网多用户同时使用环境冲突问题 HOT 1
- 如何开启whistle socks HOT 3
- 请求的Content-Length字段偏小时,nohost不显示这个请求
- nohost 通过域名映射到公网遇到的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nohost.