Controllerless Networks

last person joined: yesterday 

Instant Mode - the controllerless Wi-Fi solution that's easy to set up, is loaded with security and smarts, and won't break your budget

IAP 207 SSL_connect failed with error -313: revcd alert

This thread has been viewed 1 times
  • 1.  IAP 207 SSL_connect failed with error -313: revcd alert

    Posted Sep 18, 2018 01:46 PM

    Hi everyone!

     

    I have a problem with an IAP-207 running AOS 6.5.4.8 apparently I have everything well configured, beacons and tags are deployed, but for some reason I can not realize the web socket connection and when I execute the debug commands I only see a error related with SSL certificate, I have already the cert loaded to my IAP , does anyone know what this refers to or what I have to do?

     

    Certificate loaded to my IAP:

     

    https://www.geotrust.com/resources/root_certificates/certificates/GeoTrust_Global_CA.pem

    Output of debug commands:

     

    Cafeteria# show ble-config

    BLE Configuration
    -----------------
    Item Value
    ---- -----
    Authorization Token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJsIjo0NTMyOTUyMjYzODE5MjY0LCJ0IjoxNTM3MTkwMDY5fQ.GsheTCnCyWat8wUJtC92YFqB_hiSuS50H1ntl1vV2-s
    Endpoint URL https://edit.meridianapps.com/api/beacons/manage
    Update Intvl (in sec) 600
    Operational Mode beaconing
    Mgmt Server wss://tags.meridianapps.com/streams/v1beta1/ingestion/tags/websocket
    Mgmt Handshake Server https://tags.meridianapps.com/api/v1beta1/streams/ingestion.start
    Mgmt Handshake Token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
    Mgmt Location Id 4532952263819264


    Cafeteria# show ap debug ble-relay tag-report

    Incoming Tag messages : 23397
    Tag messages processed : 0
    Tag messages dropped : 23397
    Tag messages WS queue success : 0
    Tag messages WS queue unavailable : 0
    Tag messages WS not connected : 23397
    Tag messages WS sent : 0
    Heartbeat messages WS sent : 0


    Cafeteria# show ap debug ble-relay report

    Sent report to BLE server (220s) ago: success 0, failed 1667, last curl result code 1

    Timeout(-1):20 Jobs added: 1667

    Request to Meridian(JSON):
    {"meta": {"AP": {"mac": "24F27FCF9A60", "apb_mac": "24F27FCF9A61", "hw_type": "AP-207", "software_version": "6.5.4.8-6.5.4.8", "software_build": "65873", "ipv4-addr": "192.168.0.4"}, "timestamp": 1537291257}, "beacons": [{"mac": "B0912246BC57", "uuid": "5434B0FD-84B7-49C1-A4EE-C49441A9FBA2", "major": 1000, "minor": 1034, "battery_level": 95, "rssi": -94, "txpower": 14, "timestamp": 1537291243, "hw_type": "LS-BT20", "cal_pwr": 0, "dwas_enable": false, "local_apb": false, "firmware": {"A": {"version": "1.2-9"}}}, {"mac": "546C0E082F21", "hw_type": "AT-BT10", "battery_level": 70, "rssi": -92, "timestamp": 1537291173, "local_apb": false, "firmware": {"E": {"version": "1.2-15"}}}, {"mac": "24F27FCF99A9", "uuid": "4152554E-F99B-4A3B-86D0-947070693A78", "major": 0, "minor": 0, "battery_level": 155, "rssi": -76, "txpower": 14, "timestamp": 1537291250, "hw_type": "BT-AP207", "cal_pwr": 0, "dwas_enable": false, "local_apb": false, "firmware": {"A": {"version": "0.0-0"}}}, {"mac": "B0912246BAD0", "uuid": "5434B0FD-84B7-49C1-A4EE-C49441A9FBA2", "major": 1000, "minor": 1032, "battery_level": 100, "rssi": -91, "txpower": 14, "timestamp": 1537291251, "hw_type": "LS-BT20", "cal_pwr": 0, "dwas_enable": false, "local_apb": false, "firmware": {"A": {"version": "1.2-9"}}}, {"mac": "B0912246BD34", "uuid": "5434B0FD-84B7-49C1-A4EE-C49441A9FBA2", "major": 1000, "minor": 1033, "battery_level": 100, "rssi": -90, "txpower": 14, "timestamp": 1537291226, "hw_type": "LS-BT20", "cal_pwr": 0, "dwas_enable": false, "local_apb": false, "firmware": {"A": {"version": "1.2-9"}}}, {"mac": "98072DF381EC", "uuid": "5434B0FD-84B7-49C1-A4EE-C49441A9FBA2", "major": 1000, "minor": 1031, "battery_level": 100, "rssi": -86, "txpower": 14, "timestamp": 1537291243, "hw_type": "LS-BT20", "cal_pwr": 0, "dwas_enable": false, "local_apb": false, "firmware": {"A": {"version": "1.2-9"}}}, {"mac": "24F27FCF9A89", "uuid": "4152554E-F99B-4A3B-86D0-947070693A78", "major": 0, "minor": 0, "battery_level": 155, "rssi": -53, "txpower": 14, "timestamp": 1537291250, "hw_type

    Curl logs:
    * About to connect() to edit.meridianapps.com port 443 (#0)
    * Trying 216.58.222.211...
    * Connected to edit.meridianapps.com (216.58.222.211) port 443 (#0)
    * Connected to edit.meridianapps.com (216.58.222.211) port 443 (#0)
    * successfully set certificate verify locations:
    * CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
    * CyaSSL: Connecting to edit.meridianapps.com:443
    * CyaSSL: Connecting to edit.meridianapps.com:443
    * SSL_connect failed with error -313: revcd alert fatal error
    * Closing connection #0

     

    Cafeteria# show ap debug ble-relay disp-attr

    WebSocket Connect Request : Yes
    WebSocket Connect Status : No Connection
    WebSocket Connection Established : No
    WebSocket LogLevel : 0
    Tag Logging : Off
    Handshake Address : https://tags.meridianapps.com/api/v1beta1/streams/ingestion.start
    Handshake Token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
    Location Id : 4532952263819264
    Websocket Address : wss://tags.meridianapps.com/streams/v1beta1/ingestion/tags/websocket
    WebSocket Host : tags.meridianapps.com
    WebSocket Path : streams/v1beta1/ingestion/tags/websocket
    Current WebSocket Started at : 2018-09-07 17:01:51
    WebSocket Terminated at : 2018-09-07 17:01:58
    Websocket Write Stats : 0 (0B)
    Websocket Write WM : 0B (0)
    Websocket Read Stats : 0 (0B)
    =============================
    Note: Websocket Loglevel List: Error (0x1), Warn (0x2), Notice (0x4), Info (0x8),
    Debug (0x10), Parser (0x20), Header (0x40), Ext (0x80), Client (0x100), Latency (0x200).