logseq icon indicating copy to clipboard operation
logseq copied to clipboard

Check all update always show error, any desktop version

Open polandeme opened this issue 3 years ago • 8 comments
trafficstars

What happened?

show error:

image

Reproduce the Bug

  1. Plugs -> Check all update

Expected Behavior

No response

Screenshots

image

Desktop Platform Information

No response

Mobile Platform Information

No response

Additional Context

No response

polandeme avatar Sep 08 '22 08:09 polandeme

Maybe a network issue. Try to set up the proxy manually?

xyhp915 avatar Sep 08 '22 12:09 xyhp915

Please confirm your network connectivity

cnrpman avatar Sep 08 '22 13:09 cnrpman

Maybe a network issue. Try to set up the proxy manually?

image

configed proxy, but test github.com is ok. update all Sometimes it is possible, but in most cases it is not working.

polandeme avatar Sep 09 '22 01:09 polandeme

Maybe a network issue. Try to set up the proxy manually?

image

configed proxy, but test github.com is ok. update all Sometimes it is possible, but in most cases it is not working.

Cool. If you encounter problems again. Could you check the detailed error message from the console panel?

xyhp915 avatar Sep 09 '22 02:09 xyhp915

Maybe a network issue. Try to set up the proxy manually?

image configed proxy, but test github.com is ok. update all Sometimes it is possible, but in most cases it is not working.

Cool. If you encounter problems again. Could you check the detailed error message from the console panel?

Console panel error message is: image

error message object:

{
    "meta": null,
    "obj": {
        "url": "/Users/polandehuang/.logseq/plugins/logseq-block-calendar",
        "name": "logseq-plugin-block-calendar",
        "author": "vipzhicheng",
        "version": "v0.1.5",
        "description": "Render a calendar in block, so you can put it onto right sidebar..",
        "repo": "vipzhicheng/logseq-plugin-block-calendar",
        "title": "Block Calendar",
        "effect": true,
        "sponsors": [
            "https://www.buymeacoffee.com/vipzhicheng"
        ],
        "entry": "file:///Users/polandehuang/.logseq/plugins/logseq-block-calendar/index.html",
        "icon": "icon.png",
        "theme": false,
        "settings": {
            "enableDot": true,
            "journalDotColor": "#0000ff",
            "taskUndoneDotColor": "#ff18ff",
            "taskDoneDotColor": "#03b803",
            "firstDayOfWeek": "sunday",
            "defaultLanguage": "简体中文",
            "tableWidth": "100%",
            "alwaysRenderIn": ".sidebar-item-list",
            "disabled": false
        },
        "settingsSchema": [
            {
                "key": "enableDot",
                "type": "boolean",
                "title": "Enable dot",
                "description": "Enable red dot, to show weather or not journal exist on that day. Need reload to take effect.",
                "default": true
            },
            {
                "key": "firstDayOfWeek",
                "type": "enum",
                "title": "First day of week",
                "description": "Which day is the first day of your week? Need to trigger rerender manually to take effect.",
                "enumChoices": [
                    "monday",
                    "sunday"
                ],
                "enumPicker": "radio",
                "default": "sunday"
            },
            {
                "key": "defaultLanguage",
                "type": "enum",
                "title": "Language locale",
                "enumChoices": [
                    "English",
                    "Français",
                    "Deutsch",
                    "简体中文",
                    "繁體中文",
                    "Afrikaans",
                    "Español",
                    "Norsk (bokmål)",
                    "Português (Brasileiro)",
                    "Português (Europeu)",
                    "Русский",
                    "日本語",
                    "Italiano",
                    "Türkçe",
                    "한국어"
                ],
                "description": "",
                "default": "en"
            },
            {
                "key": "tableWidth",
                "type": "string",
                "title": "Calendar width",
                "description": "Set calendar width, default is 100%.",
                "default": "100%"
            },
            {
                "key": "alwaysRenderIn",
                "type": "string",
                "title": "",
                "description": "Always render calendar in custom HTML element (provide CSS selector: ID or class), Leave empty to disable and input .sidebar-item-list to render calendar at right top in sidebar.",
                "default": ".sidebar-item-list"
            }
        ],
        "id": "logseq-block-calendar",
        "usf": "/Users/polandehuang/.logseq/settings/logseq-block-calendar.json",
        "iir": true,
        "lsr": "file:///Users/polandehuang/.logseq/plugins/logseq-block-calendar/",
        "only-check": true,
        "addedAt": 1657782839000,
        "error-code": "[:release-asset-not-found \"null\"]"
    },
    "$recursive_QMARK_$": true,
    "$__arr$": [
        "url",
        "name",
        "author",
        "version",
        "description",
        "repo",
        "title",
        "effect",
        "sponsors",
        "entry",
        "icon",
        "theme",
        "settings",
        "settingsSchema",
        "id",
        "usf",
        "iir",
        "lsr",
        "only-check",
        "addedAt",
        "error-code"
    ],
    "$__cnt$": null,
    "$__hash$": null,
    "$cljs$lang$protocol_mask$partition0$$": 2164131599,
    "$cljs$lang$protocol_mask$partition1$$": 139268
}

polandeme avatar Sep 13 '22 02:09 polandeme

I encountered this error while triggering the update about a half dozen times within the span of 15 minutes. I was testing something for development. When I went to https://api.github.com/repos/xyhp915/logseq-fenced-code-plus/releases/latest, the message I see is `{"message":"API rate limit exceeded for XX.XX.XX.XX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

logseq-cldwalker avatar Sep 27 '22 21:09 logseq-cldwalker

Hi all,

I can confirm that what @logseq-cldwalker sees is probably the issue here. If I open dev tools's network tab and reload Logseq I do see the following faled network request: image

subutux avatar Oct 19 '22 14:10 subutux

Use your phone to share a wifi hotspot should works as a temporary solution.


I encountered this error while triggering the update about a half dozen times within the span of 15 minutes. I was testing something for development. When I went to https://api.github.com/repos/xyhp915/logseq-fenced-code-plus/releases/latest, the message I see is `{"message":"API rate limit exceeded for XX.XX.XX.XX. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}

Same problem here, maybe we can allow users use their own github credential to make the fetch?

It could over limit easily when using inside a intranet like company network, which is sharing the same public ip.

This part is related to this problem. https://github.com/logseq/logseq/blob/51e39e1b9ed42e2cc0a2e9f4da5fee5bc172a3ae/src/electron/electron/plugin.cljs#L37-L42

If this is not considered urgent, I could give it a try. But I'm not familiar with Clojure at all and not available at weekdays. So it might take a while for me to solve it. 😂

zcfan avatar Nov 16 '22 10:11 zcfan