x2rr / funds

自选基金助手是一款Chrome扩展,用来快速获取关注基金的实时数据,查看自选基金的实时估值情况
https://x2rr.github.io/funds/docs/dist/index.html
GNU General Public License v3.0
2.23k stars 279 forks source link

数据全部丢失了,界面一片空白 #176

Open perpetually opened 3 years ago

perpetually commented 3 years ago

是服务器出bug了么? Snipaste_2021-10-09_15-57-47

x2rr commented 3 years ago

一般为本机网络问题

x2rr commented 3 years ago

能否提供一下当前的基金列表?可以在设置中导出

perpetually commented 3 years ago

{"BadgeContent":1,"BadgeType":1,"RealtimeFundcode":null,"darkMode":true,"fundListM":[{"code":"007531","cost":"1.6757","num":"9607.84"},{"code":"110022","cost":"3.5163","num":"2860.96"},{"code":"162703","cost":"3.033","num":"3607.56"},{"code":"001717","cost":"4.4889","num":"5411.10"},{"code":"160222","cost":"1.1877","num":"41484.95"},{"code":"161005","cost":"3.5519","num":"6299.09"},{"code":"005827","cost":"2.8933","num":"11440.17"},{"code":"260108","cost":"2.9577","num":"19839.53"},{"code":"519772","cost":"3.2322","num":"10392.40"},{"code":"163406","cost":"2.0756","num":"21113.36"},{"code":"001102","cost":"3.8396","num":"12594.90"},{"code":"002190","cost":"3.9506","num":"101.25"}],"grayscaleValue":0,"mpVersion":"1.4.0","normalFontSize":false,"opacityValue":0,"showAmount":true,"showBadge":1,"showCost":true,"showCostRate":true,"showGSZ":false,"showGains":true,"sortTypeObj":{"name":"costGains","type":"none"},"userId":"230874bd-c234-4e40-84f1-6a1a05fad7fb","version":"3.0.3"}

perpetually commented 3 years ago

能否提供一下当前的基金列表?可以在设置中导出

我重新安装了一下,并没有解决这个问题,我本地网络良好,刷新了很多次都是这样的

x2rr commented 3 years ago

试试在浏览器上能否打开此链接并正常返回数据。 链接

kosmosr commented 3 years ago

我也出现了这个问题 打开这个链接显示网络繁忙

试试在浏览器上能否打开此链接并正常返回数据。 链接

perpetually commented 3 years ago

试试在浏览器上能否打开此链接并正常返回数据。 链接

image

CaoShenZhou commented 3 years ago

我也是

starwuleo commented 3 years ago

今天下午还好好的,傍晚就空白一片,全没了 image

perpetually commented 3 years ago

有微信群么?可以拉我一下,应该很多人有这个问题,大家一起讨论一下

发自我的iPhone

在 2021年10月9日,22:13,starwuleo @.***> 写道:

 今天下午还好好的,傍晚就空白一片,全没了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

yyx3658 commented 3 years ago

确实挂了,导入备份和从云端下载数据都是空白。。。

yyx3658 commented 3 years ago

{"Datas":null,"ErrCode":61136403,"Success":false,"ErrMsg":"网络繁忙,请稍后重试!","Message":null,"ErrorCode":"61136403","ErrorMessage":"网络繁忙,请稍后重试!","ErrorMsgLst":null,"TotalCount":0,"Expansion":null}

chaihongjun commented 3 years ago

同样也是界面空白

gebiWangshushu commented 3 years ago

一样自选基金全没了,一片空白

coffeeyen commented 3 years ago

一样的, 好像是10.9晚上开始的, 现在微信小程序重新登陆后可以从云端导入数据, OK了, 虽然云端数据不是最新. 但说明云端是有基金列表的. 浏览器插件不行, 尝试过重新登陆然后从云端导入, 仍然是空白.

haochen233 commented 3 years ago

+1

onelee85 commented 3 years ago

还没解决么

cauchyguo commented 3 years ago

挂了啊兄弟,全是空的。在编辑里面按代码也搜不到之前添加的基金信息。

x2rr commented 3 years ago

目前我这里是正常的,根据大家的反馈,某些浏览器会提示网络繁忙,某些又没问题,初步判断为数据源屏蔽了某些浏览器的请求

cauchyguo commented 3 years ago

目前我这里是正常的,根据大家的反馈,某些浏览器会提示网络繁忙,某些又没问题,初步判断为数据源屏蔽了某些浏览器的请求

我这用的chrome浏览器,版本 94.0.4606.81

guozujiayou commented 3 years ago

edge浏览器也是一片空白

kuole-o commented 3 years ago

俺也这样

zhl111 commented 3 years ago

我的也是空白,导入后还是空白。edge浏览器

X-Wilson commented 3 years ago

导出的json数据正常,但是页面显示不出来,Edge浏览器(版本 94.0.992.38 (官方内部版本) (64 位))

zs492761271 commented 3 years ago

同样的情况,该这么处理呀。

m511386374 commented 3 years ago

我也出现了这个问题

mimirong commented 3 years ago

天天基金换接口了 估计还没更新

Yinwenxu commented 3 years ago

我的也出问题了

Yinwenxu commented 3 years ago

一直提示token不合法让重新登录 但是退不出来

wangyi404 commented 3 years ago

接口崩了 看一看

ybjecho commented 3 years ago

接口崩了, image

x2rr commented 3 years ago

3.0.4版本已修复,大家试一下 choose-funds-v3.0.4.crx

starwuleo commented 3 years ago

3.0.4版本已修复,大家试一下 choose-funds-v3.0.4.crx

大佬666

perpetually commented 3 years ago

最新的3.04作者已经修复了,大家快点更新,感谢大佬

KeZhimin commented 3 years ago

应该是headers里面User-Agent的value有问题,默认直接请求value是Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Edg/94.0.992.38,把value中AppleWebKit/537.36 (KHTML, like Gecko)这个去掉就可以了。

xuyh1024 commented 1 year ago

应该是headers里面User-Agent的value有问题,默认直接请求value是Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Edg/94.0.992.38,把value中AppleWebKit/537.36 (KHTML, like Gecko)这个去掉就可以了。

确实,排查了半天错误,但是直接在请求里添加是不行的

尝试在 background.js 中添加如下代码

chrome.webRequest.onBeforeSendHeaders.addListener(
    function(details) {
      details.requestHeaders.push({name: 'User-Agent', value: 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/94.0.4606.71'});
      return {requestHeaders: details.requestHeaders};
    },
    {urls: ['<all_urls>']},
    ['blocking', 'requestHeaders']
);