Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

按照教程每一步都成功了,就是客户端连接不上? #62

Open
dongriljf opened this issue Aug 6, 2018 · 6 comments
Open

Comments

@dongriljf
Copy link

2018-08-06_220728
按照教程,每一步都成功。
2018-08-06_221145
查看HerokuAPP并重启一次(More-->restart),从more-->view logs确认启动成功:

2018-08-06_221752
当然UUID,端口和TLS这种是不会填错的,但客户端就是连不上。
服务器的log,我截取一部分,大神看看:

2018-08-06T14:16:51.935346+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=6ed0832d-44aa-4a5b-8e70-6f2ce38accdb fwd="14.30.21.40" dyno=web.1 connect=1ms service=3ms status=200 bytes=6960 protocol=https
2018-08-06T14:16:53.432339+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=18f6ae8e-db51-4ef5-9850-e6ec305f8869 fwd="117.14.159.12" dyno=web.1 connect=1ms service=2ms status=200 bytes=6979 protocol=https
2018-08-06T14:16:53.432253+00:00 app[web.1]: [GIN] 2018/08/06 - 14:16:53 |�[97;42m 200 �[0m| 758.29µs | 117.14.159.12 |�[97;44m �[0m GET /
2018-08-06T14:16:56.728238+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=f1a068a8-a00c-4cca-b55b-d7ca2ab2cd20 fwd="14.30.21.40" dyno=web.1 connect=1ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:16:56.728438+00:00 app[web.1]: [GIN] 2018/08/06 - 14:16:56 |�[97;42m 200 �[0m| 600.409µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:16:58.739695+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=ac0785d8-56cd-4004-a7ee-3ab9cd231de9 fwd="14.30.21.40" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:16:58.740005+00:00 app[web.1]: [GIN] 2018/08/06 - 14:16:58 |�[97;42m 200 �[0m| 852.606µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:00.275454+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:00 |�[97;42m 200 �[0m| 1.101513ms | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:00.276751+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=8f77132f-dcf7-4cbe-aa00-ad29a89461a0 fwd="14.30.21.40" dyno=web.1 connect=1ms service=3ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:03.247941+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:03 |�[97;42m 200 �[0m| 975.619µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:03.248218+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=3ab70586-ccdf-445e-8c73-4807d1c078c3 fwd="14.30.21.40" dyno=web.1 connect=1ms service=5ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:07.144532+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=791624b9-5528-4840-bad5-3f009b814b4f fwd="14.30.21.40" dyno=web.1 connect=1ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:07.146323+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:07 |�[97;42m 200 �[0m| 942.734µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:09.132909+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=77eab2c2-db84-49e1-b1d4-906f621ce54b fwd="14.30.21.40" dyno=web.1 connect=0ms service=3ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:09.131102+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:09 |�[97;42m 200 �[0m| 652.782µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:11.402158+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=a678e280-7e5c-441d-8614-47d2a9ccee59 fwd="14.30.21.40" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:11.400502+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:11 |�[97;42m 200 �[0m| 786.635µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:14.069868+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=0f408e1f-5e6f-4c76-95f9-8b1b7eb47dfa fwd="14.30.21.40" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:14.068917+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:14 |�[97;42m 200 �[0m| 1.20706ms | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:15.944892+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=ec4d4d4a-bc6a-4ede-85e1-18413dcb0986 fwd="14.30.21.40" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:15.945742+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:15 |�[97;42m 200 �[0m| 828.783µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:20.350337+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=6cfabc1f-d471-4dcc-b703-bd77568f23ee fwd="14.30.21.40" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=https
2018-08-06T14:17:20.351592+00:00 app[web.1]: [GIN] 2018/08/06 - 14:17:20 |�[97;42m 200 �[0m| 993.496µs | 14.30.21.40 |�[97;44m �[0m GET /
2018-08-06T14:17:21.585702+00:00 heroku[router]: at=info method=GET path="/" host=v2ray-heroku2.herokuapp.com request_id=b89d2a3c-61f7-4ecc-b908-2083e9276f9a fwd="14.30.21.40" dyno=web.1 connect=1ms service=9ms status=200 bytes=6960 protocol=https

@tislam8888
Copy link

建议用这个部署
https://github.com/wangyi2005/v2ray-heroku

@dongriljf
Copy link
Author

谢谢,这个我一下就部署成功了,可能是我不会用TRAVIS CI,折腾了一下。

@rowany
Copy link

rowany commented Aug 14, 2018

@onplus
我也是一样的错误,travis配置完了,heroku却连不上,不知道哪里有问题?我重启app好像有个status143 ,好像heroku上没部署成功?是不是部署成功了访问app地址会显示bad request?wangyi2005那个现在被屏蔽的厉害,建立一会就不能用了

2018-08-14T12:53:08.217069+00:00 app[web.1]: [GIN] 2018/08/14 - 12:53:08 |�[97;42m 200 �[0m| 603.806µs | 39.188.134.195 |�[97;44m �[0m GET /

2018-08-14T12:53:09.431848+00:00 heroku[router]: at=info method=GET path="/" host=rowanus.herokuapp.com request_id=5cb40082-74a0-4ec5-9b6c-0428b7309832 fwd="39.188.134.195" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=http

2018-08-14T12:53:09.428196+00:00 app[web.1]: [GIN] 2018/08/14 - 12:53:09 |�[97;42m 200 �[0m| 644.834µs | 39.188.134.195 |�[97;44m �[0m GET /

2018-08-14T12:54:50.062105+00:00 heroku[web.1]: Restarting

2018-08-14T12:54:50.062668+00:00 heroku[web.1]: State changed from up to starting

2018-08-14T12:54:50.728479+00:00 heroku[web.1]: Stopping all processes with SIGTERM

2018-08-14T12:54:50.799287+00:00 heroku[web.1]: Process exited with status 143

2018-08-14T12:54:50.919757+00:00 heroku[web.1]: Starting process with command go-getting-started

2018-08-14T12:54:53.792102+00:00 app[web.1]: [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.

2018-08-14T12:54:53.792121+00:00 app[web.1]: - using env: export GIN_MODE=release

2018-08-14T12:54:53.792123+00:00 app[web.1]: - using code: gin.SetMode(gin.ReleaseMode)

2018-08-14T12:54:53.792125+00:00 app[web.1]:

2018-08-14T12:54:53.792206+00:00 app[web.1]: [GIN-debug] GET /static/*filepath --> github.com/heroku/go-getting-started/vendor/github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2018-08-14T12:54:53.792213+00:00 app[web.1]: [GIN-debug] HEAD /static/*filepath --> github.com/heroku/go-getting-started/vendor/github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)

2018-08-14T12:54:53.792215+00:00 app[web.1]: [GIN-debug] GET / --> main.main.func1 (2 handlers)

2018-08-14T12:54:53.792219+00:00 app[web.1]: [GIN-debug] Listening and serving HTTP on :17068

2018-08-14T12:54:55.472448+00:00 heroku[web.1]: State changed from starting to up

@bruntnorton
Copy link

同 Process exited with status 143 和上面的日志除了时间都一样...

@wojiaoluyuan
Copy link

也是,连不上,安卓和路由器都不能用。我改的版本是3.35.
2018-08-16T12:20:21.712954+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:21 |�[97;42m 200 �[0m| 619.579µs | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:21.713976+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:21 |�[97;42m 200 �[0m| 3.476573ms | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:23.481975+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=0ef33389-6890-4cf0-ba7b-aa1f125b87f6 fwd="112.96.173.87" dyno=web.1 connect=2ms service=9ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:23.520359+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=61502c80-40e7-4821-81ee-72b38d2c82c4 fwd="112.96.173.87" dyno=web.1 connect=1ms service=6ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:23.481743+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:23 |�[97;42m 200 �[0m| 788.2µs | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:23.518230+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:23 |�[97;42m 200 �[0m| 847.817µs | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:23.565607+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:23 |�[97;42m 200 �[0m| 924.743µs | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:23.571917+00:00 app[web.1]: [GIN] 2018/08/16 - 12:20:23 |�[97;42m 200 �[0m| 879.478µs | 112.96.173.87 |�[97;44m �[0m GET /
2018-08-16T12:20:23.571912+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=67d3cb6c-7608-49c0-b62c-ab3bdec8fbc1 fwd="112.96.173.87" dyno=web.1 connect=2ms service=9ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:23.568340+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=8b1e40ec-d0e6-4f4e-8c47-005b8a6ba8a2 fwd="112.96.173.87" dyno=web.1 connect=1ms service=5ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:18.262440+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=ef203ca9-4dae-4010-901e-937db1114ebc fwd="112.96.173.87" dyno=web.1 connect=3ms service=82ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:20.484453+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=8c8cbcc1-d9d0-486a-b282-af84507d73c8 fwd="112.96.173.87" dyno=web.1 connect=1ms service=32ms status=200 bytes=6960 protocol=http
2018-08-16T12:20:21.621645+00:00 heroku[router]: at=info method=GET path="/" host=ruv2ray.herokuapp.com request_id=18e52b19-0384-4701-9948-ca582bec90ae fwd="112.96.173.87" dyno=web.1 connect=0ms service=2ms status=200 bytes=6960 protocol=http

@cnsclxm
Copy link

cnsclxm commented Aug 23, 2018

我的配置完是这样的
2018-08-23T02:56:28.328820+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:28 |�[97;42m 200 �[0m| 1.129515ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:28.083785+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=3b6c7779-4039-49a9-a71a-f371bb0f5e89 fwd="110.185.210.113" dyno=web.1 connect=1ms service=14ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:28.450852+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:28 |�[97;42m 200 �[0m| 1.013676ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:28.328516+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=5d07fd61-8e3a-4d53-b387-578f12f4ea1f fwd="110.185.210.113" dyno=web.1 connect=1ms service=11ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:28.730281+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:28 |�[97;42m 200 �[0m| 721.093µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:28.451298+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=1d47caab-4d4a-4cdd-a417-249263cdf686 fwd="110.185.210.113" dyno=web.1 connect=1ms service=10ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:28.737971+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=43a424fe-97a1-4975-8243-ac7cb8513141 fwd="110.185.210.113" dyno=web.1 connect=1ms service=25ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:29.240324+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:29 |�[97;42m 200 �[0m| 951.361µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:29.240414+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:29 |�[97;42m 200 �[0m| 1.206028ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:29.240322+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=a6410670-8bfc-4edc-9d71-9f1dc71117b9 fwd="110.185.210.113" dyno=web.1 connect=2ms service=12ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:29.245168+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=75ff050b-c4e9-475a-91cc-4d40cb022548 fwd="110.185.210.113" dyno=web.1 connect=0ms service=11ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:30.052352+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:30 |�[97;42m 200 �[0m| 1.116048ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:30.073936+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:30 |�[97;42m 200 �[0m| 5.883629ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:30.103131+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:30 |�[97;42m 200 �[0m| 1.075743ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:30.103383+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=b19d8fe8-5865-4650-8466-2fae6578cd70 fwd="110.185.210.113" dyno=web.1 connect=0ms service=15ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:30.056097+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=6526bbc1-87ca-4ec8-81a4-522ac28f59bd fwd="110.185.210.113" dyno=web.1 connect=0ms service=10ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:30.078515+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=46c83f91-384a-4c14-963d-c188f06d576f fwd="110.185.210.113" dyno=web.1 connect=1ms service=26ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:31.089434+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:31 |�[97;42m 200 �[0m| 1.16594ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:31.090999+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=7c82270b-eb20-47aa-b7ba-b409bc43e182 fwd="110.185.210.113" dyno=web.1 connect=0ms service=11ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:31.808543+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:31 |�[97;42m 200 �[0m| 861.79µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:31.977975+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:31 |�[97;42m 200 �[0m| 907.664µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:31.812040+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=7f673f56-62ec-42bc-8ce3-e5cbe0fcbeaf fwd="110.185.210.113" dyno=web.1 connect=1ms service=10ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:31.977468+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=c989c2b1-d294-45c3-bf23-311c54b9bbfc fwd="110.185.210.113" dyno=web.1 connect=1ms service=2ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:32.228219+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:32 |�[97;42m 200 �[0m| 881.821µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:32.229522+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=4b14db5f-b2dd-46f0-a18f-8b2175abf622 fwd="110.185.210.113" dyno=web.1 connect=1ms service=4ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:33.162371+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:33 |�[97;42m 200 �[0m| 3.749683ms | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:33.168428+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:33 |�[97;42m 200 �[0m| 830.811µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:33.170850+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=e173330d-f629-43e5-acfe-9791cdccb431 fwd="110.185.210.113" dyno=web.1 connect=0ms service=7ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:33.484105+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:33 |�[97;42m 200 �[0m| 856.208µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:33.660684+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:33 |�[97;42m 200 �[0m| 641.985µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:33.667579+00:00 app[web.1]: [GIN] 2018/08/23 - 02:56:33 |�[97;42m 200 �[0m| 667.581µs | 110.185.210.113 |�[97;44m �[0m GET /
2018-08-23T02:56:33.488636+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=d7d96af6-f652-4631-9ea6-2bf7e9be11bb fwd="110.185.210.113" dyno=web.1 connect=0ms service=4ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:33.167751+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=d9115c59-6770-471f-a01a-c5d590140927 fwd="110.185.210.113" dyno=web.1 connect=1ms service=5ms status=200 bytes=6960 protocol=http
2018-08-23T02:56:33.667731+00:00 heroku[router]: at=info method=GET path="/" host=v2lzb.herokuapp.com request_id=185c3df2-6028-44c2-9497-3f542dc2102a fwd="110.185.210.113" dyno=web.1 connect=1ms service=4ms status=200 bytes=6960 protocol=http
Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...
Connection to log stream failed. Please try again later.

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

No branches or pull requests

6 participants