Comments (24)
详细信息?浏览器控制台 network 排查看下
from jsproxy.
图片
显示502错误,preview就是TypeError: Failed to fetch
from jsproxy.
502 是 nginx 内部错误,你看下服务器的错误日志:tail /home/jsproxy/server/nginx/logs/error.log
估计是 1.1.1.1 这个 DNS 连不上。
from jsproxy.
2019/05/19 03:13:14 [error] 7622#0: 2 failed to run log_by_lua: log_by_lua(nginx.conf:80):1: module 'g' not found:
no field package.preload['g']
no file './lua/g.lua'
no file '/home/jsproxy/openresty/site/lualib/g.so'
no file '/home/jsproxy/openresty/lualib/g.so'
no file './g.so'
no file '/usr/local/lib/lua/5.1/g.so'
no file '/home/jsproxy/openresty/luajit/lib/lua/5.1/g.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
log_by_lua(nginx.conf:80):1: in main chunk while logging request, client: 103.200.113.114, server: .tw, request: "OPTIONS /http HTTP/2.0", host: ".tw:8443"
DNS没问题
from jsproxy.
把 server/nginx.conf 里的 log_by_lua 前面加一个 # 试试,重启服务试试?
貌似 CDN 上的文件没更新。。。
from jsproxy.
成功了,谢谢大佬
from jsproxy.
同样的“TypeError: Failed to fetch”。没有服务器端的错误记录,curl远程测试8080端口都是OK的,客户端配置8080端口、8443端口都无法访问。
from jsproxy.
错误如图。
源码里的节点有可用的吗? 我都删除了,添加了自己的服务器端地址,无论是域名:8080还是localhost都不行
from jsproxy.
你nginx配置的是监听8443吗
from jsproxy.
错误如图。
源码里的节点有可用的吗? 我都删除了,添加了自己的服务器端地址,无论是域名:8080还是localhost都不行
之前程序有些问题,我更新 README 了。用最新的安装方式试试?
from jsproxy.
你nginx配置的是监听8443吗
之前是8080……
我服务器端和客户端放一个VPS下,域名相同没问题吧?
现在更改NGINX配置
没用server下gen-cert生成,用的是腾讯云申请的SSL。
结果还是不行
from jsproxy.
你nginx配置的是监听8443吗
之前是8080……
我服务器端和客户端放一个VPS下,域名相同没问题吧?现在更改NGINX配置
没用server下gen-cert生成,用的是腾讯云申请的SSL。
结果还是不行
服务器端和客户端同个域名的话,allowed-sites.conf 里加一行 '' xxx;
,因为请求头 origin 字段为空。之前没考虑这种情况,下次我加一个判断。
from jsproxy.
服务器端server/nginx/logs/proxy.log没有记录,说明客户端请求没到服务端。依旧报TypeError: Failed to fetch错误
from jsproxy.
server/nginx/logs/proxy.log
server/nginx/logs/error.log 有记录吗?是不是 8080/8443 端口没有添加到防火墙里?
from jsproxy.
TypeError: Failed to fetch我之前也遇到过,主要是在移动端的chrome内核的浏览器上,log里同样没啥错误记录,新版本还没有更新,下午试试再反馈
from jsproxy.
我部署完成后,把端口改为了443,域名也改成了私人的域名。
浏览器显示“TypeError: Failed to fetch”该怎么解决?
from jsproxy.
我部署完成后,把端口改为了443,域名也改成了私人的域名。
浏览器显示“TypeError: Failed to fetch”该怎么解决?
conf.js
里的配置也改了吗?或者看下 ~/server/nginx/logs/error.log
里有显示什么内部错误吗?
from jsproxy.
conf.js 里的配置没改,要怎么改啊?
from jsproxy.
conf.js 里的配置没改,要怎么改啊?
改 lines 数组里的地址,改成你的域名就好了。(改完后用隐身模式试试)
from jsproxy.
成功的,就是速度没有ssr+BBR快
from jsproxy.
from jsproxy.
用的是最新这个版本的安装脚本吗?
from jsproxy.
用的是最新这个版本的安装脚本吗?
是的,最新脚本,先开始安装还工作过了会不行了重装还是这样不知道咋回事?
from jsproxy.
用的是最新这个版本的安装脚本吗?
是的,最新脚本,先开始安装还工作过了会不行了重装还是这样不知道咋回事?
修改 allowed-sites.conf
,把这个域名加到白名单试试。
from jsproxy.
Related Issues (20)
- 为什么./-----$WantProxyWebsite$有5个-啊 HOT 3
- 这个脚本坏了 HOT 4
- 问题 HOT 2
- 自定义域名报错,但cf给的域名就没问题
- 能不能有个简单教程,怎么部署程序,放在自己以前安装的nginx里面。自己反代 HOT 3
- 无 HOT 1
- 手动安装成功了,只有几步需要修改一下 HOT 7
- 这个项目不维护了? HOT 2
- 网页代理翻墙 HOT 2
- [Feature Request] serviceworker auto loading in proxy page
- 推荐一个超级牛逼的 HOT 4
- docker 镜像,支持 x86_64 和 arm/v8 HOT 9
- Workers requests timeout after 30 seconds
- 请问如何手动安装证书 HOT 1
- 布署到cloudflare workers上, 但找不到修改首页的地方
- 部分情况下无法加载/逃逸 HOT 2
- 尝试搭建了CF的,怎么打不开?是失效了吗 HOT 2
- 给你们推荐一个同类产品 HOT 1
- how to build the assets of gh-page branch
- 请问, CF版如何让它不要跳转https://, 众所周知https://的.workers.dev被sni阻断了,http的可用, 但是脚本会自动跳转https...导致直连不可用哈. 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 jsproxy.