Coder Social home page Coder Social logo

Comments (5)

loleg avatar loleg commented on June 10, 2024 1

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.

evereq avatar evereq commented on June 10, 2024

@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

image

from ever-traduora.

loleg avatar loleg commented on June 10, 2024

☝️ Thanks. I've opened a separate issue since my problem is a CSV and even more specifically, English.

from ever-traduora.

mmttim avatar mmttim commented on June 10, 2024

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.

evereq avatar evereq commented on June 10, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.