Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making twofishes run on https at 8443 port #4

Open
pavitra29 opened this issue Mar 9, 2016 · 0 comments
Open

Making twofishes run on https at 8443 port #4

pavitra29 opened this issue Mar 9, 2016 · 0 comments
Assignees

Comments

@pavitra29
Copy link

I am able to run twofishes on my localhost at 8081 successfully. I am trying to run it on https on 8443. I have seen the jetty documentation at link which gives an option for using the java command as follows:
java -jar $JETTY_HOME/start.jar --add-to-startd=https
However when I try to run the same with the server binary like this
java -jar server-assembly-0.84.9.jar --add-to-startd=https --hfile_basepath 2015-03-05-20-05-30.753698/,
I get the following:

10:02:23.864 [main] INFO  c.f.twofishes.GeocodeFinagleServer$ - starting version 0.84.9
Error: Unknown option --add-to-startd=https
Usage: twofishes [options]

  --host <value>
        bind to specified host (default 0.0.0.0)
  -p <value> | --port <value>
        port to run thrift server on
  -h <value> | --run_http_server <value>
        whether or not to run http/json server on port+1
  --hfile_basepath <value>
        directory containing output hfile for serving
  --preload <value>
        scan the hfiles at startup to prevent a cold start, turn off when testing
  --warmup <value>
        warmup the server at startup to prevent a cold start, turn off when testing
  --max_tokens <value>
        maximum number of tokens to allow geocoding
  --hotfix_basepath <value>
        directory containing hot fix files
  --enable_private_endpoints <value>
        enable private endpoints on server

I know this is configured using serve.py but is there any way to make it run on https without making code modifications.
Kindly let me know how I can make it run on https.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants