Errors · Foodlane

ActionController::Redirecting::UnsafeRedirectError

Unsafe redirect to "https://app.foodlane.io/login", pass allow_other_host: true to redirect anyway.

manager/orders#index

10 Dec 16:36
Request URI
GET https://namaste-saini.foodlane.io/manager
User Agent
Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Request Params
{"controller"=>"manager/orders", "action"=>"index"}
Stacktrace
app/controllers/application_controller.rb:11:in `not_authenticated'
Session
{"session_id"=>"bb98a9df6aacb768000dd42032e6bb4d", "return_to_url"=>"https://namaste-saini.foodlane.io/manager"}
Remote IP
46.165.180.108
Environment

rack.version: [1, 6]

rack.errors: #<IO:0x000055ea3b3497e0>

rack.multithread: true

rack.multiprocess: false

rack.run_once: false

rack.url_scheme: https

SCRIPT_NAME:

QUERY_STRING:

SERVER_PROTOCOL: HTTP/1.1

SERVER_SOFTWARE: puma 5.5.2 Zawgyi

GATEWAY_INTERFACE: CGI/1.2

REQUEST_METHOD: GET

REQUEST_PATH: /manager

REQUEST_URI: /manager

HTTP_VERSION: HTTP/1.1

HTTP_HOST: namaste-saini.foodlane.io

HTTP_X_FORWARDED_FOR: 46.165.180.108

HTTP_X_FORWARDED_PORT: 443

HTTP_X_FORWARDED_PROTO: https

HTTP_X_REQUEST_START: 1639154197.072

HTTP_ACCEPT_LANGUAGE: en-DE,en,en-US,en

HTTP_UPGRADE_INSECURE_REQUESTS: 1

HTTP_USER_AGENT: Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36

HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9

HTTP_SEC_FETCH_SITE: none

HTTP_SEC_FETCH_MODE: navigate

HTTP_SEC_FETCH_USER: ?1

HTTP_SEC_FETCH_DEST: document

HTTP_ACCEPT_ENCODING: gzip, deflate, br

puma.request_body_wait: 0

SERVER_NAME: namaste-saini.foodlane.io

SERVER_PORT: 443

PATH_INFO: /manager

REMOTE_ADDR: 172.17.0.1

puma.socket: #<TCPSocket:0x000055ea42477ac0>

rack.hijack?: true

rack.hijack: #<Puma::Client:0x000055ea42477a98>

rack.input: #<Puma::NullIO:0x000055ea3bba2b80>

rack.after_reply: []

puma.config: #<Puma::Configuration:0x000055ea3bd08768>

action_dispatch.parameter_filter: [:password, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :paypal_secret, :body, :body]

action_dispatch.redirect_filter: []

action_dispatch.secret_key_base: 0f789b2d3ead9b5742eaf91d1016be14f0174797364622e429108d2b36047a353d1210bcdf526f849d0cc133be3e3e8672bdec5778e047f436c748b035eda6fe

action_dispatch.show_exceptions: true

action_dispatch.show_detailed_exceptions: false

action_dispatch.log_rescued_responses: true

action_dispatch.logger: #<ActiveSupport::Logger:0x000055ea3ea10490>

action_dispatch.backtrace_cleaner: #<Rails::BacktraceCleaner:0x000055ea3ece25b0>

action_dispatch.key_generator: #<ActiveSupport::CachingKeyGenerator:0x000055ea4068e928>

action_dispatch.http_auth_salt: http authentication

action_dispatch.signed_cookie_salt: signed cookie

action_dispatch.encrypted_cookie_salt: encrypted cookie

action_dispatch.encrypted_signed_cookie_salt: signed encrypted cookie

action_dispatch.authenticated_encrypted_cookie_salt: authenticated encrypted cookie

action_dispatch.use_authenticated_cookie_encryption: true

action_dispatch.encrypted_cookie_cipher:

action_dispatch.signed_cookie_digest:

action_dispatch.cookies_serializer: json

action_dispatch.cookies_digest:

action_dispatch.cookies_rotations: #<ActiveSupport::Messages::RotationConfiguration:0x000055ea3bda1e40>

action_dispatch.cookies_same_site_protection: #<Proc:0x000055ea407a9768 /app/vendor/bundle/ruby/3.0.0/bundler/gems/rails-050425faedcd/railties/lib/rails/application.rb:610>

action_dispatch.use_cookies_with_metadata: true

action_dispatch.content_security_policy:

action_dispatch.content_security_policy_report_only: false

action_dispatch.content_security_policy_nonce_generator:

action_dispatch.content_security_policy_nonce_directives:

action_dispatch.permissions_policy:

action_dispatch.routes: #<ActionDispatch::Routing::RouteSet:0x000055ea3ed41e48>

ROUTES_59420_SCRIPT_NAME:

ORIGINAL_FULLPATH: /manager

ORIGINAL_SCRIPT_NAME:

action_dispatch.request_id: f835ddbf-9a22-4987-add6-62d5cf62898f

action_dispatch.remote_ip: 46.165.180.108

rack.session: {"session_id"=>"bb98a9df6aacb768000dd42032e6bb4d", "return_to_url"=>"https://namaste-saini.foodlane.io/manager"}

rack.session.options: {"path"=>"/", "domain"=>"all", "expire_after"=>"", "secure"=>"false", "httponly"=>"true", "defer"=>"false", "renew"=>"false", "id"=>"bb98a9df6aacb768000dd42032e6bb4d"}

rack.tempfiles: []

rack.attack.called: true

rack.attack.throttle_data: {"req/ip"=>{"discriminator"=>"46.165.180.108", "count"=>"2", "period"=>"10", "limit"=>"50", "epoch_time"=>"1639154197"}}

action_dispatch.request.path_parameters: {"controller"=>"manager/orders", "action"=>"index"}

action_controller.instance: #<Manager::OrdersController:0x000055ea424cc750>

action_dispatch.request.content_type:

action_dispatch.request.request_parameters: {}

rack.request.query_string:

rack.request.query_hash: {}

action_dispatch.request.query_parameters: {}

action_dispatch.request.parameters: {"controller"=>"manager/orders", "action"=>"index"}

action_dispatch.request.formats: [#<Mime::Type:0x000055ea404933f8 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=204900280086888829>]

rack.request.cookie_hash: {}

action_dispatch.cookies: {}

action_dispatch.request.unsigned_session_cookie: {"session_id"=>"bb98a9df6aacb768000dd42032e6bb4d"}