Giter Club home page Giter Club logo

Comments (11)

nichwang88 avatar nichwang88 commented on May 30, 2024

查看脚本后使用 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.

Peng-YM avatar Peng-YM commented on May 30, 2024

Mac OS端的sub-store有没有配置?我指的是github token之类的

from sub-store.

nichwang88 avatar nichwang88 commented on May 30, 2024

和iphone端配置一样的Token,并且能和iphone一样,能在数据同步那块上传和恢复,并且手动同步也是成功的,就是自动同步脚本不能用。
而且我有两台macos,一台imac、一台macbook,都安装有Surge for Mac,问题一样。

from sub-store.

Peng-YM avatar Peng-YM commented on May 30, 2024

Socket closed by remote peer
这个错误是你网络的问题,请切换全局代理试试

from sub-store.

Peng-YM avatar Peng-YM commented on May 30, 2024

在我自己的Mac上完全正常

from sub-store.

nichwang88 avatar nichwang88 commented on May 30, 2024

还真是在全局上能用,再切换回规则判断也可以了,这是怎么回事?难倒我规则有问题?但是我手机正常的啊

from sub-store.

nichwang88 avatar nichwang88 commented on May 30, 2024

我刚刚测试浏览器运行https://sub.store/api/cron/sync-artifacts,可以同步。
但是切换到cron-sync-artifacts.js脚本,依然不能同步,无论全局还是规则判断。
运行记录里面显示
Cron 脚本已执行: Sub-Store 自动同步
没有报错记录,实际查看同步配置里面的订阅也没有更新。

from sub-store.

Peng-YM avatar Peng-YM commented on May 30, 2024

经过几次测试,发现这是Surge for Mac的问题。
Surge for Mac脚本请求不经过重写,因此不触发sub-store更新。

from sub-store.

Peng-YM avatar Peng-YM commented on May 30, 2024

暂时无解,只能等官方更新了。

from sub-store.

nichwang88 avatar nichwang88 commented on May 30, 2024

这情况就太专业,我也没搞清,方便的话,您是否可以向官方反馈,多谢。
您这功能确实非常不错,赞一个。至少iphone一切正常。

from sub-store.

nichwang88 avatar nichwang88 commented on May 30, 2024

不知为何,iOS端目前也不能通过脚本同步了。
系统14.5.1
surge ios 版本 4.7.0

from sub-store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.