Migrate data from one cluster to the other

Hello @rophilogene ,

I don’t know if you saw my question above. I also have a connexion problem to my API on the Scaleway cluster, when I try to connect to it from the front of my app or from Postman as well, each time I don’t get anything from the API. May be something to changer in the docker file ?
I put it here :

FROM node:16-alpine as build
ARG REACT_APP_API_URL
ENV REACT_APP_API_URL $REACT_APP_API_URL
ARG PUBLIC_URL
ENV PUBLIC_URL $PUBLIC_URL
WORKDIR /app
COPY ./client .

RUN npm install && npm run build

FROM nginx:latest
COPY --from=build /app/build /usr/share/nginx/html
COPY ./deployment/nginx-custom.conf /etc/nginx/conf.d/default.conf

EXPOSE 3000
CMD ["nginx", "-g", "daemon off;"]

Did you setup $REACT_APP_API_URL and $PUBLIC_URL properly? What is your error?

Hi @rophilogene ,
I have set up $REACT_APP_API_URL properly, the $PUBLIC_URL was not in my previous cluster environment variables (the cluster and the app worked well without it).
The error that I get is a 401 Unauthorised when I try to get my JWT token :

From what you are showing, I am not sure the problem is coming from Qovery.

I remember that we had the same problem when we deployed on AWS the first time, but I don’t know what we changed, I think it was something with the dockerfile.
The thing is that the exact same code was working perfectly on the AWS cluster, so I don’t know what is misconfigured.
Could we have a little call with someone of the team to see what is the problem ?
EDIT : @rophilogene could we have access to the API logs ? I would like to see which error is launched when I test it from postman.

You can get access to your application logs this way