Errors when trying to join devices

So I’m trying to set up a little test server to test some Lora-devices I want to use.
So far the setup went pretty well but when I try to join devices I always get the same errors.

chirpstack-docker-chirpstack-network-server-1      | time="2022-07-19T06:22:22.9933718Z" level=info msg="gateway/mqtt: uplink frame received" gateway_id=a8404121ad704150 uplink_id=7f912ea0-8526-41ba-ab83-65efd467a622
chirpstack-docker-chirpstack-network-server-1      | time="2022-07-19T06:22:23.1954528Z" level=info msg="uplink: frame(s) collected" ctx_id=df281e9a-4a3a-46f7-973a-3c3e1e067dd1 mtype=JoinRequest uplink_ids="[7f912ea0-8526-41ba-ab83-65efd467a622]"
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2010594Z" level=warning msg="[core] grpc: Server.Serve failed to create ServerTransport:  connection error: desc = \"transport: http2Server.HandleStreams received bogus greeting from client: \\\"POST / HTTP/1.1\\\\r\\\\nHost: c\\\"\""
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2034184Z" level=error msg="join-server returned error: http post error: Post \"http://chirpstack-application-server:8001\": net/http: HTTP/1.x transport connection broken: malformed HTTP response \"\\x00\\x00\\x06\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x05\\x00\\x00@\\x00\"" dev_eui=a81758fffe061cb9 type=OTAA
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2041868Z" level=info msg="integration/logger: logging event" ctx_id=e6d5f6cb-5805-4790-8836-068c8b9d109d dev_eui=a81758fffe061cb9 type=error
chirpstack-docker-chirpstack-network-server-1      | time="2022-07-19T06:22:23.2054906Z" level=info msg="finished client unary call" ctx_id=df281e9a-4a3a-46f7-973a-3c3e1e067dd1 grpc.code=OK grpc.ctx_id=e6d5f6cb-5805-4790-8836-068c8b9d109d grpc.duration=3.702ms grpc.method=HandleError grpc.service=as.ApplicationServerService span.kind=client system=grpc
chirpstack-docker-chirpstack-network-server-1      | time="2022-07-19T06:22:23.2059099Z" level=error msg="uplink: processing uplink frame error" ctx_id=df281e9a-4a3a-46f7-973a-3c3e1e067dd1 error="join-request to join-server error: http post error: Post \"http://chirpstack-application-server:8001\": net/http: HTTP/1.x transport connection broken: malformed HTTP response \"\\x00\\x00\\x06\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x05\\x00\\x00@\\x00\""
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2042212Z" level=info msg="integration/mqtt: publishing event" ctx_id=e6d5f6cb-5805-4790-8836-068c8b9d109d dev_eui=a81758fffe061cb9 qos=0 retain=false topic=application/3/device/a81758fffe061cb9/event/error
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2051212Z" level=info msg="metrics saved" aggregation="[MINUTE HOUR DAY MONTH]" ctx_id=e6d5f6cb-5805-4790-8836-068c8b9d109d name="device:a81758fffe061cb9"
chirpstack-docker-chirpstack-application-server-1  | time="2022-07-19T06:22:23.2051743Z" level=info msg="finished unary call with code OK" ctx_id=e6d5f6cb-5805-4790-8836-068c8b9d109d grpc.code=OK grpc.method=HandleError grpc.service=as.ApplicationServerService grpc.start_time="2022-07-19T06:22:23Z" grpc.time_ms=3.096 peer.address="172.20.0.6:53594" span.kind=server system=grpc

I use the docker setup as mentioned in the docu and i don’t need to use tls since it’s a test setup.

Did you make any changes to the provided docker-compose repository?

I just changed the marshaler to json for debugging purposes.

And it may have troubleshoot something. Try restart your configuration files.

Thanks for your help.
Today I tried setting it up from scratch and removed all containers an volumes and the docker repo.

I cloned it fresh and started it. Now it works. Maybe there was something wrong with my docker volumes, because i already tried removing the containers and creating them new but that didn’t work.