New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot publish to a self-hosted Wordpress site that is using HTTPS #580

Open
SimonDarksideJ opened this Issue Mar 9, 2017 · 30 comments

Comments

Projects
None yet
4 participants
@SimonDarksideJ

I recently updated my self hosted wordpress site to use HTTPS.

However now, I cannot use or publish to the site using openlivewriter :(

It took me a few attempts to even get the site registered, but it worked eventually with a few twists and turns. but when I came to publish, this was all for naught.

Erm, help?

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 9, 2017

Member

What errors are you getting?

Member

ScottIsAFool commented Mar 9, 2017

What errors are you getting?

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 9, 2017

If I publish I get (which I suppose is expected)
image

Going back to edit my Blog config I get the following (which is pretty much what I got initially)
image

Seems not to support https connections?

If I publish I get (which I suppose is expected)
image

Going back to edit my Blog config I get the following (which is pretty much what I got initially)
image

Seems not to support https connections?

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 9, 2017

Member

Are you behind a proxy at all? I've just tried adding your blog (albeit with useless credentials) and it goes through the normal motions and only fails at the point of credentials. I'm assuming what you're seeing is a near instant failure where it doesn't try and get blog publishing interface, etc?

Member

ScottIsAFool commented Mar 9, 2017

Are you behind a proxy at all? I've just tried adding your blog (albeit with useless credentials) and it goes through the normal motions and only fails at the point of credentials. I'm assuming what you're seeing is a near instant failure where it doesn't try and get blog publishing interface, etc?

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 10, 2017

Nope, a direct connection.
I also noted that it couldn't detect it as a Wordpress site on the initial setup. When you tested @ScottIsAFool , Did it detect or ask you what type of site it was?

Always recognised it before I updated to HTTPS

Nope, a direct connection.
I also noted that it couldn't detect it as a Wordpress site on the initial setup. When you tested @ScottIsAFool , Did it detect or ask you what type of site it was?

Always recognised it before I updated to HTTPS

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 10, 2017

What is very odd. Is that if I select "HTTP" as the address, the blog detection screen appears. However it skips it when I correctly select "HTTPS".
I'm checking through my site to make sure it's not an issue there.

What is very odd. Is that if I select "HTTP" as the address, the blog detection screen appears. However it skips it when I correctly select "HTTPS".
I'm checking through my site to make sure it's not an issue there.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 10, 2017

After a lot of hacking (and bringing down) my site, I may have an answer for why it may not be working (and it's probably not me)
https://wordpress.org/support/topic/403-forbidden-on-xmlrpcphp/

According to Wordpress, hosting org are blocking access to xmlrpc which OpenLiveWriter depends on for Wordpress. If so, it means it is likely NOT to work in most places.

Maybe time for another plan for OLW? I really like OLW and want it back badly 🗡

After a lot of hacking (and bringing down) my site, I may have an answer for why it may not be working (and it's probably not me)
https://wordpress.org/support/topic/403-forbidden-on-xmlrpcphp/

According to Wordpress, hosting org are blocking access to xmlrpc which OpenLiveWriter depends on for Wordpress. If so, it means it is likely NOT to work in most places.

Maybe time for another plan for OLW? I really like OLW and want it back badly 🗡

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 10, 2017

Member

Unfortunately, if the hosting companies themselves are blocking that, there's not a lot OLW can do. Unless wordpress suddenly start offering some kind of oauth approach, we will have to stick with what we have, but at least we have something that we can get people to check with their hosting company.

In the meantime, it might be worth speaking with your hosting provider and find out if this is indeed the case and what they can do about it.

Member

ScottIsAFool commented Mar 10, 2017

Unfortunately, if the hosting companies themselves are blocking that, there's not a lot OLW can do. Unless wordpress suddenly start offering some kind of oauth approach, we will have to stick with what we have, but at least we have something that we can get people to check with their hosting company.

In the meantime, it might be worth speaking with your hosting provider and find out if this is indeed the case and what they can do about it.

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 10, 2017

Member

@DDReaper Are you still having this issue? If so, would you be willing to try a test version when one is ready as I don't have a blog with which to try this.

Member

ScottIsAFool commented Mar 10, 2017

@DDReaper Are you still having this issue? If so, would you be willing to try a test version when one is ready as I don't have a blog with which to try this.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 11, 2017

Always ready to test anything @ScottIsAFool .
Have a few spare sites to test most blogs / sites 👯‍♂️

Would be good to get an API oAuth connect solution for Wordpress with OLW, but I'll try anything at this point.

SimonDarksideJ commented Mar 11, 2017

Always ready to test anything @ScottIsAFool .
Have a few spare sites to test most blogs / sites 👯‍♂️

Would be good to get an API oAuth connect solution for Wordpress with OLW, but I'll try anything at this point.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 11, 2017

The situation continues. They did find a block on an IP with the site and unblocked access.
Browsing to the xmlrpc.php file now reports "only post requests allowed"
However, OLW still can't access it :S

The situation continues. They did find a block on an IP with the site and unblocked access.
Browsing to the xmlrpc.php file now reports "only post requests allowed"
However, OLW still can't access it :S

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 11, 2017

Hmm, interesting.
I chanced it and selected http instead of https as the url and it actually worked? and posted.
So I have a "sort of" work around now", but if you have a newer experimental way not using xmlrpc @ScottIsAFool I'm willing to try it, considering I'm not sure how long this will stay open.

Hmm, interesting.
I chanced it and selected http instead of https as the url and it actually worked? and posted.
So I have a "sort of" work around now", but if you have a newer experimental way not using xmlrpc @ScottIsAFool I'm willing to try it, considering I'm not sure how long this will stay open.

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 11, 2017

Member

We want to check that it's nothing to do with OLW not supporting SSL, and we also want to see if it's anything to do with redirects, because i note the http link of your site does redirect to the https version. Won't have anything to test until later this weekend at the earliest though.

Member

ScottIsAFool commented Mar 11, 2017

We want to check that it's nothing to do with OLW not supporting SSL, and we also want to see if it's anything to do with redirects, because i note the http link of your site does redirect to the https version. Won't have anything to test until later this weekend at the earliest though.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 11, 2017

OK, no worries. I'll be ready when you are.

OK, no worries. I'll be ready when you are.

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

@DDReaper Could you please try installing this version https://ci.appveyor.com/project/dotnetfoundation/openlivewriter/build/0.6.2.287-sulpsasv/artifacts and seeing whether you can connect to your https blog now, please.

Member

ScottIsAFool commented Mar 14, 2017

@DDReaper Could you please try installing this version https://ci.appveyor.com/project/dotnetfoundation/openlivewriter/build/0.6.2.287-sulpsasv/artifacts and seeing whether you can connect to your https blog now, please.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

That worked a treat first time. Detected the blog and published successfully.
I take it that it's still using the xmlrpc route currently instead of the Wordpress/Jetpack API's.

That worked a treat first time. Detected the blog and published successfully.
I take it that it's still using the xmlrpc route currently instead of the Wordpress/Jetpack API's.

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

You worry me saying "first time", I know what you mean, but just to be safe, can you try adding it again :)

Member

ScottIsAFool commented Mar 14, 2017

You worry me saying "first time", I know what you mean, but just to be safe, can you try adding it again :)

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

I've uninstalled the test version you sent twice now.
Each time, it detects the blog properly (as you would expect) creates the temporary post (and deletes it)
I then post a draft post and it works fine.

So it is now working as expected, as it did before I updated to HTTPs

I've uninstalled the test version you sent twice now.
Each time, it detects the blog properly (as you would expect) creates the temporary post (and deletes it)
I then post a draft post and it works fine.

So it is now working as expected, as it did before I updated to HTTPs

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

Awesome, and just to be a pain (sorry), if you install the original version (from openlivewriter.org), you then can't add it, right? Just want to confirm the original problem can still be reproduced with the original version.

Member

ScottIsAFool commented Mar 14, 2017

Awesome, and just to be a pain (sorry), if you install the original version (from openlivewriter.org), you then can't add it, right? Just want to confirm the original problem can still be reproduced with the original version.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

Sure, give me two ticks. (and I know what you mean about a fix working "first time") it's also a "first " for me :P

Sure, give me two ticks. (and I know what you mean about a fix working "first time") it's also a "first " for me :P

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

Confirmed. Re-installing the current production version fails as before:
image

Confirmed. Re-installing the current production version fails as before:
image

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

Sweet. Thanks for testing this :)

