Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Error on update #179

Closed
kartsims opened this issue Jun 29, 2016 · 4 comments
Closed

Error on update #179

kartsims opened this issue Jun 29, 2016 · 4 comments

Comments

@kartsims
Copy link

kartsims commented Jun 29, 2016

Hi and thanks for the amazing plugin !

I am having an issue with the updates that I didn't have before... This is from my Xcode debug output.

2016-06-29 09:50:45.226 Vincent[988:217063] THREAD WARNING: ['Device'] took '24.115234' ms. Plugin should use a background thread.
error in __connection_block_invoke_2: Connection interrupted
2016-06-29 09:50:46.674 Vincent[988:217168] Error during update: The operation couldn’t be completed. (HCPPluginError error -1.)

After looking it up in the error codes page I read that -1refers to failed to download new application config from the server. Either file doesn't exist or some internet connection problems.

File does exist and internet connection is up and wifi. Any clue on where this error could come from ? Sounds like a bug to me but I am not sure.

Content of chcp.json

{
  "name": "Vincent",
  "ios_identifier": "",
  "android_identifier": "",
  "update": "resume",
  "content_url": "http://app.vincent.wine",
  "release": "2016.06.29-09.48.01"
}

I also get the error when trying to update later on (using the JS API chcp.fetchUpdate)

@pablomaurer
Copy link
Contributor

pablomaurer commented Jun 29, 2016

Most likely you have set up some wrong pathes. Cause there are a lot of configuration files and it's a bit confusing. For an overview of the config files look at #161. A few days ago somebody also had the same problem #174, reading it maybe helps you.

@kartsims
Copy link
Author

It was the same issue as #174 indeed, the ´.chcpenv´ file was confusing CHCP endpoint. Thanks @mnewmedia !

Will follow up on #161, there definetely is a configuration issue

@nikDemyankov
Copy link
Member

Thanks @mnewmedia :)

@pablomaurer
Copy link
Contributor

@nikDemyankov just trying to give at least a bit back, whenever my time allows it :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants