Comments (11)
查看脚本后使用 https://sub.store/api/cron/sync-artifacts 在浏览器运行。MacOS端返回:
{"success":[],"failed":[{"name":"surge","type":"subscription","source":"***","platform":"Surge","updated":1614777090645,"url":"https://gist.githubusercontent.com/nichwang88/**********************************************/raw/surge","sync":true}]}
通知显示:同步订阅失败,原因: Socket closed by remote peer。
iPhone端返回正常:
{"success":[{"name":"surge","type":"subscription","source":"***","platform":"Surge","updated":1614777529439,"url":"https://gist.githubusercontent.com/nichwang88/**********************************************/raw/surge","sync":true}],"failed":[]}
from sub-store.
Mac OS端的sub-store有没有配置?我指的是github token之类的
from sub-store.
和iphone端配置一样的Token,并且能和iphone一样,能在数据同步那块上传和恢复,并且手动同步也是成功的,就是自动同步脚本不能用。
而且我有两台macos,一台imac、一台macbook,都安装有Surge for Mac,问题一样。
from sub-store.
Socket closed by remote peer
这个错误是你网络的问题,请切换全局代理试试
from sub-store.
在我自己的Mac上完全正常
from sub-store.
还真是在全局上能用,再切换回规则判断也可以了,这是怎么回事?难倒我规则有问题?但是我手机正常的啊
from sub-store.
我刚刚测试浏览器运行https://sub.store/api/cron/sync-artifacts,可以同步。
但是切换到cron-sync-artifacts.js脚本,依然不能同步,无论全局还是规则判断。
运行记录里面显示
Cron 脚本已执行: Sub-Store 自动同步
没有报错记录,实际查看同步配置里面的订阅也没有更新。
from sub-store.
经过几次测试,发现这是Surge for Mac的问题。
Surge for Mac脚本请求不经过重写,因此不触发sub-store更新。
from sub-store.
暂时无解,只能等官方更新了。
from sub-store.
这情况就太专业,我也没搞清,方便的话,您是否可以向官方反馈,多谢。
您这功能确实非常不错,赞一个。至少iphone一切正常。
from sub-store.
不知为何,iOS端目前也不能通过脚本同步了。
系统14.5.1
surge ios 版本 4.7.0
from sub-store.
Related Issues (20)
- 可以在订阅链接中隐藏后端地址吗 HOT 1
- 【建议&求助】release分支cdn加速链接 HOT 2
- 可以在组合订阅中增加 surge underlying-proxy 的配置吗? HOT 2
- 请问大佬怎么定时更新机场订阅 HOT 1
- 能不能支持过滤掉无法ping通的节点 HOT 6
- 检测脚本使用问题 HOT 10
- 为什么我部署老是提醒我无效api,后端ip+端口或者域名都进不去,前端正常 HOT 1
- 订阅分组功能 HOT 12
- [小功能] 取消展示到期时间 HOT 1
- [BUG] 流量情况获取超时,订阅会直接消失 HOT 9
- 如何在脚本运算符中获取文件内容 HOT 1
- 脚本使用问题 HOT 2
- 如何只加载一个订阅 HOT 1
- 日志优化 HOT 3
- 刷新订阅时如何缓存资源 HOT 6
- 请问一下passwall用哪个订阅格式? HOT 2
- 关于VPS部署安全性 HOT 2
- 两个问题 HOT 1
- Shadowsocks 密码转换错误 HOT 2
- UI显示不全? HOT 3
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 sub-store.