Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14285

[fiware-stackoverflow] Run Orion on docker in HTTPS

    Details

      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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5h 59m 1 Backlog Manager 15/Jun/18 6:05 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 15/Jun/18 9:05 PM
        Answered Answered Closed Closed
        3d 11h 28m 1 Jose Manuel Cantera 19/Jun/18 8:34 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        veronika Veronika Vlnkova made changes -
        HD-Enabler Orion [ 10875 ]
        jmcantera Jose Manuel Cantera made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-15 21:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-15 21:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-15 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-15 18:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        veronika Veronika Vlnkova made changes -
        Assignee Jose Manuel Cantera [ jmcantera ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-15 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-15 12:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: