Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

v0.17.14 can not run on Linux #32

@songjiayang

Description

@songjiayang

With default command options:

deploy@example:~/gortcd$ ./gortcd-pie 
{"level":"info","ts":1555665627.3852997,"msg":"config file used","path":"/home/deploy/gortcd/gortcd.yml"}
{"level":"info","ts":1555665627.3855886,"msg":"parsed credentials","n":0}
{"level":"info","ts":1555665627.3856893,"msg":"realm","k":"gortc.io"}
{"level":"info","ts":1555665627.385987,"logger":"filter.peer","msg":"default action set","action":"allow"}
{"level":"info","ts":1555665627.3861253,"logger":"filter.client","msg":"default action set","action":"allow"}
{"level":"info","ts":1555665627.386219,"msg":"will be sending SOFTWARE attribute","software":"gortcd"}
{"level":"info","ts":1555665627.386445,"msg":"got addr","addr":"0.0.0.0:3478"}
{"level":"warn","ts":1555665627.38652,"msg":"running on all interfaces"}
{"level":"warn","ts":1555665627.3866117,"msg":"picking addr from ICE"}
{"level":"warn","ts":1555665627.3869166,"msg":"got","a":"127.0.0.1 [45]"}
{"level":"warn","ts":1555665627.387017,"msg":"got","a":"10.162.58.13 [35]"}
{"level":"warn","ts":1555665627.3870754,"msg":"using","a":"10.162.58.13 [35]"}
{"level":"warn","ts":1555665627.3871744,"msg":"got","a":"218.244.128.99 [35]"}
{"level":"warn","ts":1555665627.387245,"msg":"using","a":"218.244.128.99 [35]"}
{"level":"info","ts":1555665627.3873508,"msg":"gortc/gortcd listening","addr":"218.244.128.99:3478","network":"udp"}
{"level":"fatal","ts":1555665627.387498,"msg":"failed to listen","error":"listen udp 218.244.128.99:3478: protocol not available"}

With different listened port:

deploy@binatify:~/gortcd$ ./gortcd-pie -l="0.0.0.0:3479"
{"level":"info","ts":1555665654.0974624,"msg":"config file used","path":"/home/deploy/gortcd/gortcd.yml"}
{"level":"info","ts":1555665654.0977643,"msg":"parsed credentials","n":0}
{"level":"info","ts":1555665654.0978677,"msg":"realm","k":"gortc.io"}
{"level":"info","ts":1555665654.0981438,"logger":"filter.peer","msg":"default action set","action":"allow"}
{"level":"info","ts":1555665654.0982912,"logger":"filter.client","msg":"default action set","action":"allow"}
{"level":"info","ts":1555665654.0983856,"msg":"will be sending SOFTWARE attribute","software":"gortcd"}
{"level":"info","ts":1555665654.0985594,"msg":"got addr","addr":"[0.0.0.0:3479]"}
{"level":"info","ts":1555665654.098647,"msg":"gortc/gortcd listening","addr":"[0.0.0.0:3479]","network":"udp"}
{"level":"fatal","ts":1555665654.0987477,"msg":"failed to listen","error":"listen udp: address [0.0.0.0:3479]: missing port in address"}

Is it a bug? it can work well on Mac OS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions