# Angular - Contentful Network Error

**URL:** <https://forum.ionicframework.com/t/angular-contentful-network-error/147867>\
**Category:** Ionic Framework\
**Created:** [November 18, 2018, 9:48am UTC](https://forum.ionicframework.com/t/angular-contentful-network-error/147867 "2018-11-18T09:48:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![armstrongjames](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@armstrongjames](https://forum.ionicframework.com/u/armstrongjames)\
**Post date:** [November 18, 2018, 9:48am UTC](https://forum.ionicframework.com/t/angular-contentful-network-error/147867/1 "2018-11-18T09:48:28Z")

</div>

Hi all

I have been developing my first Ionic app using angular and a content service called [Contentful](https://www.contentful.com/) . I can get the connection to the API working on my browser based app , but as soon as I launch an IOS simulator or an xcode project I get the following response…

Connection error occurred. Waiting for 2537 ms before retrying… (About 4/5 times)

[{“type”:“eventTask”,“state”:“scheduled”,“source”:“XMLHttpRequest.addEventListener:readystatechange”,“zone”:“angular”,“runCount”:2}],"\_\_zone\_symbol\_\_errorfalse":[{“type”:“eventTask”,“state”:“scheduled”,“source”:“XMLHttpRequest.addEventListener:error”,“zone”:“angular”,“runCount”:2}],"\_\_zone\_symbol\_\_timeoutfalse":[{“type”:“eventTask”,“state”:“scheduled”,“source”:“XMLHttpRequest.addEventListener:timeout”,“zone”:“angular”,“runCount”:0}],"\_\_zone\_symbol\_\_xhrTask":{“type”:“macroTask”,“state”:“notScheduled”,“source”:“XMLHttpRequest.send”,“zone”:“angular”,“cancelFn”:null,“runCount”:0}},"\_\_zone\_symbol\_\_currentTask":{“type”:“microTask”,“state”:“notScheduled”,“source”:“Promise.then”,“zone”:“angular”,“cancelFn”:null,“runCount”:0},“line”:71105,“column”:24,“sourceURL”:“[http://localhost:8080/build/vendor.js","attempts](http://localhost:8080/build/vendor.js%22,%22attempts)”:7}

Not really any indication of errors , I have put the following in:

index.html  
`<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'" />`

config.xml

```auto
<allow-navigation href="*"/>

<allow-intent href="*" />

<access origin="*" />

```

To make sure I have no access issues with the whitelist plugin, but it doesnt seem to be working at alll…

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:09pm UTC](https://forum.ionicframework.com/t/angular-contentful-network-error/147867/2 "2021-07-19T21:09:28Z")

</div>

Closed on July 19, 2021, 9:09pm UTC


