Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paltaa opened this issue Dec 15, 2023 · 0 comments
Open

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

paltaa opened this issue Dec 15, 2023 · 0 comments
Labels

Comments

@paltaa
Copy link

paltaa commented Dec 15, 2023

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants