# The server cannot receive gateway data

**URL:** <https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612>\
**Category:** BLE Gateway\
**Created:** [May 27, 2020, 6:56am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612 "2020-05-27T06:56:17Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 27, 2020, 6:56am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/1 "2020-05-27T06:56:17Z")

</div>

I tried in 2 ways. The first is http client type, the second is Mqtt client type  
(I use AB BLE Gateway V4 + April Beacon N02 and os = windows)

1. HTTP client type  
1-1 Config AB Gateway  
=\> Application Type = HTTP Client  
=\> HOST = 192.168.0.7 (my local pc ip)  
=\> port = 1883  
=\> URI = /hellow

1-2 make server & test  
I created an http server, created it with 192.168.0.7:1883/hellow, and connects from the web. But no data comes.

1. Mqtt Client (using BLE Viewer)  
2-1 Config AB Gateway  
=\> Application Type = MQTT Client  
=\> HOST = 192.168.0.7 (my local pc ip)  
=\> port = 1883  
=\> public topic = MQTT Topic

2-2 The viewer started with the same settings, but no data comes.

http communication may be a problem with our server,  
but it seems that something is wrong with no data even in BLE viwer.  
I tried to follow How To Test ([https://wiki.aprbrother.com/en/Quick\_Start\_For\_AB\_BLE\_Gateway\_V4.html](https://wiki.aprbrother.com/en/Quick_Start_For_AB_BLE_Gateway_V4.html))  
Please guide me.

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 27, 2020, 7:12am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/2 "2020-05-27T07:12:37Z")

</div>

Please try the steps [How to test](https://wiki.aprbrother.com/en/Quick_Start_For_AB_BLE_Gateway_V4.html#how-to-test) first. Use our test MQTT server `mqtt.bconimg.com` for testing

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 27, 2020, 8:49am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/3 "2020-05-27T08:49:33Z")

</div>

> [@aprilpea](#):
>
> our test MQTT server `mqtt.bconimg.com` for testing

Of course, I tested the same as the example.  
BLE Viewer & Config Tool For AB Gateway  
HOST : [mqtt.bconimg.com](http://mqtt.bconimg.com)  
PORT : 1883  
save and viewer test start  
but no data (empty screen)

plz. Ask me for a guide.

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 28, 2020, 12:26am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/4 "2020-05-28T00:26:48Z")

</div>

Can you tell the viewer why the data is invisible ??

config tool setting

 ![config](https://bbs.aprbrother.com/uploads/default/original/1X/350d87f0f614c1018568612a211e35368ada01f7.png)

Viewer setting

 ![viewer](https://bbs.aprbrother.com/uploads/default/original/1X/316690525786a9c023b823c92b07fc0d4d8ab239.png)

viewer result

 ![viewer2](https://bbs.aprbrother.com/uploads/default/original/1X/f2d5929c5407f1e4359c044fc69c9d53a62e72df.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 2:14am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/5 "2020-05-28T02:14:59Z")

</div>

You should type a topic in for “Publish Topic”. e.g. `gw/msp360`

The topic field is empty in your screenshot. “MQTT Topic” is just a placeholder

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 28, 2020, 3:48am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/6 "2020-05-28T03:48:43Z")

</div>

I have already tested it by putting a topic.  
No response to viewer.  
The beacon information is visible in the mobile phone application.  
Is there a problem with gateway ??

config

 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/98bd73a2d16eedd620e511eb74c76443b9edd9d7.png)

viewer setting

 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/179d8ed24e7c76e337a0bb3e1d48e00dadf3f2b6.png)

viewer result

 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/e69ed4ab7172a63267c286543dc6593488ce4b07.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 4:03am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/7 "2020-05-28T04:03:58Z")

</div>

I have some questions

- Do you use the power cable we shipped?
- What’s about the power adapter? Is it 5V/2A?
- Firmware version?
- WiFi or wire connection?
- Please take a screenshot about config tool for pages Dashboard and Network
- Please access the webpage `http://THE-IP-OF-GATEWAY/` with your browser, send the content to me

BTW, are there any BLE devices nearby the gateway?

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 5:55am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/8 "2020-05-28T05:55:33Z")

</div>

Two more questions

- Is internet connection ok for your network?
- Do you use static IP and Ethernet connection combo?

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 28, 2020, 8:18am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/9 "2020-05-28T08:18:12Z")

