windingwind / zotero-pdf-translate

Translate PDF, EPub, webpage, metadata, annotations, notes to the target language. Support 20+ translate services.
GNU Affero General Public License v3.0
6.15k stars 304 forks source link

translate fail... #224

Closed luminegold closed 1 year ago

luminegold commented 1 year ago

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 commented 1 year ago
截屏2022-09-26 下午10 33 13
windingwind commented 1 year ago

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

luminegold commented 1 year ago

That’s why you might need to fix this bug, misleading information Because my Google service and network was working perfectly

On Mon, 26 Sep 2022 at 11:10 pm, windingwind @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/windingwind/zotero-pdf-translate/issues/224#issuecomment-1258018727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMX3LHHURAHQL7JTOJUVCQTWAGOFTANCNFSM6AAAAAAQVYALOI . You are receiving this because you authored the thread.Message ID: @.***>

-- Kindly Regards, Ruiqing

windingwind commented 1 year ago

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 commented 1 year ago

尝试全局代理

luminegold commented 1 year ago

Hi, I am in Australia, what is that

On Wed, Sep 28, 2022 at 10:31 AM Roboppi @.***> wrote:

尝试全局代理

— Reply to this email directly, view it on GitHub https://github.com/windingwind/zotero-pdf-translate/issues/224#issuecomment-1260238582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMX3LHEXA3ETUJPR74LH2U3WAOGW3ANCNFSM6AAAAAAQVYALOI . You are receiving this because you authored the thread.Message ID: @.***>

windingwind commented 1 year ago

Please check the global proxy settings.

windingwind commented 1 year ago

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

stdAri commented 1 year ago

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 commented 1 year ago

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.