Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 15-06-2018 at 11:06
Please, ANSWER this question AT https://stackoverflow.com/questions/50872296/run-orion-on-docker-in-https
Question:
Run Orion on docker in HTTPS
Description:
Hello again me ( sorry ),
I wanted to configure Orion which is running in docker to run on HTTPS.
Steps i took:
Download script
Generate key and cert from it (localhost.key/localhost.crt)
Run cli command contextBroker -https -key /localhost.key -cert /localhost.crt
Additional info:
{
"orion" : {
"version" : "1.13.0-next",
"uptime" : "0 d, 0 h, 15 m, 56 s",
"git_hash" : "95ec3913f20682214891e92a5afbb0122293ffa2",
"compile_time" : "Thu Jun 14 11:03:03 UTC 2018",
"compiled_by" : "root",
"compiled_in" : "bfe336509e64",
"release_date" : "Thu Jun 14 11:03:03 UTC 2018",
"doc" : "https://fiware-orion.readthedocs.org/en/master/"
}
}
Error log after i enter cli command:
lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=contextBroker.cpp[382]:pidFile | msg=PID-file '/tmp/contextBroker.pid' found. A broker seems to be running already
And more info:
root 1 0.0 0.6 383308 13592 ? Ssl 08:31 0:00
/usr/bin/contextBroker -fg -multiservice -ngsiv1Autocast -dbhost mongo
root 184 0.0 0.0 9096 868 pts/0 S+ 08:54 0:00 grep –
color=auto contextBroker
Questions:
Have i made mistake in my approach to this, it seem that with my cli command i try to create another cb process and got error like this?
More info when i run this command:
/usr/bin/contextBroker -fg -multiservice -ngsiv1Autocast -dbhost mongo -https
-key /localhost.key -cert /localhost.cert
I get this error:
time=Friday 15 Jun 09:25:20 2018.271Z | lvl=FATAL | corr=N/A | trans=N/A |
from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1732]:restStart |
msg=Fatal Error (error starting REST interface)
I know what this error mean because i saw u already respond to that on multiple posts, that there is 2 process using port and solution is killing one. But i see no such processes only from code above.
Hope this info helps on.
Thanks.
Activity
- All
- Comments
- History
- Activity
- Transitions