</div>

- Do you use the power cable we shipped?

- What’s about the power adapter? Is it 5V/2A?  
BTW, are there any BLE devices nearby the gateway?  
=\> Yes I user 5V/2A and use your power cable  

- Firmware version?  
=\> 1.2.5.15

- WiFi or wire connection?  
=\> wire connection

- Please take a screenshot about config tool for pages Dashboard and Network  

- Please access the webpage `http://THE-IP-OF-GATEWAY/` with your browser, send the content to me  

- Is internet connection ok for your network?  
internet is ok and The Gateway and ping test also succeed.

- Do you use static IP and Ethernet connection combo?  
=\> Yes I user Static Ip and Ethernet connection combo  
=\> I use 1 OA static ip network and 1 static ip in Internal network (gateway is internal network)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [May 28, 2020, 8:22am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/10 "2020-05-28T08:22:39Z")

</div>

There’s a known bug for `v1.2.5.15`. The DNS can’t work if DHCP is disabled.

Please update firmware first. How to do:

- Enable DHCP first. Let the gateway get DHCP ip and public internet connection
- Open config tool and connect to the gateway
- Click Advanced -\> Update.

Wait minutes for update.

Let me know if this works for you

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [May 29, 2020, 4:34am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/11 "2020-05-29T04:34:33Z")

</div>

I try to upgrade but firmware version don’t change

plz check my work

1. DHCP disable  

2. F/W upgrade  

3. check version  
Dashboard check =\> v1.2.5.15  
Even after gateway reset, the version is still the same.

4. 

In addition, data is not visible to the viewer even when tested with DHCP disable.

Help me how to do it

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [June 1, 2020, 3:02am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/12 "2020-06-01T03:02:44Z")

</div>

Is internet connection available for your network? Please try update with WiFi connection with these steps

1. Change your phone as a WiFi AP.
2. Change WiFi settings for gateway to match your phone’s AP
3. Disconnect the ethernet cable and restart gateway
4. Let your laptop connect the phone’s AP also
5. Try the update steps again

Let me know if this works

---

<div class="post-metadata">

**Author:** ![msp360](https://bbs.aprbrother.com/letter_avatar_proxy/v4/letter/m/ad7895/32.png) [@msp360](https://bbs.aprbrother.com/u/msp360)\
**Post date:** [June 2, 2020, 2:09am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/13 "2020-06-02T02:09:00Z")

</div>

I upgrade with WiFi connection.

now, F/W is 1.2.5.17

And then,

I tried dhcp and static ip, but neither data comes out viewer.

I want to do it with ethernet. (with static ip)

 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/1c3801f5bc4c62a029fbdfb98e0b2a713098a598.png)  
 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/6dd86b5ab7d471f35beb3ff2c9fc76ac3b1a1b5e.png)  
 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/e96f9232c06ddddb05040bf969881ab77930cbd1.png)  
 ![image](https://bbs.aprbrother.com/uploads/default/original/1X/c719c7451044494152727543e4bc2fd89e976e5b.png)

---

<div class="post-metadata">

**Author:** ![aprilpea](https://bbs.aprbrother.com/user_avatar/bbs.aprbrother.com/aprilpea/32/9_2.png) [@aprilpea](https://bbs.aprbrother.com/u/aprilpea)\
**Post date:** [June 3, 2020, 1:47am UTC](https://bbs.aprbrother.com/t/the-server-cannot-receive-gateway-data/1612/14 "2020-06-03T01:47:16Z")

</div>

Please try to upgrade again. You can final update to v1.2.5.22
