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

403 response #21

Open
clarkk opened this issue May 10, 2015 · 7 comments
Open

403 response #21

clarkk opened this issue May 10, 2015 · 7 comments

Comments

@clarkk
Copy link

clarkk commented May 10, 2015

Hi

When requesting from WAMP on my local server it works, but when requesting from the production server 403 is returned..

WAMP response (apache on local windows):

Array
(
    [url] => https://www.google.com/accounts/ClientLogin
    [content_type] => text/plain
    [http_code] => 200
    [header_size] => 299
    [request_size] => 203
    [filetime] => -1
    [ssl_verify_result] => 20
    [redirect_count] => 0
    [total_time] => 2.215
    [namelookup_time] => 0.046
    [connect_time] => 0.062
    [pretransfer_time] => 0.124
    [size_upload] => 611
    [size_download] => 1202
    [speed_download] => 542
    [speed_upload] => 275
    [download_content_length] => 1202
    [upload_content_length] => 611
    [starttransfer_time] => 2.121
    [redirect_time] => 0
    [certinfo] => Array
        (
        )

    [primary_ip] => 77.214.53.152
    [primary_port] => 443
    [local_ip] => 192.168.1.101
    [local_port] => 51516
    [redirect_url] => 
)

Production response:

Array
(
    [url] => https://www.google.com/accounts/ClientLogin
    [content_type] => text/plain
    [http_code] => 403
    [header_size] => 339
    [request_size] => 203
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 1.088959
    [namelookup_time] => 0.004291
    [connect_time] => 0.008242
    [pretransfer_time] => 0.024296
    [size_upload] => 611
    [size_download] => 362
    [speed_download] => 332
    [speed_upload] => 561
    [download_content_length] => 362
    [upload_content_length] => 611
    [starttransfer_time] => 1.025485
    [redirect_time] => 0
    [redirect_url] => 
    [primary_ip] => 2a00:1450:4001:808::1013
    [certinfo] => Array
        (
        )

    [primary_port] => 443
    [local_ip] => 2a01:4f8:a0:24e3::2
    [local_port] => 40319
)
@cchenship
Copy link

I am getting 403 errors regardless of being on CentOS or Mac. Hopefully, someone's answer to your question can shed some light for me.

@cchenship cchenship mentioned this issue May 28, 2015
@minobedin
Copy link

have you try to enable secury apps from google account?

@vincentkoc
Copy link

Can an admin give me write access, I'm happy to update FAQ's

Sent from my iPhone

On 29 May 2015, at 7:54 am, minobedin [email protected] wrote:

have you try to enable secury apps from google account?


Reply to this email directly or view it on GitHub.

@cchenship
Copy link

Hey, @minobedin , big thanks for your help. I am able to access the clientlogin again after enabling security apps from my google account through https://www.google.com/settings/security/lesssecureapps

@karstenbruch
Copy link

Hi there,

i went from 404 to 403 after enabeling that. I re re re checked everything and still 403 ... anybody got an idea ?

@minobedin
Copy link

Have you tried to change google account and enable it before use the script?

@karstenbruch
Copy link

Hi @minobedin,

thanks for responding. No .. but i should have. After hours of trying i used oacurl with the --nobrowser switch on the server (i can not do it from my computer) and used the link in lynx .. the google response showed me the "we think your password might have been stolen" response .. although i cleared it in the google account hours ago .. i would really like a different or new http response code for that ... just now (after a nights sleep) i tried again and it works.

Thanks again everybody!

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

No branches or pull requests

5 participants