Forums

WP iOS app won't upload featured image on certain WiFi networks

  1. Hi,

    we work with a school and their teachers have iPads. They regularly blog, but when they try to upload a featured image on the schools wifi network it fails (i don't know the exact error)

    However, if they take the iPad home and use it on their personal wifi network it works fine.

    Is there anything within the iOS app that might be getting stopped through say the schools' firewall??

    Open to any ideas!!!!

    thanks

  2. Hi inspirar,

    Its tough to say, but it I suppose it is possible something in the schools network could cause a conflict. Here are a couple of things you might try to determine what's happening.

    You might follow these steps to see if you can identify the actual error that's occurring:
    - Go to the Me tab, choose Help & Support, and enabled the Extra Debug option.
    - Try uploading an image again to reproduce the error.
    - Go to the Me tab, choose Help & Support, choose Activity Logs and inspect the current log for any errors detected.

    I'd be happy to look at the logs as well if you'd like to paste a copy of one here.

    Also, you might contact the school's IT department. They might be able to examine network logs for a clue to why the images fail to upload. They may also have policies that limit the size of media uploads over their network.

    Best!

  3. Hi Eric,

    thanks for the reply.

    Helpfully the school is on half term now!

    We have set the media upload to be quite high (100mb+) as we have written a plugin that uploads videos too s I don't think thats the issue.

    I have contacted their IT department (a 3rd party) but yet to have a reply.

    If I can somehow get the logs I will post here

    thanks again

  4. Hi I have the logs, is it best to PM them?

  5. here there are:

    they created a new post and tried to upload a featured image

    regards

    2016/02/22 11:08:06:814 WPAnalytics session started
    2016/02/22 11:08:06:877 ===========================================================================
    2016/02/22 11:08:06:878 Launching WordPress for iOS 5.9.1 (5.9.1)...
    2016/02/22 11:08:06:878 Crash count: 0
    2016/02/22 11:08:06:879 Debug mode: Production
    2016/02/22 11:08:06:879 Extra debug: NO
    2016/02/22 11:08:06:879 Device model: iPad Air (WiFi) (iPad4,1)
    2016/02/22 11:08:06:879 OS: iPhone OS 9.2
    2016/02/22 11:08:06:879 Language: en-GB
    2016/02/22 11:08:06:879 UDID: CD9F6A24-E2A9-4065-9FB2-5E710D8E4207
    2016/02/22 11:08:06:880 APN token: (null)
    2016/02/22 11:08:06:880 Launch options: (null)
    2016/02/22 11:08:06:880 All blogs on device:
    2016/02/22 11:08:06:897 <Blog Name: Park Grove Primary School URL: http://parkgroveprimary.co.uk XML-RPC: http://parkgroveprimary.co.uk/xmlrpc.php jetpack: 🚀❔Jetpack not installed>
    2016/02/22 11:08:06:897 ===========================================================================
    2016/02/22 11:08:07:680 MediaService cleanUnusedMediaFileFromTmpDir
    2016/02/22 11:08:08:661 <WordPressAppDelegate: 0x145e4b500> applicationDidBecomeActive:
    2016/02/22 11:08:08:863 0 media items to check for cleanup
    2016/02/22 11:08:08:865 Was unable to retrieve data about throttling
    2016/02/22 11:08:08:883 Error received while checking feedback enabled status: Error Domain=NSURLErrorDomain Code=-1012 "(null)" UserInfo={NSErrorFailingURLKey=https://api.wordpress.org/iphoneapp/feedback-check/1.0/, NSErrorFailingURLStringKey=https://api.wordpress.org/iphoneapp/feedback-check/1.0/}
    2016/02/22 11:08:08:929 Failed checking muti-author status for blog http://parkgroveprimary.co.uk: Error Domain=WPXMLRPCFaultError Code=401 "You are not allowed to browse users." UserInfo={NSLocalizedDescription=You are not allowed to browse users.}
    2016/02/22 11:08:10:562 Failed checking muti-author status for blog http://parkgroveprimary.co.uk: Error Domain=WPXMLRPCFaultError Code=401 "You are not allowed to browse users." UserInfo={NSLocalizedDescription=You are not allowed to browse users.}
    2016/02/22 11:08:17:273 Helpshift Disabled
    2016/02/22 11:08:23:777 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x1471c8430>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x145fa24e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1471c5250) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x14727a7e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x1471c8430>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x145fa24e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1471c5250) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:08:26:460 WPWebViewController Should Start Loading [http://parkgroveprimary.co.uk/]
    2016/02/22 11:08:26:461 WPWebViewController Started Loading []
    2016/02/22 11:08:38:949 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x145eecbd0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x14734f180 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1471c5250) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x145f92fd0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x145eecbd0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x14734f180 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1471c5250) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:08:54:121 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x145e1b960>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x145dba0e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x145ef8c50) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x1472af4c0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x145e1b960>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x145dba0e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x145ef8c50) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:09:09:274 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x145d97740>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x14705d6e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14731af40) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x14701b4b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x145d97740>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x14705d6e0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14731af40) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:09:22:452 Copying attribute author
    2016/02/22 11:09:22:452 Copying attribute authorAvatarURL
    2016/02/22 11:09:22:452 Copying attribute authorID
    2016/02/22 11:09:22:452 Copying attribute content
    2016/02/22 11:09:22:452 Copying attribute date_created_gmt
    2016/02/22 11:09:22:452 Copying attribute mt_excerpt
    2016/02/22 11:09:22:452 Copying attribute mt_text_more
    2016/02/22 11:09:22:452 Copying attribute password
    2016/02/22 11:09:22:452 Copying attribute pathForDisplayImage
    2016/02/22 11:09:22:453 Copying attribute permaLink
    2016/02/22 11:09:22:453 Copying attribute postID
    2016/02/22 11:09:22:453 Copying attribute postTitle
    2016/02/22 11:09:22:453 Copying attribute post_thumbnail
    2016/02/22 11:09:22:453 Copying attribute remoteStatusNumber
    2016/02/22 11:09:22:453 Copying attribute status
    2016/02/22 11:09:22:453 Copying attribute wp_slug
    2016/02/22 11:09:22:453 Copying attribute metaIsLocal
    2016/02/22 11:09:22:453 Copying attribute metaPublishImmediately
    2016/02/22 11:09:22:453 Copying attribute commentCount
    2016/02/22 11:09:22:453 Copying attribute geolocation
    2016/02/22 11:09:22:453 Copying attribute latitudeID
    2016/02/22 11:09:22:453 Copying attribute likeCount
    2016/02/22 11:09:22:453 Copying attribute longitudeID
    2016/02/22 11:09:22:453 Copying attribute postFormat
    2016/02/22 11:09:22:453 Copying attribute publicID
    2016/02/22 11:09:22:453 Copying attribute tags
    2016/02/22 11:09:22:453 Copying relationship blog
    2016/02/22 11:09:22:454 Skipping relationship original
    2016/02/22 11:09:22:454 Skipping relationship revision
    2016/02/22 11:09:22:454 Copying relationship comments
    2016/02/22 11:09:22:457 Copying relationship media
    2016/02/22 11:09:22:458 Copying relationship categories
    2016/02/22 11:09:22:876 !!! Attempted to create a revision of a revision
    2016/02/22 11:09:24:436 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x14725c3d0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x1477444d0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x147686b80) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x1471971b0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x14725c3d0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x1477444d0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x147686b80) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:09:39:587 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x1473615f0>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x145d07060 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x145f44d20) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x1477a8500 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x1473615f0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x145d07060 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x145f44d20) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:09:39:774 <PostSettingsViewController: 0x1473c61a0> viewDidLoad
    2016/02/22 11:09:54:727 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x147835040>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x147920340 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x147927f10) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x147832770 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x147835040>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x147920340 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x147927f10) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:09:55:302 Failed getting image http://parkgroveprimary.co.uk/wp-content/uploads/2016/02/img_0943-2.jpg: Error Domain=NSURLErrorDomain Code=-1012 "(null)" UserInfo={NSErrorFailingURLKey=https://i0.wp.com/parkgroveprimary.co.uk/wp-content/uploads/2016/02/img_0943-2.jpg?quality=100&resize=1920,1920, NSErrorFailingURLStringKey=https://i0.wp.com/parkgroveprimary.co.uk/wp-content/uploads/2016/02/img_0943-2.jpg?quality=100&resize=1920,1920}
    2016/02/22 11:09:55:303 Error loading featured image: Error Domain=NSURLErrorDomain Code=-1012 "(null)" UserInfo={NSErrorFailingURLKey=https://i0.wp.com/parkgroveprimary.co.uk/wp-content/uploads/2016/02/img_0943-2.jpg?quality=100&resize=1920,1920, NSErrorFailingURLStringKey=https://i0.wp.com/parkgroveprimary.co.uk/wp-content/uploads/2016/02/img_0943-2.jpg?quality=100&resize=1920,1920}
    2016/02/22 11:10:10:212 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x147863640>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x14737bae0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14794ae20) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x1476f19d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x147863640>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x14737bae0 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14794ae20) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:10:25:425 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x14782ae60>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x145f58b40 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14713f480) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x14786b020 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x14782ae60>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x145f58b40 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x14713f480) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}
    2016/02/22 11:10:40:592 TracksService Error while remote calling: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk." UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x14764ba90>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, NSErrorPeerCertificateChainKey=<CFArray 0x147293a70 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1476bfc10) s: public-api.wordpress.com i: smoothwall.local>
    )}, NSUnderlyingError=0x1472e9ff0 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x14764ba90>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerCertificates=<CFArray 0x147293a70 [0x1a1d30b68]>{type = immutable, count = 1, values = (
    0 : <cert(0x1476bfc10) s: public-api.wordpress.com i: smoothwall.local>
    )}}}, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “public-api.wordpress.com”, which could put your confidential information at risk., NSErrorFailingURLKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorFailingURLStringKey=https://public-api.wordpress.com/rest/v1.1/tracks/record, NSErrorClientCertificateStateKey=0}

  6. Hi @inspirar

    Thanks for sharing the log. :) I'm finding two things about it to be interesting.

    First is all the certificate warnings when making calls to the WordPress.com REST API. The app communicates with the WordPress.com REST API for a number of things, even when a blog is self-hosted and not using the Jetpack plugin.

    The second is the failures fetching an image via the WordPress.com Photon service. The app will proxy most image requests through the WordPress.com Photon service. This allows the app to optimize the image that is downloaded, potentially saving some bandwidth.

    There isn't enough information in the log to say for sure, but I might guess the school's network does one of the following:
    - has a list of sites that are allowed to be viewed and redirects requests to sites that are not on the list.
    - has a list of sites that are not allowed to be viewed and redirects requests to sites on the list.
    - requires authentication before websites can be browsed over the network and requests without authentication are redirected.

    You might contact the School's IT staff and mention that requests to these two domains appear to be blocked.
    https://public-api.wordpress.com
    https://i0.wp.com

    If they are able to allow requests to those domains via the School's network I *think* it should fix the problem.

    Let me know how it goes. :)

    Cheers!

Topic Closed

This topic has been closed to new replies.


About this Topic