Connection timeout
See original GitHub issueI’ve trying to use this action, but my application are not connecting on mongo db, Im receving a timeout error.
| MongoServerSelectionError: connection timed out
| at Timeout._onTimeout (/home/jorge/Projetos/gira-serve/node_modules/parse-server/node_modules/mongodb/lib/core/sdam/topology.js:437:30)
| at listOnTimeout (internal/timers.js:557:17)
| at processTimers (internal/timers.js:500:7) {
| reason: TopologyDescription {
| type: 'Single',
| setName: null,
| maxSetVersion: null,
| maxElectionId: null,
| servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] },
| stale: false,
| compatible: true,
| compatibilityError: null,
| logicalSessionTimeoutMinutes: null,
| heartbeatFrequencyMS: 10000,
| localThresholdMS: 15,
| commonWireVersion: null
| }
| }
integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
mongodb-version: ['4.4']
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14
uses: actions/setup-node@v2
with:
node-version: 14
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: 4.4
mongodb-db: test-database
- run: npm install -g yarn
- run: yarn install
- run: yarn test:integration
env:
NODE_ENV: test
PARSE_SERVER_DATABASE_URI: mongodb://127.0.0.1:27017/test-database?directConnection=true
DATABASE_NAME: test-database
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
What Does a Server Connection Timeout Mean?
A server connection timeout means that a server is taking too long to reply to a data request made from another device. Timeouts...
Read more >What is a connection timeout during a http request
Connection timeout is a common error that occurs whenever the client is waiting for too long before getting a response from any server...
Read more >Connection Timeout vs. Read Timeout for Java Sockets
Sometimes, firewalls block certain ports due to security reasons. As a result, a “connection timed out” error can occur when a client is...
Read more >11 Ways to Fix the ERR_CONNECTION_TIMED_OUT Error
The connection timed out error isn't a dangerous error, nor is it an infected file that can harm your computer.
Read more >How to Fix the ERR_CONNECTION_TIMED_OUT Error - Kinsta
According to the WordPress support documentation, a connection timed out error appears when your website is trying to do more than your ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@aprilahijriyan Hey Aprila, great! Good to know the missing auth source was the issue 👍 thank you for sharing your solution 😃
@marcuspoehls I think you should add ‘general troubleshooting’ in
README
. I just realized you have mentionedauthSource
in the commit message. https://github.com/supercharge/mongodb-github-action/commit/ea1a7f385262c1fc4bf653e4ac5822e2f57d44ab