{"action":"created","issue":{"url":"https://api.github.com/repos/globaleaks/Tor2web/issues/328","repository_url":"https://api.github.com/repos/globaleaks/Tor2web","labels_url":"https://api.github.com/repos/globaleaks/Tor2web/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/globaleaks/Tor2web/issues/328/comments","events_url":"https://api.github.com/repos/globaleaks/Tor2web/issues/328/events","html_url":"https://github.com/globaleaks/Tor2web/issues/328","id":231802017,"number":328,"title":"Problem to start tor2web","user":{"login":"spketoundi","id":25747011,"avatar_url":"https://avatars3.githubusercontent.com/u/25747011?v=3","gravatar_id":"","url":"https://api.github.com/users/spketoundi","html_url":"https://github.com/spketoundi","followers_url":"https://api.github.com/users/spketoundi/followers","following_url":"https://api.github.com/users/spketoundi/following{/other_user}","gists_url":"https://api.github.com/users/spketoundi/gists{/gist_id}","starred_url":"https://api.github.com/users/spketoundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spketoundi/subscriptions","organizations_url":"https://api.github.com/users/spketoundi/orgs","repos_url":"https://api.github.com/users/spketoundi/repos","events_url":"https://api.github.com/users/spketoundi/events{/privacy}","received_events_url":"https://api.github.com/users/spketoundi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-27T13:40:19Z","updated_at":"2017-05-27T14:35:11Z","closed_at":null,"body":"I am installing GlobaLeaks + Tor2web + Letsencrypt on Ubuntu Server 16.04 VPS following https://github.com/globaleaks/GlobaLeaks/wiki/Installing-GlobaLeaks-Tor2web-Letsencrypt .\r\nThis is the way I did it :\r\n1.\tInstall GlobaLeaks – OK !\r\n2.\tInstall Tor2web\r\nI used tor2web_3.1.69_all.deb from https://deb.globaleaks.org/trusty/ since there is no package available for xenial.\r\nAnd then successfully run ./install-tor2web.sh. \r\n3.\tConfigure Tor2web – OK !\r\n4.\tInstall Letsencrypt – OK !\r\n5.\tStart Tor2web\r\n/etc/init.d/tor2web start is ending with the following error :\r\n[....] Starting tor2web (via systemctl): tor2web.serviceJob for tor2web.service failed because the control process exited with error code. See \"systemctl status tor2web.service\" and \"journalctl -xe\" for details.\r\nfailed!\r\nThen I run sudo systemctl status tor2web.service\r\n● tor2web.service - LSB: Start the Tor2web proxy.\r\n   Loaded: loaded (/etc/init.d/tor2web; bad; vendor preset: enabled)\r\n   Active: failed (Result: exit-code) since Fri 2017-05-26 14:16:39 UTC; 24s ago\r\n     Docs: man:systemd-sysv-generator(8)\r\n  Process: 25452 ExecStart=/etc/init.d/tor2web start (code=exited, status=1/FAIL\r\n\r\nPlease help me. What am I missing ?\r\n\r\n[tor2web.txt](https://github.com/globaleaks/Tor2web/files/1033564/tor2web.txt)\r\n\r\nPlease find below my tor2web.conf\r\n\r\n[main]\r\n\r\n## TOR2WEB CONFIGURATION FOR GLOBALEAKS\r\n# This is a minimal configuration template for a Tor2web to be used with\r\n# globaleaks installed on the same server. !WARNING!: That setup is only\r\n# valid for mid/low-risks deployments, such as anticorruption compliance in\r\n# western countries\r\nnodename = nodename\r\n\r\ndatadir = /home/tor2web\r\n\r\n# debug and logging\r\nlogreqs = False\r\ndebugmode = False\r\ndebugtostdout = False\r\n\r\n# Hostname of the public website\r\nbasehost = secure.domain.org\r\n\r\n# Multiprocessing\r\nprocesses = 3\r\nrequests_per_process = 10000\r\n\r\n# Listening IPs and Ports\r\ntransport = HTTP\r\n# the above transport setting allow you to\r\n# - enable only http: HTTP\r\n# - enable only https: HTTPS\r\n# - enable both http and https with forced redirect over https: BOTH\r\n\r\n# Local IP address Tor2web must be listening\r\nlisten_ipv4 = 45.77.54.230\r\nlisten_port_http = 80\r\n# listen_port_https = 443\r\n\r\n# Tor Configuration\r\nSockshost = 127.0.0.1\r\nsocksport = 9050\r\nsocksoptimisticdata = True\r\nsockmaxpersistentperhost = 5\r\nsockcachedconnectiontimeout = 240\r\nsockretryautomatically = True\r\n\r\n# Tor Hidden Service\r\n# To find the hostname issue the following command\r\n# cat /var/globaleaks/torhs/hostname\r\nmode = TRANSLATION\r\nonion = name.onion\r\nblockcrawl = True\r\noverriderobotstxt = True\r\nblockhotlinking = False\r\n# blockhotlinking_exts = [jpg, png, gif]\r\n\r\n# This allows Tor2web to work as a proxy for a local GlobaLeaks platform\r\n# This allows Tor2web to make use a simple TCP proxies\r\n# exposed on http://127.0.0.1:8082\r\n# dummyproxy = http://127.0.0.1:8082\r\n\r\n# CERTIFICATE CONFIGURATION\r\n# For the commands needed for generating the files below specified refer to the\r\n# wiki page at: https://github.com/globaleaks/Tor2web/wiki/Installation-Guide\r\nssl_key = /home/tor2web/certs/tor2web-key.pem\r\n#\r\n# LOAD THE .CRT FILE THAT HAS BEEN GIVEN YOU BY YOUR CA\r\nssl_cert = /home/tor2web/certs/tor2web-cert.pem\r\n#\r\n# LOAD THE INTERMEDIATE CERTIFICATE CHAIN OF YOUR CA HERE\r\n# PLEASE BE CAREFUL TO PUT THE CERT CHAIN IN THE RIGHT ORDER!\r\nssl_intermediate = /home/tor2web/certs/tor2web-intermediate.pem\r\n\r\n# SSL configuration\r\nssl_dh = /home/tor2web/certs/tor2web-dh.pem\r\ncipher_list = ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DHE-RSA-AES128-SHA:DES-CBC3-SHA\r\nssl_tofu_cache_size = 100\r\n\r\n# If globaleaks is used in embedded mode uncomment the settings below\r\n# and read https://github.com/globaleaks/GlobaLeaks/wiki/Integration-Guide\r\ndisable_tor_redirection = True\r\nblockhotlinking = False\r\n\r\n# If you want to serve torbrowser files from this server\r\n# uncomment this and read https://github.com/globaleaks/Tor2web/wiki/GetTor\r\ndisable_gettor = True\r\n\r\n# If set to True will disable the tor2web disclaimer\r\ndisable_disclaimer = True\r\n\r\n# If set to True will disable the tor2web banner\r\ndisable_banner = True\r\n\r\n# If set to True will avoid rewriting visible data (experimental; will result in less functional proxy)\r\n# Could be useful in relation to DMCA for US law only\r\n# avoid_rewriting_visible_content = True\r\n\r\n# Mail configuration for automatic exceptions notification and user abuse notice\r\n# smtpuser = [USERNAME]\r\n# smtppass = [PASSWORD]\r\n# smtpmail = [EMAIL]\r\n# smtpmailto_exceptions = [EMAIL_FOR_ABUSES_EXCEPTIONS]\r\n# smtpmailto_notifications = [EMAIL_FOR_ABUSES_NOTIFICATION]\r\n# smtpdomain = [DOMAIN]\r\n# smtpport = [PORT]\r\n\r\n# Exit nodes list refresh period (in seconds)\r\n# exit_node_list_refresh = 600\r\n\r\n# The following configuration parameters permits to enable automatic fetching of the hashed blocklist\r\n# automatic_blocklist_updates_source = https://ahmia.fi/bannedMD5.txt\r\n# automatic_blocklist_updates_refresh = 600\r\n# automatic_blocklist_updates_mode = MERGE\r\n\r\n# The following configuration parameter permit to publish blocklist\r\n# lists will be available at /antanistaticmap/lists/blocklist\r\n# publish_blocklist = False\r\n\r\n# List of mirrors shown in Tor2web disclaimer and banner\r\n# An updated list of know mirrors can be found at: https://github.com/globaleaks/tor2web/wiki\r\n# mirror = [tor2web.org, mirror2.tld, mirror3.tld, ...]\r\n\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/45635924-problem-to-start-tor2web?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/globaleaks/Tor2web/issues/comments/304456096","html_url":"https://github.com/globaleaks/Tor2web/issues/328#issuecomment-304456096","issue_url":"https://api.github.com/repos/globaleaks/Tor2web/issues/328","id":304456096,"user":{"login":"fpietrosanti","id":770363,"avatar_url":"https://avatars0.githubusercontent.com/u/770363?v=3","gravatar_id":"","url":"https://api.github.com/users/fpietrosanti","html_url":"https://github.com/fpietrosanti","followers_url":"https://api.github.com/users/fpietrosanti/followers","following_url":"https://api.github.com/users/fpietrosanti/following{/other_user}","gists_url":"https://api.github.com/users/fpietrosanti/gists{/gist_id}","starred_url":"https://api.github.com/users/fpietrosanti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpietrosanti/subscriptions","organizations_url":"https://api.github.com/users/fpietrosanti/orgs","repos_url":"https://api.github.com/users/fpietrosanti/repos","events_url":"https://api.github.com/users/fpietrosanti/events{/privacy}","received_events_url":"https://api.github.com/users/fpietrosanti/received_events","type":"User","site_admin":false},"created_at":"2017-05-27T14:35:11Z","updated_at":"2017-05-27T14:35:11Z","body":"By that line it seems that you are missing the \"onion\" configuration:\r\nMay 27 13:18:37 hostname tor2web[10191]: Tor2web Startup Failure: TRANSLATION config.mode require config.onion configuration\r\n\r\nBtw the released GlobaLeaks now support HTTPS directly into the software, but unfortunately it still not support LetsEncrypt (but will do in few weeks time), so you would be able to skip entirely Tor2web.\r\n\r\nAre you in a rush?"}}
{"actor":{"display_login":"fpietrosanti"}}