• Resolved timosoru

    (@timosoru)


    Halo mas Sofyan,

    Saya dapat hasil ini di log:

    2020-06-26T04:32:48+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T04:33:23+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T04:33:23+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T05:02:38+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T05:03:03+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T05:03:20+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T05:03:20+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T08:12:20+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T08:12:39+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T08:12:51+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:42:23+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:42:36+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:42:40+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:42:55+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:43:01+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:43:15+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:43:16+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:43:52+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:44:07+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:44:07+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:44:13+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:45:46+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:45:56+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:46:56+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:47:26+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:47:39+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:47:41+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:47:46+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:47:53+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:47:54+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:48:04+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:48:07+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:48:12+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:48:14+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:48:16+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:48:24+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:49:04+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:10+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:28+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:49:32+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:49:39+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:41+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:48+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:49+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:49:52+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:58+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:49:59+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:50:02+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:50:07+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T09:50:27+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T09:50:50+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T11:36:14+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T11:36:28+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T11:50:23+00:00 ERROR cURL error 7: Failed to connect to pro.rajaongkir.com port 80: Connection refused
    2020-06-26T11:50:26+00:00 ERROR cURL error 7: Failed to connect to pro.rajaongkir.com port 80: Connection refused
    2020-06-26T11:51:29+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T11:51:40+00:00 ERROR cURL error 28: Connection timed out after 10001 milliseconds
    2020-06-26T11:51:58+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T11:52:16+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T11:52:26+00:00 ERROR cURL error 28: Connection timed out after 10000 milliseconds
    2020-06-26T11:52:54+00:00 ERROR cURL error 7: Failed to connect to pro.rajaongkir.com port 80: Connection refused
    2020-06-26T11:52:54+00:00 ERROR cURL error 7: Failed to connect to pro.rajaongkir.com port 80: Connection refused

    Akhirnya tidak tampil di pengiriman. Saya sudah pakai API Pro.
    Ini kenapa ya? Dan solusinya bagaimana?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sofyan Sitorus

    (@sofyansitorus)

    Ini terjadi karena komunikasi antara web server anda dan API server RajaOngkir terkendala atau time out. Bisa jadi server anda mem-block IP address (firewalll), bisa juga dikarenakan infrastuktur jaringan web server anda tidak reliable.

    Saran saya silakan hungungi hosting provider anda untuk menyakan apakah ada block IP API server RajaOngkir. Jika tidak, sebaiknya ganti hosting provider yang lebih reliable.

    Thread Starter timosoru

    (@timosoru)

    Halo mas, sudah bisa. Masalahnya di IP Perujuk. Sudah saya masukkan dan tidak ada lagi masalah untuk saat ini.

    Ada pertanyaan tambahan mas. Untuk kompres file JSON data subdistrict, city, state, dan country, ternyata ga bisa dengan gzip compression. Sudah enable tapi file JSON di atas tidak berhasil terkompresi.

    Saya coba hubungi pihak RajaOngkir, saya diminta untuk menyimpan di database supaya tidak request lagi ke API RajaOngkir. Setelah saya perhatikan sepertinya sudah ada di database oleh plugin Woongkir.

    Ada solusikah untuk ini? Krn gzip compression berhasil kompres file selain JSON tapi untuk file JSON tidak berlaku.

    Saya sudah kontak provider hosting dan belum ada support yang berarti. Makasih mas.

    Plugin Author Sofyan Sitorus

    (@sofyansitorus)

    Halo,

    Perihal gzip compression, berikut poin2 yang bisa saya sampaikan:

    1. File JSON data Woongkir hanya di load sekali saja saat tidak ada data tersimpan di browser local storage, setelah itu akan menggunakan data yang tersimpan di local storage. Dan data di fetch secara asynchronus, sehingga tidak menggangu loading dari page content. Bahkan user tidak akan menyadari bahwa ada proses fetch data.

    2. Ratusan ribu row data kalo di simpan ke database saya kira bisa berdampak pada perfromnace web server anda. Ini yang menjadi pertimbangan saya sehingga memutuskan mengunakan static json sebagai sumber data.

    2. JSON file BISA di kompres: https://tecadmin.net/enable-json-gzip-compression-apache/

    3. Perihal GZIP compression ini implementasi nya di tingkat web sever, bukan ditingkat web aplikasi. Jadi tolong jangan repotkan saya dengan hal-hal yang tidak relevan dengan plugin ini.

    Terimakasih,

    Sogfyan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Connection Time Out’ is closed to new replies.