Closed jeherve closed 6 years ago
Also in 270-gh-jpop-issues
Possible Workaround from Rachel's suggestion on #3193730-t
Sign in to WordPress.com -> Visite https://wordpress.com/plans/
I believe this was fixed by #13879
@jeherve Can you confirm?
@sirreal The problem is still happening for me, unfortunately.
Also in 755855-zen
@sirreal, @jeherve - Just to mention - I was working on this related to a Jetpack connection issue because our sub-site is running Bedrock (thus putting WordPress in /wp/
), and I was also running the "bleeding edge" version of Jetpack (5.5-alpha). It did not ask me to connect more than once.
@jeherve Can you confirm whether or not this is still an issue?
I'm happy to test this, FYI
Yep, still an issue. I just tested again to be sure.
🆒 I'm flagging this for the next time I have a solid hour of time to step through the process, log all the requests, screencap the steps, and see where the deviation occurs.
Just attempted to duplicate and couldn't -- screencapped the whole way -- I'm digging into why it's breaking for you right now but working for me.
I wonder if you may have a bad script cache or something from an old version of Calypso as it's working for me on gsteph.wpsandbox.me/wpsubdir
-- the issue seems to be the redirect loop to the plan select page, which is really odd.
Just attempted to duplicate and couldn't -- screencapped the whole way -- I'm digging into why it's breaking for you right now but working for me.
It looks like your whole site lives in a subdirectory, so home
and siteurl
have the same values. Try on a site where only WP lives in a subdirectory:
https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
Ah-ha! Okay that'd explain it.
Okay, so following the network requests, I see a request failing at the end that kicks to that "enter a site" page --
Via a GET
request to https://public-api.wordpress.com/rest/v1.1/me/settings?http_envelope=1
{
"code":401,
"headers":[
{
"name":"Content-Type",
"value":"application\/json"
}
],
"body":{
"error":"reauthorization_required",
"message":"A fresh access token must be used to query information about the current user."
}
}
I'm not sure the best way to track the inner processing in Calypso or how it's routing internally based on this api response. Will ping internally to see who can help with that.
Any idea when this fix will be deployed? We have a site whose users can't connect with external apps because of the bug.
@adamengst - my sites have been working for a few weeks now actually! Do you have the latest of Jetpack?
Yes, I'm using the latest Jetpack. But I misspoke slightly when I said "external apps." The connections I'm hoping to make are between the Google Docs for WordPress plugin and the Zoho Writer "Post to Blog" feature, both of which display an error page when trying to connect to my site. The URL looks like this:
My developer said that it looks like they're trying to redirect to a URL that doesn't have the /wp in the WordPress URL, and thus failing, but he thought this fix would likely address the problem.
I don't want to speak for the Jetpack team, but that doesn't sound like a Jetpack issue. From my experience it sounds like an issue with the plugin not being compatible with WP in a different directory then the main, which is quite common. I see it a lot of with Bedrock sites if you're using that. Unfortunately I can't help too much more but if you are using Bedrock feel free to post on our forums. Good luck!
@adamengst That fix was already deployed a few weeks ago, so your issue is most likely different.
If you'd like you can send us more details about the error you see and about your site through this form, we'll investigate with you! https://jetpack.com/contact-support/?rel=support
Thanks guys! I've opened a ticket with Jetpack support.
Steps to reproduce
https://videopress.com/v/JgOF5BpW
Related: #10980