Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Image upload failed because of timeout. #6036

Open
3 tasks done
zhuozhiyongde opened this issue Apr 19, 2024 · 0 comments
Open
3 tasks done

[Bug] Image upload failed because of timeout. #6036

zhuozhiyongde opened this issue Apr 19, 2024 · 0 comments

Comments

@zhuozhiyongde
Copy link

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • Searched http://support.typora.io/


Describe the bug

I use picgo as an image upload service. Before uploading, I will first request a remote service to compress the image, which will consume some time. In general, this works well. However, when I uploaded a md document with more than ten large pictures, I found that although picgo was still performing compression and upload operations correctly, typora always ignored subsequent return results and reported an error due to timeout.

Start log:

image

Finish log:

image

You can see that Typora requested an upload at 2024-04-19 15:53:22, but PicGo did not complete the upload and return results until 2024-04-19 16:00:15, which caused an error and the returned results of the upload were directly discarded.

To Reproduce

As above.

Expected behavior

Regarding the fix: I think we need to allow users to set their own timeout limits.

Screenshots / Screencasts

As above.

Sample Markdown File

No need.

Desktop (please complete the following information):

macOS Ventura 14.2.1 (23C71)

Typora Version

1.8.10 (7132)

Additional context

No need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant