Skip to content

Mixed Content error on all API/datagrid routes with HTTPS #2371

@rogeriocano

Description

@rogeriocano

Hello, I've found a bug in Krayin v2.1. The application generates mixed content (http) URLs for all its datagrid API calls (Dashboard, Users list, Groups list, etc.), causing the pages to get stuck in a loading state.

This happens even after confirming the following fixes:

  1. APP_URL is set to https:// in the .env file.
  2. URL::forceScheme('https') is active in AppServiceProvider.
  3. All caches have been cleared (config:clear, cache:clear, etc.) and also re-cached (config:cache).
  4. The incorrect http URL is not stored in the core_config database table.

The bug seems to be in the URL generation for API/datagrid routes, which does not respect the application's HTTPS configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions