Open destiana opened 5 years ago
@destiana Thanks for posting! We'll take a look as soon as possible.
In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.
For help with questions about Sails, click here.
Hi, @destiana!
Can you tell us more about the circumstances surrounding your error? We'd also love to know the version of Sails, Node, and NPM that you're using, as well as your OS.
Thanks!
@destiana You need to be more explicit in reporting your errors, tell us what went wrong with x
or y
@destiana Thanks for bringing this to attention. The community just needs more info on: what's involved, version(s), description, and possibly example(s) to accurately provide the best solutions. 👍
@johnabrams7 @madisonhicks { "name": "sails-4", "private": true, "version": "0.0.0", "description": "a Sails application", "keywords": [], "dependencies": { "@sailshq/connect-redis": "^3.2.1", "@sailshq/lodash": "^3.10.3", "@sailshq/socket.io-redis": "^5.2.0", "ajv": "^6.9.0", "ajv-errors": "^1.0.1", "amqplib": "^0.5.3", "async": "2.0.1", "axios": "^0.18.0", "convert-csv-to-json": "0.0.13", "convert-excel-to-json": "^1.6.1", "csvtojson": "^2.0.8", "json2csv": "^4.3.2", "moment": "^2.22.2", "sails": "^1.0.2", "sails-hook-apianalytics": "^2.0.0", "sails-hook-deep-orm": "^1.0.2", "sails-hook-organics": "^0.13.0", "sails-hook-orm": "^2.0.0-16", "sails-hook-sockets": "^1.4.0", "sails-mysql": "^1.0.1", "sails-postgresql": "^1.0.1" }, "devDependencies": { "@sailshq/eslint": "^4.19.3", "@sailshq/htmlhint": "^0.9.16", "@sailshq/lesshint": "^4.6.6", "grunt": "1.0.1", "sails-hook-grunt": "^3.0.2" }, "author": "anonymous node/sails user", "license": "", "engines": { "node": ">=8.11" } }
this is my dependencies in my project, I'm still new to try sails. please help me :(
my eror in sails pool is closed , when I try to connect my database MYSQL @navicstein
Hi, @destiana!
Thanks for that additional information! Any chance you could share a repo in which you've provided a simple example case that reproduces the error you're getting?
@madisonhicks @johnabrams7 @navicstein
I am also facing the same issue. I am trying to execute the 1000 API calls concurrently (using Artillery)but only 90-98 are successful and the remaining are failing. Also, the error is causing the server to stuck for some time.
Below are the details:
Node: 10.13.0
sails: 1.2.2
sails-mysql: 1.0.1
I am getting below error:
getConnection failed ("failed"). Could not acquire a connection to the database using the specified manager
Then I tried with pool options:
pool: true,
connectionLimit: 100000,
connectTimeout: 60 * 60 * 1000,
acquireTimeout: 60 * 60 * 1000,
timeout: 60 * 60 * 1000,
waitForConnections: true
I am getting below error:
Error: Pool is closed.
Some times I am getting an error:
packets out of order. Got: 1 Expected: 0
Eror pool is closed in sails
can help me? thanks