-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SA_LOGIC_API_URL #25
Comments
Hi Gokcedilek, Does the request get up to sa-webapp? |
Hi, everything works before running the applications from the containers. I ran |
Yeah, add some logs and see if requests come in. I think by default you get logs of incoming requests. |
Hi All, As I was following this tutorial from freeCodeCamp, I got stuck with the same issue. Once all the apps got containerized, the frontend was not able to connect to the webapp. The request always timed out. While looking for a fix online I got to know about this issue with docker in MacOS Link Here. I am not yet sure on how to fix. Looking for a fix to this issue to proceed further with the tutorial. Thanks |
Hi, I have tried it this way to make this work. sa-logic, sa-webapp, sa-frontend are the name of the images I have built for each service.
In App.js I am making the call to localhost as it is running the browser and not the container, so requests are going from my machine and they should go to the webapp container which have been exposed on port 5050 as per above commands
Let me know if this is actually a correct way of doing things. I was playing around with docker trying to make this work and could find this one way. |
The problem still persists.
Browser:
Please, help. |
Hi! I'm following the tutorial on FreeCodeCamp, and I've been having trouble with setting up the connection between the sa-logic container and the sa-webapp container (likely a problem with the SA_LOGIC_API_URL environment variable). What happens right now is, after building and running the three containers without a problem, when I go to "localhost:80", I can only see the "Sentiment Analysis" textbox, and when I type a sentence and send, nothing happens. As it is described in the tutorial, I ran "docker container list", and then "docker inspect " with the id of the sa-logic container, and then used the id when running the sa-webapp container as follows: "docker run -d -p 8080:8080 -e SA_LOGIC_API_URL='http://172.17.0.2:5000' gokcedilek/sentiment-analysis-web-app". However, even though these three containers seem to be up and running, I cannot get a response back when I submit a sentence. Do you know what could be the reason for my problem? I would appreciate any suggestions very much! Thanks!
The text was updated successfully, but these errors were encountered: