Comments (5)
Looks like the API is not accessible in the Docker Compose build. I'm getting the same error with a CSV file. In the server logs it looks like this:
POST /api/v1/projects/168efedb-94c2-46b5-81a1-64695ce13703/imports?format=csv&locale=en_US HTTP/1.0 404
from ever-traduora.
@stijnb1234 I just tried to import some random YAML file with our standard docker-compose file (https://github.com/ever-co/ever-traduora/blob/develop/docker-compose.yaml), and it all worked for me.
Please share what file you try to import in case there's something wrong with the file itself so I can test.
@loleg , not sure, for me, API request worked; see below:
Request URL: http://localhost:8080/api/v1/projects/b56a5a80-e8e2-4047-a650-ed909e28b42e/imports?format=yamlflat&locale=de_CH
Request Method: POST
Status Code: 200 OK
from ever-traduora.
☝️ Thanks. I've opened a separate issue since my problem is a CSV and even more specifically, English.
from ever-traduora.
I have the same issue when I want to import a PO file. I tried hosting the Docker container on a Linux and on a Windows host, same error on both machines. The only change I made to the compose file is adding a database password and to add a volume for the mysql data. Is there any way to get more information what is happening? Log file, etc.?
Edit: I also tried to use the docker-compose file without any changes, same issue.
from ever-traduora.
@mmttim well, if you run it in docker, you can ssh to it, run API manually in console and see all output and most probably you should see why / where it failing and see error message etc. Not different to any other NodeJs app running inside Docker container honestly.
from ever-traduora.
Related Issues (20)
- Docker Hub image is outdated HOT 1
- DevOps: we need to push docker image also in previously used Traduora Docker Hub account
- GCP Marketplace?
- CSV import to English is not working HOT 1
- The Getting Started guide doesn't mention anything about MySQL server. HOT 1
- Getting started instructions not working HOT 6
- [Feature] upgrades to support MySQL latest versions HOT 2
- DevOps: add Volumes to Docker-compose files HOT 1
- Support subpath in base URL
- Deleting a Project User will delete the user on a Random Project HOT 1
- The progress of translations shows incorrect value
- Add ability to export untranslated keys
- [Feature] Ability to use PostgreSQL HOT 9
- [Bug] Seems our CircleCI e2e tests start failing and require fixing
- Compile from source fails for Node 18 or 20 (on MacOS)
- Macos: Running Docker container fails to connect to database HOT 3
- Compile from source error HOT 1
- where is config file HOT 1
- [Feature] Invitation Link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ever-traduora.