Commit b86a1a9a authored by Pinon Gregory's avatar Pinon Gregory 🦉
Browse files

TODO check ports config in front for SSL communication ; start front with "ng...

TODO check ports config in front for SSL communication ; start front with "ng serve --port=443 --host=oemc.fr --ssl"
parent 6a27e53e
......@@ -41,3 +41,30 @@
{"tag":"db","level":"setup","message":"Ignite database loaded 🔥 !"}
{"tag":"express","level":"setup","message":"Express loaded 🔥 !"}
{"tag":"express","level":"setup","message":"🛡️ Backend Server listening on port: 3000 🛡️"}
{"tag":"config","level":"setup","message":"Config loaded 🔥 !"}
{"tag":"db","level":"setup","message":"Table Ready : Patient"}
{"tag":"db","level":"setup","message":"Set patientID to : 1"}
{"tag":"db","level":"setup","message":"Table Ready : Personnel"}
{"tag":"db","level":"setup","message":"Set personnelID to : 1"}
{"tag":"db","level":"setup","message":"Insert with success admin"}
{"tag":"db","level":"setup","message":"Ignite database loaded 🔥 !"}
{"tag":"express","level":"setup","message":"Express loaded 🔥 !"}
{"error":{"code":"EADDRINUSE","errno":-98,"syscall":"listen","address":"::","port":3000},"level":"error","message":"uncaughtException: listen EADDRINUSE: address already in use :::3000\nError: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (net.js:1331:16)\n at listenInCluster (net.js:1379:12)\n at Server.listen (net.js:1465:7)\n at Function.listen (/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/node_modules/express/lib/application.js:618:24)\n at startServer (/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/index.js:13:26)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)","stack":"Error: listen EADDRINUSE: address already in use :::3000\n at Server.setupListenHandle [as _listen2] (net.js:1331:16)\n at listenInCluster (net.js:1379:12)\n at Server.listen (net.js:1465:7)\n at Function.listen (/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/node_modules/express/lib/application.js:618:24)\n at startServer (/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/index.js:13:26)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)","exception":true,"date":"Mon Mar 07 2022 16:20:15 GMT+0100 (heure normale d’Europe centrale)","process":{"pid":9537,"uid":1000,"gid":1000,"cwd":"/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision","execPath":"/home/stiifox/.nvm/versions/node/v14.18.0/bin/node","version":"v14.18.0","argv":["/home/stiifox/.nvm/versions/node/v14.18.0/bin/node","/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/index.js"],"memoryUsage":{"rss":63053824,"heapTotal":32083968,"heapUsed":12674552,"external":1609269,"arrayBuffers":35093}},"os":{"loadavg":[0.65,0.58,0.56],"uptime":1491.57},"trace":[{"column":16,"file":"net.js","function":"Server.setupListenHandle [as _listen2]","line":1331,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"net.js","function":"listenInCluster","line":1379,"method":null,"native":false},{"column":7,"file":"net.js","function":"Server.listen","line":1465,"method":"listen","native":false},{"column":24,"file":"/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/node_modules/express/lib/application.js","function":"Function.listen","line":618,"method":"listen","native":false},{"column":26,"file":"/home/stiifox/cours_insa/4INFO/Projet - Yes we canne/yes-we-canne-supervision/backend-supervision/index.js","function":"startServer","line":13,"method":null,"native":false},{"column":5,"file":"internal/process/task_queues.js","function":"processTicksAndRejections","line":95,"method":null,"native":false}]}
{"tag":"config","level":"setup","message":"Config loaded 🔥 !"}
{"tag":"db","level":"setup","message":"Table Ready : Patient"}
{"tag":"db","level":"setup","message":"Set patientID to : 1"}
{"tag":"db","level":"setup","message":"Table Ready : Personnel"}
{"tag":"db","level":"setup","message":"Set personnelID to : 2"}
{"tag":"db","level":"setup","message":"Insert of admin failed (might already exist) - 23000: Duplicate key during INSERT [key=1]"}
{"tag":"db","level":"setup","message":"Ignite database loaded 🔥 !"}
{"tag":"express","level":"setup","message":"Express loaded 🔥 !"}
{"tag":"express","level":"setup","message":"🛡️ Backend Server listening on port: 3000 🛡️"}
{"tag":"config","level":"setup","message":"Config loaded 🔥 !"}
{"tag":"db","level":"setup","message":"Table Ready : Patient"}
{"tag":"db","level":"setup","message":"Set patientID to : 1"}
{"tag":"db","level":"setup","message":"Table Ready : Personnel"}
{"tag":"db","level":"setup","message":"Set personnelID to : 1"}
{"tag":"db","level":"setup","message":"Insert with success admin"}
{"tag":"db","level":"setup","message":"Ignite database loaded 🔥 !"}
{"tag":"express","level":"setup","message":"Express loaded 🔥 !"}
{"tag":"express","level":"setup","message":"🛡️ Backend Server listening on port: 3000 🛡️"}
......@@ -2276,6 +2276,15 @@
"node": ">=6.9.0"
}
},
"node_modules/@colors/colors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
"dev": true,
"engines": {
"node": ">=0.1.90"
}
},
"node_modules/@discoveryjs/json-ext": {
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz",
......@@ -7556,15 +7565,15 @@
}
},
"node_modules/karma": {
"version": "6.3.15",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.3.15.tgz",
"integrity": "sha512-4O5X6zVFdmwo/fgjRN84fPG3IvaiOxOjIeZBwBrQYz4nIyGqlF8Wm7C1Hr7idQ9NHgnvJM+LSjZwS1C+qALMGw==",
"version": "6.3.17",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.3.17.tgz",
"integrity": "sha512-2TfjHwrRExC8yHoWlPBULyaLwAFmXmxQrcuFImt/JsAsSZu1uOWTZ1ZsWjqQtWpHLiatJOHL5jFjXSJIgCd01g==",
"dev": true,
"dependencies": {
"@colors/colors": "1.5.0",
"body-parser": "^1.19.0",
"braces": "^3.0.2",
"chokidar": "^3.5.1",
"colors": "1.4.0",
"connect": "^3.7.0",
"di": "^0.0.1",
"dom-serialize": "^2.2.1",
......@@ -14464,6 +14473,12 @@
"to-fast-properties": "^2.0.0"
}
},
"@colors/colors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
"dev": true
},
"@discoveryjs/json-ext": {
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz",
......@@ -18563,15 +18578,15 @@
}
},
"karma": {
"version": "6.3.15",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.3.15.tgz",
"integrity": "sha512-4O5X6zVFdmwo/fgjRN84fPG3IvaiOxOjIeZBwBrQYz4nIyGqlF8Wm7C1Hr7idQ9NHgnvJM+LSjZwS1C+qALMGw==",
"version": "6.3.17",
"resolved": "https://registry.npmjs.org/karma/-/karma-6.3.17.tgz",
"integrity": "sha512-2TfjHwrRExC8yHoWlPBULyaLwAFmXmxQrcuFImt/JsAsSZu1uOWTZ1ZsWjqQtWpHLiatJOHL5jFjXSJIgCd01g==",
"dev": true,
"requires": {
"@colors/colors": "1.5.0",
"body-parser": "^1.19.0",
"braces": "^3.0.2",
"chokidar": "^3.5.1",
"colors": "1.4.0",
"connect": "^3.7.0",
"di": "^0.0.1",
"dom-serialize": "^2.2.1",
......
......@@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
providedIn: 'root',
})
export class HttpService {
private uri: string = 'https://oemc.fr/api/';
private uri: string = 'https://oemc.fr:3000/api/';
constructor(private http: HttpClient) {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment