question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outline-server won't starting

See original GitHub issue

Old installation of Outline in some time ago stopped working, and new installation on two different VPS also not working. Instead it loads VPS CPU about 60%, flooding with errors to “shadowbox” container’s console, and same lines in container’s log. Pretty sorry but i don’t know how to attach file here, here is part of log:

18-12-07T09:25:41.648Z 9 main.js:109] === Config ===\n","stream":"stdout","time":"2018-12-07T09:25:41.649844994Z"}
{"log":"D2018-12-07T09:25:41.650Z 9 main.js:110] SB_PUBLIC_IP: 5.61.x.x\n","stream":"stdout","time":"2018-12-07T09:25:41.650784392Z"}
{"log":"D2018-12-07T09:25:41.650Z 9 main.js:111] SB_METRICS_URL: https://metrics-prod.uproxy.org\n","stream":"stdout","time":"2018-12-07T09:25:41.651045368Z"}
{"log":"D2018-12-07T09:25:41.651Z 9 main.js:112] ==============\n","stream":"stdout","time":"2018-12-07T09:25:41.651244795Z"}
{"log":"I2018-12-07T09:25:41.652Z 9 main.js:121] Starting...\n","stream":"stdout","time":"2018-12-07T09:25:41.652413694Z"}
{"log":"I2018-12-07T09:25:41.659Z 9 main.js:128] Prometheus is at localhost:9090\n","stream":"stdout","time":"2018-12-07T09:25:41.65923914Z"}
{"log":"I2018-12-07T09:25:41.659Z 9 main.js:129] Node metrics is at localhost:9091\n","stream":"stdout","time":"2018-12-07T09:25:41.659474777Z"}
{"log":"I2018-12-07T09:25:41.660Z 9 main.js:143] outline-ss-server metrics is at localhost:9092\n","stream":"stdout","time":"2018-12-07T09:25:41.66018941Z"}
{"log":"I2018-12-07T09:25:41.761Z 9 main.js:185] Manager listening at https://[::]:57329/7aUmU9GBUitc308omS6_UA\n","stream":"stdout","time":"2018-12-07T09:25:41.762147004Z"}
{"log":"I2018-12-07T09:25:41.780Z 20 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.781760255Z"}
{"log":"I2018-12-07T09:25:41.782Z 20 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.782941064Z"}
{"log":"I2018-12-07T09:25:41.785Z 20 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.785187671Z"}
{"log":"I2018-12-07T09:25:41.785Z 20 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.785498514Z"}
{"log":"C2018-12-07T09:25:41.790Z 20 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.790738019Z"}
{"log":"I2018-12-07T09:25:41.794Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.794424268Z"}
{"log":"I2018-12-07T09:25:41.795Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.795507174Z"}
{"log":"I2018-12-07T09:25:41.805Z 31 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.805783737Z"}
{"log":"I2018-12-07T09:25:41.805Z 31 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.806084165Z"}
{"log":"I2018-12-07T09:25:41.806Z 31 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.806735646Z"}
{"log":"I2018-12-07T09:25:41.813Z 31 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.813370499Z"}
{"log":"C2018-12-07T09:25:41.816Z 31 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.816833934Z"}
{"log":"I2018-12-07T09:25:41.817Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.818004523Z"}
{"log":"I2018-12-07T09:25:41.818Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.818207575Z"}
{"log":"level=info ts=2018-12-07T09:25:41.825727293Z caller=main.go:238 msg=\"Starting Prometheus\" version=\"(version=2.4.3, branch=HEAD, revision=167a4b4e73a8eca8df648d2d2043e21bdb9a7449)\"\n","stream":"stderr","time":"2018-12-07T09:25:41.825969762Z"}
{"log":"level=info ts=2018-12-07T09:25:41.826102937Z caller=main.go:239 build_context=\"(go=go1.11.1, user=root@1e42b46043e9, date=20181004-08:42:02)\"\n","stream":"stderr","time":"2018-12-07T09:25:41.826233933Z"}
{"log":"level=info ts=2018-12-07T09:25:41.826348373Z caller=main.go:240 host_details=\"(Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 server.domain.com (none))\"\n","stream":"stderr","time":"2018-12-07T09:25:41.826485853Z"}
{"log":"level=info ts=2018-12-07T09:25:41.826610832Z caller=main.go:241 fd_limits=\"(soft=32768, hard=32768)\"\n","stream":"stderr","time":"2018-12-07T09:25:41.826740742Z"}
{"log":"level=info ts=2018-12-07T09:25:41.826847349Z caller=main.go:242 vm_limits=\"(soft=unlimited, hard=unlimited)\"\n","stream":"stderr","time":"2018-12-07T09:25:41.826979987Z"}
{"log":"level=info ts=2018-12-07T09:25:41.827765695Z caller=main.go:554 msg=\"Starting TSDB ...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.831475749Z"}
{"log":"I2018-12-07T09:25:41.835Z 40 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.835801385Z"}
{"log":"I2018-12-07T09:25:41.835Z 40 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.836074892Z"}
{"log":"I2018-12-07T09:25:41.838Z 40 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.839097054Z"}
{"log":"I2018-12-07T09:25:41.839Z 40 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.839397855Z"}
{"log":"level=info ts=2018-12-07T09:25:41.845197566Z caller=web.go:397 component=web msg=\"Start listening for connections\" address=localhost:9090\n","stream":"stderr","time":"2018-12-07T09:25:41.84540679Z"}
{"log":"level=info ts=2018-12-07T09:25:41.846741149Z caller=main.go:564 msg=\"TSDB started\"\n","stream":"stderr","time":"2018-12-07T09:25:41.846908734Z"}
{"log":"level=info ts=2018-12-07T09:25:41.847024509Z caller=main.go:624 msg=\"Loading configuration file\" filename=/opt/outline/persisted-state/prometheus/config.yml\n","stream":"stderr","time":"2018-12-07T09:25:41.847164371Z"}
{"log":"level=info ts=2018-12-07T09:25:41.848441738Z caller=main.go:650 msg=\"Completed loading of configuration file\" filename=/opt/outline/persisted-state/prometheus/config.yml\n","stream":"stderr","time":"2018-12-07T09:25:41.848614905Z"}
{"log":"level=info ts=2018-12-07T09:25:41.848724125Z caller=main.go:523 msg=\"Server is ready to receive web requests.\"\n","stream":"stderr","time":"2018-12-07T09:25:41.848870253Z"}
{"log":"C2018-12-07T09:25:41.859Z 40 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.860052615Z"}
{"log":"I2018-12-07T09:25:41.860Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.86087516Z"}
{"log":"I2018-12-07T09:25:41.860Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.861072313Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862176266Z caller=main.go:423 msg=\"Stopping scrape discovery manager...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865599232Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862226278Z caller=main.go:437 msg=\"Stopping notify discovery manager...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865636359Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862241029Z caller=main.go:459 msg=\"Stopping scrape manager...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865642738Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862267907Z caller=main.go:419 msg=\"Scrape discovery manager stopped\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865648546Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862293669Z caller=main.go:433 msg=\"Notify discovery manager stopped\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865654013Z"}
{"log":"level=info ts=2018-12-07T09:25:41.86233124Z caller=manager.go:638 component=\"rule manager\" msg=\"Stopping rule manager...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865659675Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862346912Z caller=manager.go:644 component=\"rule manager\" msg=\"Rule manager stopped\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865665229Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862584279Z caller=notifier.go:512 component=notifier msg=\"Stopping notification manager...\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865683129Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862608083Z caller=main.go:608 msg=\"Notifier manager stopped\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865703842Z"}
{"log":"level=info ts=2018-12-07T09:25:41.862625306Z caller=main.go:453 msg=\"Scrape manager stopped\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865709388Z"}
{"log":"level=error ts=2018-12-07T09:25:41.862644593Z caller=main.go:617 err=\"error starting web server: listen tcp 66.96.162.92:9090: bind: cannot assign requested address\"\n","stream":"stderr","time":"2018-12-07T09:25:41.865714952Z"}
{"log":"I2018-12-07T09:25:41.866Z 9 prometheus_scraper.js:70] prometheus has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.866594123Z"}
{"log":"I2018-12-07T09:25:41.870Z 48 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.870406236Z"}
{"log":"I2018-12-07T09:25:41.870Z 48 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.870695197Z"}
{"log":"I2018-12-07T09:25:41.871Z 48 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.871431876Z"}
{"log":"I2018-12-07T09:25:41.871Z 48 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.871674369Z"}
{"log":"C2018-12-07T09:25:41.873Z 48 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.873740013Z"}
{"log":"I2018-12-07T09:25:41.874Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.874912951Z"}
{"log":"I2018-12-07T09:25:41.875Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.875124444Z"}
{"log":"I2018-12-07T09:25:41.880Z 54 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.881132861Z"}
{"log":"I2018-12-07T09:25:41.881Z 54 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.881459628Z"}
{"log":"I2018-12-07T09:25:41.881Z 54 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.882121598Z"}
{"log":"I2018-12-07T09:25:41.882Z 54 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.882389743Z"}
{"log":"C2018-12-07T09:25:41.884Z 54 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.884616982Z"}
{"log":"I2018-12-07T09:25:41.885Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.885863912Z"}
{"log":"I2018-12-07T09:25:41.885Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.886084857Z"}
{"log":"I2018-12-07T09:25:41.891Z 60 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.892066491Z"}
{"log":"I2018-12-07T09:25:41.892Z 60 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.892398958Z"}
{"log":"I2018-12-07T09:25:41.892Z 60 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.893094008Z"}
{"log":"I2018-12-07T09:25:41.893Z 60 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.893339407Z"}
{"log":"C2018-12-07T09:25:41.902Z 60 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.902847701Z"}
{"log":"I2018-12-07T09:25:41.904Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.904495557Z"}
{"log":"I2018-12-07T09:25:41.904Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.904765071Z"}
{"log":"I2018-12-07T09:25:41.910Z 66 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-07T09:25:41.910871203Z"}
{"log":"I2018-12-07T09:25:41.911Z 66 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-07T09:25:41.91118846Z"}
{"log":"I2018-12-07T09:25:41.911Z 66 server.go:75] Listening TCP and UDP on port 48916\n","stream":"stderr","time":"2018-12-07T09:25:41.911925638Z"}
{"log":"I2018-12-07T09:25:41.912Z 66 server.go:149] Loaded 1 access keys\n","stream":"stderr","time":"2018-12-07T09:25:41.91217304Z"}
{"log":"C2018-12-07T09:25:41.950Z 66 server.go:222] listen tcp 66.96.162.92:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-07T09:25:41.951433258Z"}
{"log":"I2018-12-07T09:25:41.952Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-07T09:25:41.952777305Z"}
{"log":"I2018-12-07T09:25:41.952Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-07T09:25:41.953002869Z"}

and so until filling of whole HDD. How can I trace the problem to override it (or help with overriding)? Server - KVM, Debian 9.6, Docker installed with Outline’s installation script. Old server was on XEN, had same problem.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
fortunacommented, Dec 19, 2018

The fix will be released soon.

1reaction
rtspcommented, Dec 12, 2018

Similar problem to me.

Most interesting part of these logs is the first line (cannot assign requested address). An IP address shown is not an IP of this outline server (outline.mydomain.com), instead, it’s an IP of root domain of this outline server (mydomain.com).

I’ve checked my config and confirmed that no configuration on this outline server pointed to mydomain.com. May be this is a bug while parsing hostname before resolving to IP address use for listening?

{"log":"C2018-12-12T05:05:28.558Z 25197 server.go:222] listen tcp 103.253.x.x:9092: bind: cannot assign requested address\n","stream":"stderr","time":"2018-12-12T05:05:28.558196863Z"}
{"log":"I2018-12-12T05:05:28.558Z 9 outline_shadowsocks_server.js:84] outline-ss-server has exited with error. Code: 1, Signal: null\n","stream":"stdout","time":"2018-12-12T05:05:28.559033043Z"}
{"log":"I2018-12-12T05:05:28.559Z 9 outline_shadowsocks_server.js:85] Restarting\n","stream":"stdout","time":"2018-12-12T05:05:28.559319398Z"}
{"log":"I2018-12-12T05:05:28.563Z 25206 server.go:224] Metrics on http://localhost:9092/metrics\n","stream":"stderr","time":"2018-12-12T05:05:28.563674085Z"}
{"log":"I2018-12-12T05:05:28.564Z 25206 server.go:230] Using IP-Country database at /var/lib/libmaxminddb/GeoLite2-Country.mmdb\n","stream":"stderr","time":"2018-12-12T05:05:28.564235034Z"}
{"log":"I2018-12-12T05:05:28.564Z 25206 server.go:75] Listening TCP and UDP on port 34623\n","stream":"stderr","time":"2018-12-12T05:05:28.564846142Z"}
{"log":"I2018-12-12T05:05:28.564Z 25206 server.go:75] Listening TCP and UDP on port 64413\n","stream":"stderr","time":"2018-12-12T05:05:28.565069506Z"}
{"log":"I2018-12-12T05:05:28.564Z 25206 server.go:75] Listening TCP and UDP on port 2507\n","stream":"stderr","time":"2018-12-12T05:05:28.565134663Z"}
{"log":"I2018-12-12T05:05:28.565Z 25206 server.go:75] Listening TCP and UDP on port 29701\n","stream":"stderr","time":"2018-12-12T05:05:28.565313511Z"}
{"log":"I2018-12-12T05:05:28.565Z 25206 server.go:149] Loaded 4 access keys\n","stream":"stderr","time":"2018-12-12T05:05:28.565537866Z"}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Messages - Help
If you receive this message, it likely means that the access key you're using to try and connect to the Outline server isn't...
Read more >
Your Outline Server was installed correctly, but we are not ...
I'm trying to config Outline VPN and I bought a Droplet from Digitalocean with Ubuntu 22 . So, my server generated URI string...
Read more >
How I ran Outline VPN on Vultr - CodeX Team
Outline is the simplest way to run and manage your own server. Single command setting up on the server and the rest managing...
Read more >
Outline won't run on Ubuntu 16.04 : r/outlinevpn - Reddit
Is it possible that you made one of those droplets yourself before even starting the setup, and then started the setup from the...
Read more >
How to install Outline Server On Ubuntu 20.04 - Ashok Kuikel
There are no specific technical requirements for Outline VPN Server. ... Running your own VPN server through Outline makes accessing the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found