Skip to content
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

Server Scanner #133

Open
6 tasks done
jaswrks opened this issue Mar 7, 2015 · 20 comments
Open
6 tasks done

Server Scanner #133

jaswrks opened this issue Mar 7, 2015 · 20 comments

Comments

@jaswrks
Copy link
Contributor

jaswrks commented Mar 7, 2015


KB Article Creation Checklist
  • Write initial draft for this KB Article; label this issue draft and either questions or tutorials
  • Add required YAML configuration
  • Add Tags for this KB Article to the YAML config (see YAML Keys (Explained))
  • Edit and finalize draft for publishing (remove draft label, add draft-finalized label)
  • Assign Issue to yourself and create Markdown file (remove draft-finalized label, add pending)
  • Project Lead: Review and Publish KB Article (remove pending label, add published label)
Additional TODOs

Additional TODO list items go here.


Markdown File: http://wsharks.com/1FgqfHG
Published KB Article: http://s2member.com/kb-article/server-scanner/


@ryanaoneil
Copy link

The link on the article doesn't work. http://s2member.com/r/s2-server-scanner/

@raamdev
Copy link
Contributor

raamdev commented May 26, 2015

The link on the article doesn't work. http://s2member.com/r/s2-server-scanner/

@ryanaoneil I just tested that link and it's working for me.

@ryanaoneil
Copy link

I'm getting this: 503 (Invalid Key): Sorry, your access to this file has
expired. Please contact Support for assistance.

from this url:
https://www.s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

On Tue, May 26, 2015 at 11:01 AM, Raam Dev notifications@github.com wrote:

The link on the article doesn't work.
http://s2member.com/r/s2-server-scanner/

@ryanaoneil https://github.com/ryanaoneil I just tested that link and
it's working for me.


Reply to this email directly or view it on GitHub
#133 (comment)
.

Ryan O'Neil
LOGOSIdentity.com
We get the Word out.

@raamdev
Copy link
Contributor

raamdev commented May 26, 2015

@ryanaoneil It seems that your browser is loading a cached version of that redirect. The domain changed from www.s2member.com to just s2member.com. This is where http://s2member.com/r/s2-server-scanner/ is pointing now:

http://s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

If you clear your browser cache, the redirect should work as expected.

@ryanaoneil
Copy link

Nice! So, I had https every on and I think that was the issue. It was
forcing https and that somehow pull in the www subdomain. It still pulled
up the invalid key deal but it downloaded.

Thanks for the help!

On Tue, May 26, 2015 at 2:03 PM, Raam Dev notifications@github.com wrote:

@ryanaoneil https://github.com/ryanaoneil It seems that your browser is
loading a cached version of that redirect. The domain changed from
www.s2member.com to just s2member.com. This is where
http://s2member.com/r/s2-server-scanner/ is pointing now:

http://s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

If you clear your browser cache, the redirect should work as expected.


Reply to this email directly or view it on GitHub
#133 (comment)
.

Ryan O'Neil
LOGOSIdentity.com
We get the Word out.

@wpfan1000
Copy link

Getting 503 (Invalid Key): Sorry, your access to this file has expired. Please contact Support for assistance.
Looks like it has been an issue for 4 months - please fix.

@raamdev
Copy link
Contributor

raamdev commented Oct 5, 2015

@wpfan1000 I just tested this link again and the download is working fine: http://s2member.com/r/s2-server-scanner/

@wpfan1000
Copy link

Hi, thanks for checking.
This is the message I got when i clicked on the link:
503 (Invalid Key): Sorry, your access to this file has expired. Please contact Support for assistance.

@wpfan1000
Copy link

Just because it works for your doenst mean it will work for everyone else. Maybe it is working for you because you are logged in or have certain priviledges? I think even if it works for you you should modify it because this is the first time in 20 years of using the web that I get this errror message.

@wpfan1000
Copy link

Here is the same issue that seems to be an issue with your plugin:
https://wordpress.org/support/topic/error-message-and-links-not-working

@raamdev
Copy link
Contributor

raamdev commented Oct 6, 2015

@wpfan1000 Does this link work?

http://s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

