Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调试报错,也无法开发open.weixin.qq.com/类似的链接 #23

Open
evanyangg opened this issue Dec 27, 2016 · 17 comments
Open

调试报错,也无法开发open.weixin.qq.com/类似的链接 #23

evanyangg opened this issue Dec 27, 2016 · 17 comments

Comments

@evanyangg
Copy link

e6d360ea-b981-4591-8354-8bd5737670b6
不知道是不是升级的原因,现在已经无法调试了,报错如图,
环境:
node: 7.2
macOs

@evanyangg evanyangg changed the title 无法调试了.. 调试报错,也无法开发open.weixin.qq.com/类似的链接 Dec 27, 2016
@evanyangg
Copy link
Author

当开打open.weixin.qq.com 之类的链接时,显示网络出错
img_1716

@wuchangming
Copy link
Owner

wuchangming commented Dec 27, 2016

open.weixin.qq.com 这种是什么url?
怎样能访问?

@evanyangg
Copy link
Author

@wuchangming
这是个微信调试的时候,前台通过ajax访问服务器,由服务器端response.sendredirect到微信服务器(open.weixin.qq.com)链接,然后就会出现这个问题

@wuchangming
Copy link
Owner

怀疑是anyproxy影响了微信的mmtls协议。你试试关掉anyproxy或者换使用Charles作为外部代理试试呢

@evanyangg
Copy link
Author

我试着关闭了anyproxy,好像效果还是一样的.

@wuchangming
Copy link
Owner

你截屏的商户中心的网址是?

@wuchangming
Copy link
Owner

wuchangming commented Jan 1, 2017

3.5.0以后mmtls协议的请求不再转发到anyproxy或者外部代理
更新到3.5.0后,这个问题应该不会再复现

@evanyangg
Copy link
Author

@wuchangming
image
这个问题大概是什么原因啊?
还有我访问页面的时候巨慢,不知道为什么要等半天.
你可以用这个地址测试
http://mall.seanop.com/index.html?appid=wx577ceed28ae2927c&supid=20047&funcid=1&proid=0

@wuchangming
Copy link
Owner

@evanyangg ,同一网络下不连代理网速怎样

@evanyangg
Copy link
Author

内网肯定比mall.seanop.com 这种反向代理的速度快, 但是差距不是很大

@evanyangg
Copy link
Author

我在本地打开上面的测试连接 速度还是可以的

@evanyangg
Copy link
Author

WARNING: Too many active WebGL contexts. Oldest context will be lost.
好像是引入高德地图js的问题

@wuchangming
Copy link
Owner

因为https需要动态生成证书,速度上确实会有影响。

@evanyangg
Copy link
Author

@wuchangming
Copy link
Owner

wuchangming commented Jan 6, 2017

@evanyangg ,我看了下可以正常使用。另外,anyproxy不需要关掉(bug已修复)。
你的spy-debugger和nodejs,微信分别时什么版本?

@evanyangg
Copy link
Author

node v7.2.0
spy-debugger v3.5.0
wechat v6.5.3
你点击确定是否能进入到自己的页面呢?
img_1730
这个是我加载的页面,无法正确加载,当我切到4G 可以正常加载.
我在怀疑是不是公司内部网络的原因.
还有一个细节 我平时启动 直接输入spy-debugger, 没有带任何参数. 这个是否有关系

@wuchangming
Copy link
Owner

wuchangming commented Jan 6, 2017

@evanyangg
1、启动不带参数没问题
2、用Safari访问下别的网络看能不能通,比如百度。
3、你可以通过直连Wi-Fi不通过spy-debugger代理的方式来确定是不是公司网络问题

点击后跳转到:http://shop.evanyang.me/openwx/authorize?code=021PxnYH1XTbW50tSbYH1BLmYH1PxnYy&state=20047&appid=wx577ceed28ae2927c

但是你们这个页面404:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants