-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It seems like the error is coming from here
As for the Gemfile.lock it is using some gem internal URL paths.
2023-10-25T00:26:54.630282+00:00 app[web.1]: I, [2023-10-25T00:26:54.630224 #2] INFO -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc] Started GET "/gemfiles/34C74720" for 187.184.7.152 at 2023-10-25 00:26:54 +0000
2023-10-25T00:26:54.630784+00:00 app[web.1]: I, [2023-10-25T00:26:54.630752 #2] INFO -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc] Processing by GemfilesController#show as HTML
2023-10-25T00:26:54.630801+00:00 app[web.1]: I, [2023-10-25T00:26:54.630786 #2] INFO -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc] Parameters: {"id"=>"34C74720"}
2023-10-25T00:26:54.633380+00:00 app[web.1]: D, [2023-10-25T00:26:54.633337 #2] DEBUG -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc] Gemfile Load (1.0ms) SELECT "gemfiles".* FROM "gemfiles" WHERE "gemfiles"."alpha_id" = $1 LIMIT $2 [["alpha_id", "34C74720"], ["LIMIT", 1]]
2023-10-25T00:26:54.633767+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/paperclip-5.2.1/lib/paperclip/url_generator.rb:67: warning: URI.escape is obsolete
2023-10-25T00:26:54.634130+00:00 app[web.1]: /app/vendor/bundle/ruby/2.7.0/gems/paperclip-5.2.1/lib/paperclip/url_generator.rb:67: warning: URI.escape is obsolete
2023-10-25T00:26:54.634205+00:00 app[web.1]: /app/app/models/gemfile.rb:63: warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
2023-10-25T00:26:54.679964+00:00 app[web.1]: I, [2023-10-25T00:26:54.679902 #2] INFO -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc] Completed 500 Internal Server Error in 49ms (ActiveRecord: 1.0ms | Allocations: 19216)
2023-10-25T00:26:54.680268+00:00 app[web.1]: F, [2023-10-25T00:26:54.680243 #2] FATAL -- : [dca3d51b-de9d-48b7-a975-47632a5d66fc]
2023-10-25T00:26:54.680269+00:00 app[web.1]: [dca3d51b-de9d-48b7-a975-47632a5d66fc] ArgumentError (bad argument (expected URI object or URI string)):
2023-10-25T00:26:54.680269+00:00 app[web.1]: [dca3d51b-de9d-48b7-a975-47632a5d66fc]
2023-10-25T00:26:54.680270+00:00 app[web.1]: [dca3d51b-de9d-48b7-a975-47632a5d66fc] app/models/gemfile.rb:26:in `check_with_bundler_audit'
2023-10-25T00:26:54.680270+00:00 app[web.1]: [dca3d51b-de9d-48b7-a975-47632a5d66fc] app/controllers/gemfiles_controller.rb:43:in `render_vulnerabilities'
2023-10-25T00:26:54.680270+00:00 app[web.1]: [dca3d51b-de9d-48b7-a975-47632a5d66fc] app/controllers/gemfiles_controller.rb:20:in `show'
2023-10-25T00:26:54.680888+00:00 heroku[router]: at=info method=GET path="/gemfiles/34C74720" host=audit.fastruby.io request_id=dca3d51b-de9d-48b7-a975-47632a5d66fc fwd="187.184.7.152" dyno=web.1 connect=0ms service=51ms status=500 bytes=1891 protocol=httpsI just tested it locally and it is working.
If you need more context please let me know 👍
Metadata
Metadata
Assignees
Labels
No labels