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

[BUG]: Local routing endpoint creation failed. Client ID: 0000: Protocol not available #843

Open
AhMmedMahmoud opened this issue Feb 4, 2025 · 0 comments
Labels

Comments

@AhMmedMahmoud
Copy link

AhMmedMahmoud commented Feb 4, 2025

vSomeip Version

v3.5.4

Boost Version

1.81

Environment

QNX

Describe the bug

i am using this configuration file and i run a sample server application on qnx

vsomeip.json

{
    "unicast" : "127.0.0.1",
    "logging" :
    {
        "level" : "debug",
        "console" : "true",
        "file" : { "enable" : "false", "path" : "/var/log/vsomeip.log" },
        "dlt" : "false"
    },
    "applications" :
    [
        {
            "name" : "client-sample",
            "id" : "0x1343"
        },
        {
            "name" : "other-client-sample",
            "id" : "0x1344"
        },
        {
            "name" : "service-sample",
            "id" : "0x1277"
        }
    ],
    "services" :
    [
        {
            "service" : "0x1234",
            "instance" : "0x5678",
            "reliable" : { "port" : "30509", "enable-magic-cookies" : "false" },
            "unreliable" : "31000"
        },
        {
            "service" : "0x1235",
            "instance" : "0x5678",
            "reliable" : { "port" : "30506", "enable-magic-cookies" : false },
            "unreliable" : "31000"
        }
    ],
    "routing" : "server-sample",
    "service-discovery" :
    {
        "enable" : "false",
        "multicast" : "224.244.224.245",
        "port" : "30490",
        "protocol" : "udp",
        "initial_delay_min" : "10",
        "initial_delay_max" : "100",
        "repetitions_base_delay" : "200",
        "repetitions_max" : "3",
        "ttl" : "3",
        "cyclic_offer_delay" : "2000",
        "request_response_delay" : "1500"
    }
}

Reproduction Steps

echo -e "[default]\nbinding=someip\n\n[logging]\nconsole = true\nfile = ./mylog.log\ndlt = true\nlevel = verbose" > /tmp/commonapi.ini

export VSOMEIP_CONFIGURATION=/mnt/usr/etc/vsomeip.json

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/mnt/tmp

COMMONAPI_CONFIG=/tmp/commonapi.ini /mnt/bin/BroadcastService

Expected behaviour

No response

Logs and Screenshots

Image

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

1 participant