URL returned error:500

The CE server and the CI server are behind a reverse proxy, Fedora . Both servers are on different 18.04 machines.

ERROR MESSGE from CE

Running with gitlab-runner 11.6.1 (8d829975)
on Elijah-3 js4XHmaF
Using Docker executor with image node:carbon …
Pulling docker image node:carbon …
Using docker image sha256:ldfjafjoiejafofnfweopeofijwe[ndcvnofefjd for node:carbon …
Running on runner-js4XHmaF-project-8-concurrent-0 via yara…
Cloning repository…
Cloning into ‘/builds/dir/hello_hapi’…
fatal: unable to access ‘http://gitlab-ci-token:xxxxxxxxxxxxxxxxxxxx@CE.server.com/dir/hello_hapi.git/’: The requested URL returned error: 500
/bin/bash: line 62: cd: /builds/dir/hello_hapi: No such file or directory
ERROR: Job failed: exit code 1

Substituting the runner’s registration token for the xxxxx… and placing in the browser: http://gitlab-ci-token:@CEserver.com/dir/hello_hapi.git/ will prompt for confirmation and open/display another session of CE gui.

RUNNER VERSION

$ gitlab-runner -v
Version: 11.6.1
Git revision: 8d829975
Git branch: 11-6-stable
GO version: go1.8.7
Built: 2019-01-15T15:22:11+0000
OS/Arch: linux/amd64

CONFIG.TOML

[[runners]]
name = “Elijah-3”
url = “http://www.CEserver.server.com/
token = “gfgsdgfbt”
executor = “docker”
[runners.docker]
tls_verify = false
image = “alpine:latest”
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = [“/cache”]
shm_size = 0
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]

GITLAB-CTL TAIL (Voluminous)
**PRODUCTION.LOG **
NOTE THE FOLLOWING LINES:

  • Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.0ms)
  • JWT::DecodeError (Nil JSON web token**):

==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET “/allenintech/hello_hapi.git/info/refs?service=git-upload-pack” for 127.0.0.1 at 2019-01-20 17:16:46 -0500
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“allenintech”, “project_id”=>“hello_hapi.git”}
Filter chain halted as :authenticate_user rendered or redirected
Completed 401 Unauthorized in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)
Started GET “/allenintech/hello_hapi.git/info/refs?service=git-upload-pack” for 127.0.0.1 at 2019-01-20 17:16:47 -0500
Processing by Projects::GitHttpController#info_refs as /
Parameters: {“service”=>“git-upload-pack”, “namespace_id”=>“allenintech”, “project_id”=>“hello_hapi.git”}
Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.0ms)

JWT::DecodeError (Nil JSON web token):

lib/gitlab/workhorse.rb:194:in decode_jwt' lib/gitlab/workhorse.rb:190:in verify_api_request!’
app/controllers/concerns/workhorse_request.rb:13:in verify_workhorse_api!' lib/gitlab/i18n.rb:55:in with_locale’
lib/gitlab/i18n.rb:61:in with_user_locale' app/controllers/application_controller.rb:420:in set_locale’
lib/gitlab/middleware/multipart.rb:103:in call' lib/gitlab/request_profiler/middleware.rb:16:in call’
lib/gitlab/middleware/go.rb:19:in call' lib/gitlab/etag_caching/middleware.rb:13:in call’
lib/gitlab/middleware/correlation_id.rb:16:in block in call' lib/gitlab/correlation_id.rb:15:in use_id’
lib/gitlab/middleware/correlation_id.rb:15:in call' lib/gitlab/middleware/rails_queue_duration.rb:24:in call’
lib/gitlab/metrics/rack_middleware.rb:17:in block in call' lib/gitlab/metrics/transaction.rb:55:in run’
lib/gitlab/metrics/rack_middleware.rb:17:in call' lib/gitlab/middleware/read_only/controller.rb:40:in call’
lib/gitlab/middleware/read_only.rb:18:in call' lib/gitlab/middleware/basic_health_check.rb:25:in call’
lib/gitlab/request_context.rb:20:in call' lib/gitlab/metrics/requests_rack_middleware.rb:29:in call’
lib/gitlab/middleware/release_env.rb:13:in `call’

==> /var/log/gitlab/gitlab-rails/production_json.log <==
{“method”:“GET”,“path”:“/allenintech/hello_hapi.git/info/refs”,“format”:“/”,“controller”:“Projects::GitHttpController”,“action”:“info_refs”,“status”:401,“duration”:7.54,“view
“:0.32,“db”:1.08,“time”:“2019-01-20T22:16:47.002Z”,“params”:[{“key”:“service”,“value”:“git-upload-pack”},{“key”:“namespace_id”,“value”:“allenintech”},{“key”:“project_id”,“value
“:“hello_hapi.git”}],“remote_ip”:“10.0.0.1”,“user_id”:null,“username”:null,“ua”:“git/2.18.1”,“correlation_id”:“a58e4a70-d2c2-4796-8a96-fc10b25cdadc”}
{“method”:“GET”,“path”:”/allenintech/hello_hapi.git/info/refs”,“format”:”/”,“controller”:“Projects::GitHttpController”,“action”:“info_refs”,“status”:500,“error”:“JWT::DecodeE
rror: Nil JSON web token”,“duration”:14.25,“view”:0.0,“db”:3.04,“time”:“2019-01-20T22:16:47.079Z”,“params”:[{“key”:“service”,“value”:“git-upload-pack”},{“key”:“namespace_id”,“v
alue”:“allenintech”},{“key”:“project_id”,“value”:“hello_hapi.git”}],“remote_ip”:“10.0.0.1”,“user_id”:1,“username”:“allenintech”,“ua”:“git/2.18.1”,“correlation_id”:“e4c417c3-428
6-4fb5-b95d-f89e87fb79fd”}

==> /var/log/gitlab/gitlab-rails/production.log <==
Started PATCH “/api/v4/jobs/86/trace” for 127.0.0.1 at 2019-01-20 17:16:47 -0500

==> /var/log/gitlab/gitlab-rails/api_json.log <==
{“time”:“2019-01-20T22:16:47.466Z”,“severity”:“INFO”,“duration”:5.83,“db”:1.22,“view”:4.61,“status”:202,“method”:“PATCH”,“path”:“/api/v4/jobs/86/trace”,“params”:,“host”:“www.
gitlabserver.allenintech.com”,“ip”:“10.0.0.47”,“ua”:“gitlab-runner 11.6.1 (11-6-stable; go1.8.7; linux/amd64)”,“route”:“/api/:version/jobs/:id/trace”,“gitaly_calls”:0,“correlat
ion_id”:“a05f4f88-1cad-440e-8a92-b148708f6763”}

==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET “/allenintech/hello_hapi/-/jobs/86/trace.json?state=eyJvZmZzZXQiOjM1NCwibl9vcGVuX3RhZ3MiOjAsImZnX2NvbG9yIjpudWxsLCJiZ19jb2xvciI6bnVsbCwic3R5bGVfbWFzayI6MH0%3D” for
127.0.0.1 at 2019-01-20 17:16:48 -0500
Processing by Projects::JobsController#trace as JSON
Parameters: {“state”=>“eyJvZmZzZXQiOjM1NCwibl9vcGVuX3RhZ3MiOjAsImZnX2NvbG9yIjpudWxsLCJiZ19jb2xvciI6bnVsbCwic3R5bGVfbWFzayI6MH0=”, “namespace_id”=>“allenintech”, “project_id”=

“hello_hapi”, “id”=>“86”}
Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 4.1ms)

==> /var/log/gitlab/gitlab-rails/production_json.log <==

Is anyone familiar with return error: 500?