Member

ScottIsAFool commented Mar 14, 2017

Sweet. Thanks for testing this :)

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

No worries, in my best interest to help where I can.
Not in a position to contribute code at the mo, but I can help with testing. Azure is also good for spinning up quick test hosts (thanks to our MVP credits)

No worries, in my best interest to help where I can.
Not in a position to contribute code at the mo, but I can help with testing. Azure is also good for spinning up quick test hosts (thanks to our MVP credits)

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

Yeah, having some decent test hosts might be something @jongalloway can look into :)

Member

ScottIsAFool commented Mar 14, 2017

Yeah, having some decent test hosts might be something @jongalloway can look into :)

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

True, if @jongalloway can sort out some "free" azure web hosting (it is possible to host workpress for free on Azure websites with mysql) and others like Ghost only need webspace.

True, if @jongalloway can sort out some "free" azure web hosting (it is possible to host workpress for free on Azure websites with mysql) and others like Ghost only need webspace.

@Laronski

This comment has been minimized.

Show comment
Hide comment
@Laronski

Laronski Mar 14, 2017

@ScottIsAFool This is slightly off topic. I loaded the test version you offered, just because, I was going to use it to post to Blogger and it wouldn't allow me to; it said errors were encountered— Do I need to work with you on a test there or should I create a case for it? Thoughts?

