Repository navigation
fix: point LMS and Studio at the ai-translations container - #235
Open
jristau1984 wants to merge 1 commit into
Open
jristau1984 wants to merge 1 commit into
jristau1984 wants to merge 1 commit into
Conversation
AI_TRANSLATIONS_API_URL used localhost:18760, which inside the LMS and CMS containers is the container itself, so every call to the service failed with a connection error. ai-translations' docker-compose runs the app as ai-translations.app on the devstack_default network, so use that hostname instead. Part of LP-410. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vgulati-apphelix
force-pushed
the
jristau/ai-translations-container-url
branch
from
November 4, 2026 21:25
faf45dd to
a3bf2ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI_TRANSLATIONS_API_URLinpy_configuration_files/lms.pyandcms.pywashttp://localhost:18760/api/v1. Inside the LMS and CMS containers,localhostis the container itself, so every server-side call to ai-translations failed with a connection error.ai-translations' own
docker-compose.ymlruns the app asai-translations.appon thedevstack_defaultnetwork, so this switches both settings tohttp://ai-translations.app:18760/api/v1. Browser-side MFE plugins are unaffected; they still uselocalhost:18760from the host.Part of LP-410.
Testing (local devstack, ai-translations provisioned with its
provision-ai-translations.sh), calling/available_languages/from insideedx.devstack.lmswith a JWT for theedxuser:http://localhost:18760/api/v1:ConnectionErrorhttp://ai-translations.app:18760/api/v1:400 {"message":"The parameter course_id is required."}, meaning the request reached the service and the JWT was accepted🤖 Generated with Claude Code