Skip to content

Online check always uses the same fixed url (baidu.com). #7835

Closed
@eulores

Description

@eulores
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

I constantly receive this error message:
The network connectivity verification of the cloud storage service provider is abnormal, please check the network configuration.
implying that my cloud storage service is not reachable.

Yet, verification via the browser shows no connectivity issues.

As it turns out, the online verification is done against baidu.com, and the one second timeout is too short and triggers this error message.

Expected result

I am expecting to continue using the cloud storage service with no errors.

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.8.2
- Operating System: Windows
- Browser (if used): n/a

Log file

n/a

More information

The function isOnline in the file kernel/util/net.go ignores the argument checkURL and instead uses baidu.com with a very short timeout.

Please also consider including google.com as another of the online checking default URLs, thanks.

Activity

88250

88250 commented on Mar 31, 2023

@88250
Member

Duplicate of #7831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @88250@eulores

        Issue actions

          Online check always uses the same fixed url (baidu.com). · Issue #7835 · siyuan-note/siyuan