@ScottIsAFool This is slightly off topic. I loaded the test version you offered, just because, I was going to use it to post to Blogger and it wouldn't allow me to; it said errors were encountered— Do I need to work with you on a test there or should I create a case for it? Thoughts?

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

What errors? Was it a post with pictures? Does it fail on the main version (ie, not this test one)?

Member

ScottIsAFool commented Mar 14, 2017

What errors? Was it a post with pictures? Does it fail on the main version (ie, not this test one)?

@Laronski

This comment has been minimized.

Show comment
Hide comment
@Laronski

Laronski Mar 14, 2017

@ScottIsAFool I will create a new thread, as this is for Open Live Writer and Blogger.

@ScottIsAFool I will create a new thread, as this is for Open Live Writer and Blogger.

@SimonDarksideJ

This comment has been minimized.

Show comment
Hide comment
@SimonDarksideJ

SimonDarksideJ Mar 14, 2017

Fair enough. You happy for me to close this issue @ScottIsAFool or do you want to wait until your PR is up?

Fair enough. You happy for me to close this issue @ScottIsAFool or do you want to wait until your PR is up?

@ScottIsAFool

This comment has been minimized.

Show comment
Hide comment
@ScottIsAFool

ScottIsAFool Mar 14, 2017

Member

Keep it open until the PR is merged.

Member

ScottIsAFool commented Mar 14, 2017

Keep it open until the PR is merged.

@jongalloway

This comment has been minimized.

Show comment
Hide comment
@jongalloway

jongalloway Mar 14, 2017

Contributor

@ScottIsAFool @DDReaper I'm sure I can get some Azure hosting for test blogs set up, both for manual and automated testing.

It'll take a little bit of time to set up, though and I'm pretty busy trying to wrap up the release. We should log another issue for that and assign to me, okay?

Contributor

jongalloway commented Mar 14, 2017

@ScottIsAFool @DDReaper I'm sure I can get some Azure hosting for test blogs set up, both for manual and automated testing.

It'll take a little bit of time to set up, though and I'm pretty busy trying to wrap up the release. We should log another issue for that and assign to me, okay?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment