HTTP Invalid Host Error with Torizon-samples library

Hello everyone,

We just bought a Verdin imx8mp with a Mallow Carrier board and I am trying to run some example code from the Torizon-samples library to familiarize myself with the concept of multiple container.

I am following the Example: Multi-Container Application with Grafana, Collectd, and InfluxDB tutorial for the grafana and weather example. Unfortunately when I execute the following command :

docker-compose up -d

I obtain the following error : “http : invalid Host header”.

Could anyone please help us?

Coline

Hello @coline , welcome to the Toradex community :slight_smile:

Can you please share the output of tdx-info?

Best regards,
Josep

Thanks !

Here’s my output :

Software summary

Bootloader: U-Boot
Kernel version: 5.15.77-6.4.0-devel+git.ddc6ca4d76ea #1-TorizonCore SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.0/torizon/22ee1c5396bd88d474d3651dcaa4f7aa0db281ec95cc575598571f70ceceb3dc/0
Distro name: NAME=“TorizonCore”
Distro version: VERSION_ID=6.4.0-devel-202309-build.13
Hostname: verdin-imx8mp-15133100

Hardware info

HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0058 V1.1A
Serial number: 15133100
Processor arch: aarch64

Best,
Coline

Hello @coline

I see that you are using a monthly release.

Can you try with a quarterly release (6.3.0+build.4) or LTS (5.7.2+build.20) and check if the error persists?

Best regards,
Josep

Thanks for the reponse ! It seems to have resolve my first problem but unfortunately an error is still happening.

Best,
Coline

Hello @coline

How did you solve it? Did it work with the quarterly release owith the LTS?

The probable cause for this error is that you are using armhf architecture. The verdin iMX8MP has an arm64 architecture

Best regards,
Josep

Hello Josep,

It work with both.

I tried to run the weather example using the command line of the Official Readme for arm64 architecture (docker-compose build --build-arg IMAGE_ARCH=linux/arm64 --build arg TOOLCHAIN_ARCH=aarch64 --build-arg CROSS_TC_IMAGE_ARCH=arm64) and I am still getting the same error.

Best,
Coline

And for the grafana example, it seems to be running but only a black screen with a mouse open on the display. Do you have any idea where that could come from ?

Thanks for all the help,
Coline

Hello @coline
In order to try to reproduce your issue, can you please tell us which host OS ( windows or Linux ) and Docker version are you using?

Best regards,
Josep

Hello Josep,

So I am using WSL 1.2.5.0 on Windows 11. And Docker Client version 24.0.5.

Best regards,

Coline

Hello @coline ,
I will try to reproduce your issue.
Meanwhile , and in order to avoid having multiple issues per topic, I will close this one. Please open a new topic with your current issue.

Best regards,
Josep