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

translate fail... #224

Closed
luminegold opened this issue Sep 26, 2022 · 10 comments
Closed

translate fail... #224

luminegold opened this issue Sep 26, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@luminegold
Copy link

Request Error]

Engine not available, invalid secret, or request too fast.
Use another translation engine or post the issue here:
https://github.com/windingwind/zotero-pdf-translate/issues

The message below is not Zotero or the PDF Translate addon, but from

Google(API).
Error: Request timed out
[Request [Error]]

@luminegold luminegold added the bug Something isn't working label Sep 26, 2022
@luminegold
Copy link
Author

截屏2022-09-26 下午10 33 13

@windingwind
Copy link
Owner

As it says, you may not be able to access the google service due to network issues. Not related to this addon.

@luminegold
Copy link
Author

luminegold commented Sep 26, 2022 via email

@windingwind
Copy link
Owner

It doesn't mean you can access Google in Zotero even if you can access google.com in your browser. It depends on the proxy strategies on your device or gateway.

The error information is clear enough to show the reason. If it says request time out, then it must be a timeout and you haven't received any from the server. Otherwise, you'll see an error code like 405 or the error information from the service provider.

Nothing misleading here I suppose.

@Roboppi
Copy link

Roboppi commented Sep 28, 2022

尝试全局代理

@luminegold
Copy link
Author

luminegold commented Sep 28, 2022 via email

@windingwind
Copy link
Owner

Please check the global proxy settings.

@windingwind
Copy link
Owner

Any updates? If not, I’ll close this issue.

@stdAri
Copy link

stdAri commented Sep 30, 2022

There is a problem with the Google Translate API, so in the same network environment, the google translate website is normal, but the API cannot be called.

@windingwind
Copy link
Owner

There is a problem with the Google Translate API

No, not exactly. The plugin is OK. The problem can only be with Google translate service, your device network settings or your network environment.

The Google(API) use translate.googleapis.com while the Google use translate.google.com. The previous one could be accessed in mainland China in the past, and now both cannot be accessed. translate.google.cn is also redirected to translate.google.com.hk now.

so in the same network environment, the google translate website is normal, but the API cannot be called.

Yes, as I explained above.

It doesn't mean you can access Google in Zotero even if you can access google.com in your browser. It depends on the proxy strategies on your device or gateway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants