Skip to content

AisStore archiver with incoming UDP instead of TCP #1

@iBugged

Description

@iBugged

Hi there,

We are using the archiver to save AIS data into a Cassandra cluster. To launch the archiver, we are using the following command:

java -jar ais-store-cli-0.4-SNAPSHOT.jar archive src=127.0.0.1:1337

The data is forwarded to our server on UDP port 1337. If we enter the code above, we are receiving the next error:

13:13:59.323 [Thread-2] INFO dk.dma.ais.reader.AisTcpReader - Connecting to source 127.0.0.1:1337
13:13:59.323 [Thread-2] ERROR dk.dma.ais.reader.AisTcpReader - Could not connect to: 127.0.0.1:1337: Connection refused (Connection refused)

The error suggests that the archiver is using a TCP-connection, but we receive our data on UDP (port 1337). Is there any possibility to receive data on UDP instead of TCP?

Kind regards,

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