ahussam / url-tracker Goto Github PK
View Code? Open in Web Editor NEWChange monitoring app that checks the content of web pages in different periods.
Change monitoring app that checks the content of web pages in different periods.
i have issue with url tracker
i'm install mongo and browse 27017 say me
It looks like you are trying to access MongoDB over HTTP on the native driver port.
then i'm run url-tracker with docker-compose up
MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]
please help
Hey
Great tool. I like the idea and started using it today.
It will be great if you add an option to add a list of urls for monitoring.
I did this through api and DOS my own server accidently. It will be good if a user can add 10k urls at once.
Regards,
Hi there,
Tried running the docker container, but it couldn't connect to the mongod instance.
Modified config/datastores.js line to read
url: 'mongodb://mongodb/urlTracker'
and it worked a treat
root@kool:~/url-tracker# npm install
npm ERR! Linux 4.15.0-112-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues
npm ERR! Linux 4.15.0-112-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /root/url-tracker/npm-debug.log
please help me out wanna try your tool looks great to me
Is your application still being maintained because it's quite good!
One feature that would really nice is bulk adding of URLs.
Single Page Apps built using Angular/React/Vue etc or any dynamic content generated through Javascript after the page loads.
Hello @ahussam
Thanks for the awesome tool. I am having issue after running Sails lift. Here is the error I get below in my terminal.
info: Starting app...
(node:25492) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
info: Initializing project hook... (`api/hooks/custom/`)
info: Initializing `apianalytics` hook... (requests to monitored routes will be logged!)
info: ·• Auto-migrating... (alter)
info: Hold tight, this could take a moment.
error: A hook (`orm`) failed to load!
error: Could not tear down the ORM hook. Error details: Error: Consistency violation: Attempting to tear down a datastore (`default`) which is not currently registered with this adapter. This is usually due to a race condition in userland code (e.g. attempting to tear down the same ORM instance more than once), or it could be due to a bug in this adapter. (If you get stumped, reach out at http://sailsjs.com/support.)
at Object.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/index.js:390:19)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/lib/waterline.js:758:27
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:3047:20
at eachOfArrayLike (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:1002:13)
at eachOf (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:1052:9)
at Object.eachLimit (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:3111:7)
at Object.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/lib/waterline.js:742:11)
at Hook.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-hook-orm/index.js:246:30)
at Sails.wrapper (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/@sailshq/lodash/lib/index.js:3282:19)
at Object.onceWrapper (events.js:421:28)
at Sails.emit (events.js:315:20)
at Sails.EventEmitter.emit (domain.js:485:12)
at Sails.emitter.emit (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/private/after.js:56:26)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:67:11
at beforeShutdown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:45:12)
at Sails.lower (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:49:3)
at Sails.wrapper [as lower] (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/@sailshq/lodash/lib/index.js:3282:19)
at whenSailsIsReady (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lift.js:68:13)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:3861:9
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:421:16
at iterateeCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:924:17)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:906:16
error:
error: Error: Consistency violation: Unexpected error creating db connection manager:
MongoError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
name: 'MongoError'
}]
at flaverr (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/flaverr/index.js:94:15)
at Function.module.exports.parseError (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/flaverr/index.js:371:12)
at Function.handlerCbs.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:665:56)
at connectCb (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/private/machines/create-manager.js:130:22)
at connectCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:428:5)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:335:11
at processTicksAndRejections (internal/process/task_queues.js:79:11)
at Object.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/index.js:268:21)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:1514:39
at proceedToFinalAfterExecLC (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:1153:14)
at proceedToInterceptsAndChecks (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:913:12)
at proceedToAfterExecSpinlocks (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:845:10)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:303:7
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:952:35
at Function.handlerCbs.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:742:26)
at connectCb (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/private/machines/create-manager.js:130:22)
at connectCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:428:5)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:335:11
at processTicksAndRejections (internal/process/task_queues.js:79:11)
error: Could not load Sails app.
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '//url-tracker/node_modules/sails-hook-grunt/node_modules/core-js/scripts/postinstall'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-26T02_57_41_299Z-debug.log
npm version 6.14.6
os : x86_64 GNU/Linux
hello
How to check work the function of sending a notification to an email
As I am not receiving any email updates
urltracker | error: Failed to lift app: Error: Automigrations failed. (See logs above for help, and a summary of what went wrong.)
urltracker | at Timeout._onTimeout (/usr/src/app/node_modules/waterline-utils/lib/auto-migrations/private/run-alter-strategy/private/inform-re-failed-alter-stratagem.js:213:55)
urltracker | at ontimeout (timers.js:436:11)
urltracker | at tryOnTimeout (timers.js:300:5)
urltracker | at listOnTimeout (timers.js:263:5)
urltracker | at Timer.processTimers (timers.js:223:10)
Can you please update the readme file, you have mentioned in the config folder /config/env/production.js mysql but you are inserting admin user creds in the mongo db server,
Please update the installation part in readme File.
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.