Giter Site home page Giter Site logo

Cant login to dashboard about ackee HOT 7 CLOSED

mrsnailo avatar mrsnailo commented on June 2, 2024
Cant login to dashboard

from ackee.

Comments (7)

birjj avatar birjj commented on June 2, 2024 1

@mrsnailo The URL you've posted here doesn't have the username, password or database name specified. It should look like mongodb+srv://username:password@cluster0.tktaz.mongodb.net/databaseName?retryWrites=true&w=majority. If your password contains special characters they should be encoded.

from ackee.

electerious avatar electerious commented on June 2, 2024

Is there a log with more details available on Netlify?

You configuration looks correct. Requests to the API should be possible regardless of your CORS configuration as the API is on the same domain.

from ackee.

xfxx2022 avatar xfxx2022 commented on June 2, 2024

我使用3.4.1版本,Netlify部署也是这个提示Response not successful: Received status code 502

from ackee.

birjj avatar birjj commented on June 2, 2024

Looks like an error with the MongoDB URL. If you check your developer tools to see the actual response from the server, you'll get:

Your MongoDB URL needs a username, a password and the database name. For example mongodb+srv://username:[email protected]/dbName?retryWrites=true&w=majority. It's also possible the URL isn't being set correctly. Is it set as the env variable ACKEE_MONGODB?

from ackee.

mrsnailo avatar mrsnailo commented on June 2, 2024

Looks like an error with the MongoDB URL. If you check your developer tools to see the actual response from the server, you'll get:

Your MongoDB URL needs a username, a password and the database name. For example mongodb+srv://username:[email protected]/dbName?retryWrites=true&w=majority. It's also possible the URL isn't being set correctly. Is it set as the env variable ACKEE_MONGODB?

I did add the username and password with the URL and set it to ACKEE_MONGODB . but still i think the connection is not happening. i tried to connect with mongoshell but couldnot connect to mongobd database..
mmmmmmm_21-27

from ackee.

birjj avatar birjj commented on June 2, 2024

@mrsnailo Just to confirm, did changing the URL fix the issue?

from ackee.

mrsnailo avatar mrsnailo commented on June 2, 2024

@mrsnailo Just to confirm, did changing the URL fix the issue?

Not yet.but thanks i got the idea about what i did wrong. I am closing the issue as ackee doesn't have to do anything with the problem. I will learn more about mongodb then deploy again. I am hopeful that will solve the issue.

from ackee.

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.