This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CLOUD_EVT_ERROR in nrf_cloud_agps

<environment>
- Windows10
- nrf v1.3.0
- modem v1.2.0
- DK 0.9.0

I get "CLOUD_EVT_ERROR" when using nrf_cloud_agps. There is an error saying "Connection was closed, possibly by cloud".

I read this page https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/nrf_cloud_agps/README.html

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
*** Booting Zephyr OS build v2.3.0-rc1-ncs1 ***
D: MAGPIO set: AT%XMAGPIO=1,0,0,1,1,1574,1577
D: COEX0 set: AT%XCOEX0=1,1,1570,1580
I: nRF Cloud and A-GPS sample has started
I: Connecting to LTE network. This may take minutes.
I: PSM mode requested
+CEREG: 2,"182A","0179D005",7,0,0,"11100000","11100000"
+CSCON: 1
+CEREG: 5,"182A","0179D005",7,,,"00100011","00011111"
I: Connected to LTE network
D: GPS socket created, fd: 1232491587
+CEDRXP: 4,"1001","1001","1011"
I: CLOUD_EVT_ERROR
E: Socket error: POLLHUP
E: Connection was closed, possibly by cloud
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I turned off PSM by CONFIG_LTE_POWER_SAVING_MODE=n

but same.

Do I have to set up on nRF Cloud to use this program?

Thank you in adavce!