(That's the same link that http://s2member.com/r/s2-server-scanner/ redirects to, but if the above link works, that means your browser must have cached an old version of the full link and is attempting to visit the old link.)

@wpfan1000
Copy link

Still getting -
503 (Invalid Key): Sorry, your access to this file has expired. Please contact Support for assistance.

@wpfan1000
Copy link

When I Google the error:
https://www.google.ca/#q=503+%28Invalid+Key%29:+Sorry%2C+your+access+to+this+file+has+expired.+Please+contact+Support+for+assistance.
I see that this error is specific to your plugin, and a few other WP plugins, but not browsers, not Apache servers, or any servers, etc which means to me it is a setting within your plugin.
It seems likely that the download link is somehow incorrectly being protected by your site or plugin when it is not supposed to be. Have you tried simply pasting the link into a normal WP page so that there is no permission check around it?
Also the wording of the error is not a typical browser/server/mysql etc error - it is specific to your plugin and some other sites that may be using your plugin, or a few WP plugins, or sites that may be using your plugin.
This is supposed to be a simple, open, unprotected download link much like any other eg download link to sample software, pdfs on any other site. Again being on the Net for 20+ years and never seeing this error before, and not getting it on any other site, ever or now, I think it is a setting/issue on your end.
So I don't mean to be blunt but if me and others have this issue in the past, present and hence maybe into the future, it is time to fix it permanently.

@raamdev
Copy link
Contributor

raamdev commented Oct 6, 2015

Have you tried simply pasting the link into a normal WP page so that there is no permission check around it?

Yes, I tried visiting the link while completely logged out, in a clean Incognito window in Chrome, and it works just fine for me. I also tested it from multiple ISPs.


@jaswsinc Any feedback here?

@raamdev raamdev reopened this Oct 6, 2015
@wpfan1000
Copy link

But your link contains a key - s2member_file_download_key=a00e81f5499e993385c03e9275699866
and the error messages says invalid key - surely that tells you:

  1. You are attaching a key to the download link which means it is NOT an open, unprotected link
  2. Some software is checking this key and saying it is invalid

I don't see any reason why you are attaching a key id to a link which anyone should be able to download.....

@jaswrks
Copy link
Contributor Author

jaswrks commented Oct 7, 2015

This link works just fine for me:

http://s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

It works when:

  • I click it.
  • If I open it from an incognito window.
  • If I run it through a test tool like: http://httpstatus.io/
  • If I look at it funny and talk dirty.

Regarding the key: s2member_file_download_key=a00e81f5499e993385c03e9275699866
This is a universal key; i.e., allows for public access by anyone.

Many browsers will cache redirects in ways that make it hard to clear though. So if you initially stumbled onto the www variation, that could be the reason for failure. https://www.s2member.com/?s2member_file_download=ccaps%2Faccess-s2member-ccap-pro%2Fs2-server-scanner.zip&s2member_file_download_key=a00e81f5499e993385c03e9275699866

See also: http://salferrarello.com/chrome-clear-redirect-cache/

@kristineds
Copy link

Request: Update zip file in KB article to include extension in PHP7


From @jaswsinc in this support ticket #14157:

The extension in PHP7 is called mysqli and I've had the server scanner updated to reflect the proper extension. Latest version available here: https://raw.githubusercontent.com/websharks/s2member/dev/s2-server-scanner.php

@raamdev
Copy link
Contributor

raamdev commented Dec 26, 2016

It would also be nice if this article at least listed the basic minimum requirements, along with a link to the WordPress requirements page.

@BillBB
Copy link

BillBB commented Mar 13, 2017

I'm not sure how I do the last step "Now open your web browser and visit: /s2-server-scanner.php for a full report."

When I try to visit I get the results of a search. What am I missing?

raamdev added a commit that referenced this issue Mar 14, 2017
@raamdev
Copy link
Contributor

raamdev commented Mar 14, 2017

@BillBB You need to enter the URL to where you uploaded the file. So, if you uploaded it to the root of your site, you'd want to visit http://example.com/s2-server-scanner.php (replace example.com with your actual domain).

I went ahead and updated the KB Article to clarify this.

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

No branches or pull requests

6 participants