[Backlogmanager] [FIWARE-JIRA] (HELP-14285) [fiware-stackoverflow] Run Orion on docker in HTTPS

Veronika Vlnkova (JIRA) jira-help-desk at jira.fiware.org
Fri Jun 15 15:23:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-14285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veronika Vlnkova reassigned HELP-14285:
---------------------------------------

    Assignee: Jose Manuel Cantera

> [fiware-stackoverflow] Run Orion on docker in HTTPS
> ---------------------------------------------------
>
>                 Key: HELP-14285
>                 URL: https://jira.fiware.org/browse/HELP-14285
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Jose Manuel Cantera
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 15-06-2018 at 11:06
> {color: red}Please, ANSWER this question AT{color} 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.



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy