LibreTranslation: API endpoint HTTP 500 error #257
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#257
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Need some help getting LibreTranslation to work. Thanks!!
Error log:
Tested LibreTranslation with
curl
- It's working:interesting, the error log implies it's an issue with one of our dependecies
by any chance are you using a proxy?
i found an issue in the finch repo matching that description -> https://github.com/sneako/finch/pull/184
i've pushed a dependency update @
c0eecb55b
see if pulling the change, updating dependencies with
MIX_ENV=prod mix deps.get
and restarting, fixes your issueYes using a proxy indeed. The latest version has resolved the 500 error - Now becomes
400 timeout
.I reckon the request is now going through the HTTP proxy correctly, but couldn't reach my LibreTranslate instance (self-hosted on LAN)
So yeah, unclear on what's using the HTTP proxy, and what's not. Apparently Elasticsearch doesn't go through proxy.
yeah indeed, elasticsearch uses a totally different HTTP Pool
i have some magic config for you, shove it in your
prod.secret.exs
this magic should make the specific URL prefix you put in the key bypass your proxy setting
I put a reverse proxy in front of LibreTranslate - It works!
Pleroma-FE doesn't seem to pick up the languages list (User settings > target lang option is still hidden) but all in all it works.
EDIT - Didn't see the latest reply
closing this off, since language display was fixed over in AkkomaGang/pleroma-fe#196