Closed davidmead closed 5 years ago
It looks like OwnYourGram has been getting an Unauthorized
response from your site. Are you able to post from any other micropub clients?
Try logging in to Quill and creating a note and see if that gives you an error.
Is your IndieAuth plugin set to use the local endpoint? If not, you should probably switch to that, although it will require that you log in to any Micropub clients again.
Also pinging @dshanske to help debug since he might have some more ideas.
I logged out of Quill and logged back in. It gave me, what looks like, the OK for all the endpoints etc.
I authorized using GitHub and it took me to the posting screen. There, when I tried to post I got this error...
HTTP/1.1 401 Unauthorized
Date: Wed, 02 May 2018 00:01:52 GMT
Server: Apache/2.2.34
X-Powered-By: PHP/5.6.21
Link: <http://davidjohnmead.com/blog/wp-json/indieauth/1.0/token>; rel="token_endpoint", <http://davidjohnmead.com/blog/?micropub=endpoint>; rel="micropub", <http://davidjohnmead.com/blog/wp-json/webmention/1.0/endpoint>; rel="webmention", <http://davidjohnmead.com/blog/wp-json/webmention/1.0/endpoint>; rel="http://webmention.org/"
Set-Cookie: wfvt_3186044557=5ae8fff257695; expires=Wed, 02-May-2018 00:31:54 GMT; Max-Age=1800; path=/; httponly
Vary: User-Agent,Accept-Encoding
Transfer-Encoding: chunked
Content-Type: application/json
"Unauthorized"
I have the IndieAuth WP plugin installed and it shows active - but when I go to Users > Manage Tokens there's nothing listed, just a 'Revoke Tokens' button.
I have no idea where to see or switch my local endpoint - I am very confused.
Okay, sounds like there might be a bug in the IndieAuth plugin then. Pinging @dshanske. I can see that your site is set to use the external endpoints, so there might be a bug with that.
In the mean time, the token settings are in the main settings panel. If you change to the local endpoints I suspect you'll have better luck, and that's also a better long-term plan anyway.
Thanks. I'll try that tonight.
David Mead
http://twitter.com/davidmead http://davidjohnmead.com http://dmwebsites.com
On Tue, May 1, 2018, 8:49 PM Aaron Parecki notifications@github.com wrote:
Okay, sounds like there might be a bug in the IndieAuth plugin then. Pinging @dshanske https://github.com/dshanske. I can see that your site is set to use the external endpoints, so there might be a bug with that.
In the mean time, the token settings are in the main settings panel. If you change to the local endpoints I suspect you'll have better luck, and that's also a better long-term plan anyway.
[image: screenshot 2018-05-01 17 48 48] https://user-images.githubusercontent.com/113001/39500238-eb05bac4-4d67-11e8-8ce1-7616c8bd9487.png
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aaronpk/OwnYourGram/issues/64#issuecomment-385832686, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNU8lCgshoPfbjA3y9kvxVFxS0ZB8b9ks5tuQKCgaJpZM4TuQPr .
@aaronpk Going into my settings it looks like it's already set to use Local Endpoints. Maybe that's the issue?
Not sure what could've change to cause this issue.
Ooh that's interesting, thanks! That might be a problem with OwnYourGram and Quill not properly updating the access token when you log back in. I will try to reproduce this!
Well I confirmed that OwnYourGram does in fact update the access token when you log back in, so we're back to square one here.
@davidmead what URL are you entering in OwnYourGram when you log in? I see a few different accounts for you, at various levels of functioning.
Right now, the account OwnYourGram is using is http://davidjohnmead.com/
, but that doesn't look like a wordpress site. It looks like you have wordpress installed at http://davidjohnmead.com/blog/
. So if you log in to OwnYourGram with http://davidjohnmead.com/blog/
and set that one up, then I'm guessing everything will work like expected.
I'm having the same problem with OYG and OYS at https://dougbeal.com
@dougbeal @davidmead https://github.com/indieweb/wordpress-indieauth/pull/56 the bug i made this fix for today may be affecting you
Thanks @aaronpk. I've just gone in and updated my Instagram profile URL to http://davidjohnmead.com/blog and went through OwnYourGram again and it all seems to be working :-)
I guess I should be using http://davidjohnmead.com/blog/ on all the profiles from now on then, including Brid.gy etc.
Thanks for the fix @Ruxton. I made sure I updated all the WP Indieweb plugins before I tried this.
That's great to hear @davidmead!
@dougbeal, OYG is getting back an HTTP 401 error from your site. We'll need to debug that separately, it's likely related to the HTTP Authorization header getting blocked by your web host.
Last photo successfully syndicated from Instagram to my blog was March 24th.
Logging in today I saw this message...
Going through to the photos page and clicking on each of the 20 entries I get "an error occurred" message for each one...
I'm now over 30 photos behind on what's on Instagram and what's been syndicated to my blog.
I am up-to-date on all the IndieWeb WP plugins too.
Any suggestions?