"message": "read tcp server_ip:8080->jump_ip:52182: i/o timeout", "extensions": {"code": "ErrorInvalidRequest"

Hi @Swapnil

I was able to load data via curl but I had to validate your json as the one attached here is not a valid JSON.

Also the way you were specifying the uids for customer driver and vehicle is incorrect (as you were just passing a :) - you should either specify a blank uid (_:text) or give it a proper unique uid of your choice (0x123).

In my case the curl request look like:

curl -H 'Content-Type: application/json' "http://localhost:8080/mutate?commitNow=true" --data-binary @data.json

and the response is successful:

{
  "data": {
    "code": "Success",
    "message": "Done",
    "queries": null,
    "uids": {
      "customer": "0xb",
      "dg.2338800972.17": "0x8",
      "driver": "0xa",
      "vehicle": "0x9"
    }
  },
  "extensions": {
    "server_latency": {
      "parsing_ns": 206367,
      "processing_ns": 18924744,
      "assign_timestamp_ns": 1520144,
      "total_ns": 21081282
    },
    "txn": {
      "start_ts": 60,
      "commit_ts": 61,
      "preds": [
        "1-actual_drop_lat",
        "1-actual_drop_lng",
        "1-actual_kms",
        "1-actual_pickup_lat",
        "1-actual_pickup_lng",
        "1-booking_received_at",
        "1-cancellationreason",
        "1-car_number",
        "1-cash_to_driver",
        "1-client_located_at",
        "1-crn",
        "1-customer",
        "1-customer_email_id",
        "1-customer_mobile_number",
        "1-discount_amount",
        "1-driver",
        "1-driver_imei",
        "1-dt",
        "1-entered_drop_lat",
        "1-entered_drop_lng",
        "1-final_customer_bill_incl_service_tax",
        "1-gross_operator_bill",
        "1-original_car_category",
        "1-pickup_date",
        "1-ride_time",
        "1-service_city",
        "1-start_at",
        "1-status",
        "1-stop_at",
        "1-trip_time",
        "1-upfront_distance",
        "1-upfront_fare",
        "1-upfront_time",
        "1-user_id",
        "1-user_imei",
        "1-user_lat",
        "1-user_lng",
        "1-vehicle"
      ]
    }
  }
}

Will attach here the modified json file for your conveniencedata.json (1.3 KB)

If you are still getting the same error, please try from ratel or try with live loader.

Best,
Omar