nodejs-mongo devfile sample issues
See original GitHub issueDescribe the bug
https://github.com/eclipse/che-devfile-registry/tree/master/devfiles/nodejs-mongo 3 issues
run the web app
task opens URL that returns 404 (#13964, #13945)- “create test user” task gives no output and it’s not clear whether it works
- when running
run the web app
task for a while, this Error happens
/projects/nodejs-mongodb-app/node_modules/mongodb/lib/server.js:242
process.nextTick(function() { throw err; })
^
Error: connect ETIMEDOUT 10.109.232.241:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1113:14)
Emitted 'error' event at:
at NativeConnection.Connection.error (/projects/nodejs-mongodb-app/node_modules/mongoose/lib/connection.js:443:8)
at /projects/nodejs-mongodb-app/node_modules/mongoose/lib/connection.js:472:15
at /projects/nodejs-mongodb-app/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:59:21
at /projects/nodejs-mongodb-app/node_modules/mongodb/lib/db.js:232:14
at Server.<anonymous> (/projects/nodejs-mongodb-app/node_modules/mongodb/lib/server.js:240:9)
at Object.onceWrapper (events.js:273:13)
at Server.emit (events.js:182:13)
at Pool.<anonymous> (/projects/nodejs-mongodb-app/node_modules/mongodb-core/lib/topologies/server.js:308:68)
at Pool.emit (events.js:182:13)
at Connection.<anonymous> (/projects/nodejs-mongodb-app/node_modules/mongodb-core/lib/connection/pool.js:115:12)
at Object.onceWrapper (events.js:273:13)
at Connection.emit (events.js:182:13)
at Socket.<anonymous> (/projects/nodejs-mongodb-app/node_modules/mongodb-core/lib/connection/connection.js:144:49)
at Object.onceWrapper (events.js:273:13)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
[nodemon] app crashed - waiting for file changes before starting...
Che version
- nightly
Steps to reproduce
- import devfile https://github.com/eclipse/che-devfile-registry/tree/master/devfiles/nodejs-mongo
- run
run the web app
task - ! page with URL getting 404 appears
- wait for some time doing nothing
- ! see Error in terminal
- run
create test user
- ! nothing visible happens
Expected behavior
Runtime
- minikube (include output of
minikube version
andkubectl version
)
Screenshots
Installation method
- chectl
Environment
- my computer
- Linux
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Chapter 3. Workspaces overview - Red Hat Customer Portal
Creating a workspace from code sample. Every stack includes a sample codebase, which is defined by the devfile of the stack. This section...
Read more >How to build a Node.js and MongoDB Application with Docker ...
Containers resolve the problem of a code working on one operating system/computing ... I have created a sample login application using Nodejs and...
Read more >Devfile Registry
... and more A suite of developer tools to help you develop, build, test, and update your code. Node.js; Angular. dotnet-basic icon. Sample...
Read more >Deploy a Node.js + MongoDB web app to Azure
Azure App Service captures all messages logged to the console to assist you in diagnosing issues with your application. The sample app ...
Read more >Find a Document — Node.js - MongoDB
Example. The following snippet finds a single document from the movies collection. It uses the following parameters: A query ...
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 FreeTop 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
Top GitHub Comments
Adding it to 7.1.0 as related to https://github.com/eclipse/che/issues/13945
Issues go stale after
180
days of inactivity.lifecycle/stale
issues rot after an additional7
days of inactivity and eventually close.Mark the issue as fresh with
/remove-lifecycle stale
in a new comment.If this issue is safe to close now please do so.
Moderators: Add
lifecycle/frozen
label to avoid stale mode.