Forums

Connection error between iOS App and WP installation

  1. I've connected my self-hosted WP installation (v4.52) with the iOS app on my iPhone 6 (v9.3.1). But my posts and sites are not visible within the app. There's only a message: "You haven't published any post yet. Create a post." I've deleted the app and re-installed it. The same error again. There are still no posts. If I try to publish via iOS app there is a warning: "An error occured while publishing your post." I also got an error message that snycing with Jetpack wasn't possible.

    Maybe a problem with my hoster or my web-installation? Any solutions?

    Thx a lot!
    Andreas

  2. Hi Andreas,

    It does sound like a server-side glitch. There are a couple of things we can check.

    First, you might make sure there are no problems with your blog's XML-RPC service. This is how the app communicates with your blog. You can use our tool at http://xmlrpc.eritreo.it to ensure there aren't any obvious problems with XML-RPC on your blog.

    Next, try disabling any third-party plugins installed on your blog to see if one is causing a conflict. If you can use the app successfully when plugins are disabled, start reactivating them one by one until you find the one causing the problem.

    Finally, if you're still having trouble, you might contact your web host and ask if they are limiting XML-RPC requests to your blog. The app can make many requests over a short period of time and could potentially reach the limit if one has been imposed by hour web host.

    Hope this helps!

  3. SOLVED: After I used the XML-RPC tool, I got a error message "...API calls disabled". Don't know if it's connected to the actions of the XML-RPC check or something else. But: the connection between the app and my website was lost. So I re- connected both again, and... Yeah, it works. Now I can see and manage all my posts again. I also re-activated all my 3rd party plugins and everything is still fine.

    Thank you for your help! Nice work!

    Greetings Andreas

  4. That's great to hear, Andreas!

    Cheers :)

  5. I have the same problem, only on iOS. Android works fine... Thoughts?

  6. Hi @notmilk

    Have you tried the steps we recommended to Andreas above?

    If so, and the problem persists, please follow the steps outlined in this FAQ and share a copy of the app's activity log here. We'll take a look for any clues as to what is going on.

    Cheers!

  7. wp.getComments
    Code Description Workaround
    406 Not Acceptable Sorry, there isn't a FAQ for this issue. Please seach within the forum or post a new
    thread. If you aready solved this issue you can propose a fix by clicking on this link
    wp.getPageList
    metaWeblog.newMediaObject
    Code Description Workaround
    406 Not Acceptable Sorry, there isn't a FAQ for this issue. Please seach within the forum or post a new
    thread. If you aready solved this issue you can propose a fix by clicking on this link

  8. All plugins are disabled - works fine on my android phone

  9. Hi @notmilk

    The 406 Not Acceptable error is interesting. Here is the description of that error code from Wikipedia.

    requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.

    Basically, the web server is configured in such a way that it thinks the app is requesting a type of content that the web server can not return.

    This might be accidental on the part of your web host if its a consequence of some other server setting, or it might be intentional if you're web host has a policy of blocking or throttling XML-RPC requests.

    I would suggest contacting your host's support staff for further assistance. See if they can examine the error logs on the server to see exactly what content type the app is requesting and what settings on the server might be creating the conflict.

    Hope this helps!

  10. Thanks for the input - what baffles me is that the Android app works fine.

  11. > Thanks for the input - what baffles me is that the Android app works fine.

    If it turns out the issue is due to the HTTP Accept header, its possible that the Android app is sending something different from the iOS app.

    For what its worth the iOS app sends the following accept headers when making a request:

    Accept */*
    Accept-Encoding gzip, deflate
    Accept-Language en-us

    The value for Accept-Language *should* match whatever you have selected for your device's system language.

    I'm having a bit of trouble getting the headers sent by the Android app just now. If I can get them I'll edit this comment and add them.

    Edit:
    I got some help from one of our excellent Android devs. (Cheers Mario!) It looks like our Android app is not specifying any accept headers when making XML-RPC requests.

  12. Ok. So it is all server side I think. Is there a "set up guide" for host admins? I need to give mine the full scoop instead of one error at a time.

Topic Closed

This topic has been closed to new replies.


About this Topic