Skip to content

Can not connect on iOS #20

@peetonn

Description

@peetonn

Not sure what is happening exactly, but connection is not established -- I see no incoming connections on ROS side and on iOS side I see this log output:

[2021.12.06-23.27.43:612][  0]LogIOS:  FSocketSubsystemIOS::InternalBSDSocketFactory
[2021.12.06-23.27.43:612][  0]LogSockets: Warning: Tried to connect with an address with protocol IPv4 using a socket with protocol IPv6
[2021.12.06-23.27.43:612][  0]LogROSBridge: Error: Could not connect to: 192.168.0.17:9090
[2021.12.06-23.27.43:612][  0]LogROSBridge: Warning: You first have to initialize your ROSTopic before you Subscribe to it.

Trying TCP connection (WebSocket connection crashes right away when app starts).
I thought that it might be expecting IPv6 address and modified UTCPConnection::Initialize call by specifying protocol type:

TSharedRef<FInternetAddr> InternetAddress = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr(FNetworkProtocolTypes::IPv4);

However, it didn't help. Any ideas on why connection can not be established or how can I get more info on what the problem is?

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