alien-worlds / alienworlds-api Goto Github PK
View Code? Open in Web Editor NEWAlien Worlds API
Home Page: https://alien-worlds.github.io/alienworlds-api/
Alien Worlds API
Home Page: https://alien-worlds.github.io/alienworlds-api/
Appears a job is stuck. I can definitely push a commit to the PR to try and trigger it again, but it's a good opportunity to try and figure out what happened. We originally thought it was because the PR was a draft status, but did not resolve itself when marked as "Ready for Review"
See #35
Documentation Enhancement
Following the guidelines included into the readme, apparently leads to issue on mongo db container set up
docker-compose build
docker-compose run api yarn
docker-compose run api yarn build
docker-compose run api yarn abis
docker-compose run api yarn mongo-indexes <-- here
docker-compose run api yarn husky
Docker compose stops with error and docker container alienworlds-api_db_1 continues restarting
Failed to connect
MongoServerSelectionError: getaddrinfo EAI_AGAIN db
at Timeout._onTimeout (/var/www/api/node_modules/mongodb/lib/core/sdam/topology.js:438:30)
at listOnTimeout (node:internal/timers:568:17)
at processTimers (node:internal/timers:510:7) {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) { 'db:27017' => [ServerDescription] },
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
MongoServerSelectionError: getaddrinfo EAI_AGAIN db
at Timeout._onTimeout (/var/www/api/node_modules/mongodb/lib/core/sdam/topology.js:438:30)
at listOnTimeout (node:internal/timers:568:17)
at processTimers (node:internal/timers:510:7) {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) {
'db:27017' => ServerDescription {
address: 'db:27017',
error: Error: getaddrinfo EAI_AGAIN db
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:72:26) {
name: 'MongoNetworkError'
},
roundTripTime: -1,
lastUpdateTime: 595462,
lastWriteDate: null,
opTime: null,
type: 'Unknown',
topologyVersion: undefined,
minWireVersion: 0,
maxWireVersion: 0,
hosts: [],
passives: [],
arbiters: [],
tags: []
}
},
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
Include a better description on how run the proper docker compose process and or edits configurations files.
I've found that setting the query parameter of limit to 2 will result in this error.
{ "statusCode": 500, "error": "Internal Server Error", "message": "Limit maximum is 5000" }
I've tried a limit value of 0,1,3, and 4 and they all have worked no problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.