Comments (7)
@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.
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.
我使用3.4.1版本,Netlify部署也是这个提示Response not successful: Received status code 502
from ackee.
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.
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 variableACKEE_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..
from ackee.
@mrsnailo Just to confirm, did changing the URL fix the issue?
from ackee.
@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)
- Unable to login to Ackee | Vercel Deployment HOT 4
- Error login HOT 1
- Unrecognized time zone identifier: "Europe/Kyiv" HOT 6
- Unexpected token 'A', "An error o"... is not valid JSON HOT 1
- Hosting my website on netlify makes requests from preview builds logged HOT 6
- Cloudflare tunnels HOT 1
- A Public Analytics Page for Increased Transparency and User Engagement
- Support passwordless public dashboard HOT 2
- Trouble Signing In to app. Received status code 502 HOT 2
- Unable to connect to MongoDB with TLS
- Is it possible to integrate the Ackee with NextJS as inbuilt analytics. HOT 1
- unrecognized time zone identifier: "Europe/Kyiv" HOT 1
- Premission to publish "Ackee" app in Umbrel App store
- Any way to get complete history for pages visits? HOT 3
- Add documentation for configuring Caddy as a reverse proxy HOT 1
- Add Elestio as a deployment option for Ackee
- Unbounded cache enabled in production
- Upgrade mongoose 6.x to 8.x
- Duration limit customisation HOT 1
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 ackee.