Hello,

I am using oakctl to build one of your example applications in the depthai-experiments and when trying to publish it to the hub is always fails the same way:

oakctl hub publish com-luxonis-generic-example_1-0-0.oakapp

App upload:

⠧ [00:01:00] [██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 91.90 MiB/2.12 GiB (32m)Error: ServiceError(QueryError("Failed to publish app: Gateway Timeout #504 Gateway Timeout"))

Also, I am not able to see my camera under the OAKs tab within my development device in the Luxonis Hub but I can see it under the OAK4 tab in devices. Not sure if this is something you guys are currently working in or it should all be working as showed in the documentation.

  • Looks like the new update (1.5.0) fixed the building issue and the publishing issues, by changing the identifier in the toml file you should be able to publish and install the application using the oakctl tool.

Hello,

Thank you for reporting this issue.

The upload functionality will be fixed in the next release, scheduled for Thursday.

Regarding OAK4 device support in the Hub, we are actively working on it. In the meantime, these devices have been placed in a separate OAK4 section.

Best regards,
Martin

6 days later

Hello @MartinVyskocil,

I tried to publish a built application today and while it did not fail mid point this time it did failed at the end with the following error (I am using one of the example applications "generic-example":

App upload:

Error: ServiceError(QueryError("Filed to publish app: {\"status\":\"INVALID_IDENTIFIER_FORMAT\",\"message\":\"Identifier needs to follow the following format: com.app.example\"} #400 Bad Request"))

Also, since you are still working on the Oaks tab within the online devices (luxonis hub) how can I install an application since my host machine does not has any cameras under Oaks? Basically I cannot assign the application to the camera since it is in its separate location "OAK4".

When clicking on install Apps it does not gives you an option to create one and assign it like when you do it with the online devices tab. Is this something you guys are still working on? Is there a default or example application that I could build, publish and test before I create my custom one ?

Finally, the "oakctl app build" command is failing the same way with every application:

Starting building oakapp with given path: "."

⠙ Connecting ... Failed to connect: StreamError(Os { code: 22, kind: InvalidInput, message: "Invalid argument" })

Looks like the new update (1.5.0) fixed the building issue and the publishing issues, by changing the identifier in the toml file you should be able to publish and install the application using the oakctl tool.

Hello,

To the error:
The error indicates that the identifier format in the oakapp.toml file is incorrect and does not follow the required format "com.app.example".
Please double-check the identifier format in your oakapp.toml file.

To the app installation:
Yes, we are still working on the OAK4 tab, but the application doesn’t have to be installed only through the Hub—it can also be installed using oakctl.
You can find the installation steps here:
https://rvc4.docs.luxonis.com/software/tools/oakctl/#Usage-App%20Management-Install%20an%20app

Best regards,
Martin