Skip to content

[HAWKBIT] Artifact upload file chunks cant exceed 500 bytes #519

Open
@paltaa

Description

@paltaa

Hey im trying to change the config so the file chunks when uploading images is bigger than 500 bytes or even better without a defined limit and there is no config that works, ive surfed all the issues in hawkbit repo and none of those config works.

Got any example for application.properties that should fix that file chunk max size?

Some of the examples that dont work:

config:
  application:
    multipart:
      max-request-size: -1
      max-file-size: -1
    hawkbit:
      server:
        useForwardHeaders: true
        security:
          dos:
            maxArtifactSize: "4294967296"
            maxArtifactStorage: "10737418240"
      ## Configuration for the device management federation
      ## ref: https://www.eclipse.org/hawkbit/apis/dmf_api/
      ## These configuration will become available once https://github.com/eclipse/hawkbit/pull/890 is merged
      # dmf:
      #   hono:
      #     enabled: false
      #     tenant-list-uri: "http://[DEVICE_REGISTRY_HOST]:8080/admin/tenants"
      #     device-list-uri: "http://[DEVICE_REGISTRY_HOST]:8080/admin/$$tenantId/devices"
      #     credentials-list-uri: "http://[DEVICE_REGISTRY_HOST]:8080/v1/credentials/$$tenantId/$$deviceId"
      #     authentication-method: "oidc"
      #     username: "[KEYCLOAK_HAWKBIT_USERNAME]"
      #     oidc-token-uri: "http://[KEYCLOAK_HOST]:8080/auth/realms/master/protocol/openid-connect/token"
      #     oidc-client-id: "[KEYCLOAK_DEVICE_REGISTRY_CLIENT_ID]"
    spring:
      servlet:
        multipart:
          max-file-size: "10GB"
          max-request-size: "512MB"
      http:
        multipart:
          max-file-size: "4092MB"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions