theforeman/foreman · error · ProxyException

Unable to fetch logs

Error message

Unable to fetch logs

What it means

Error "Unable to fetch logs" thrown in theforeman/foreman.

Source

Thrown at app/services/proxy_api/logs.rb:11

module ProxyAPI
  class Logs < ProxyAPI::Resource
    def initialize(args)
      @url = args[:url] + "/logs"
      super args
    end

    def all(from = 0)
      parse(get("", query: { from_timestamp: from }))
    rescue => e
      raise ProxyException.new(url, e, N_("Unable to fetch logs"))
    end
  end
end

View on GitHub (pinned to 6b05625475)

When it happens

Trigger: Thrown at app/services/proxy_api/logs.rb:11 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of theforeman/foreman@6b05625475 (2026-08-23). Data as JSON: /api/errors/65a49c2e527a8978. Report an issue: GitHub.