08/19 - SummerSlam Sunday!

Status
Not open for further replies.

KillMoles

°
Contributor
Joined
Sep 25, 2017
Messages
894
Reaction score
2,324
Points
568
Age
60
Location
Iowa
Gender
Male

SarahAshlee90

Well-Known Member
Crowd Pleaser
Joined
Mar 4, 2016
Messages
2,781
Reaction score
5,294
Points
963
Age
34
Gender
Female
BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO (im not scared of mahomes)
When you fetch a hit in your extension how do you avoid the redirect to http from https ?
 

thedorchannel

Well-Known Member
Contributor
Joined
Jan 12, 2016
Messages
15,183
Reaction score
35,691
Points
1,288
Age
38
Gender
Male
all i'll say about Tebow is that if Matt Stafford can have 10 seasons worth of tries to get a playoff win, Tebow should get another try.
 
  • Like
Reactions: GoldenTemple

SarahAshlee90

Well-Known Member
Crowd Pleaser
Joined
Mar 4, 2016
Messages
2,781
Reaction score
5,294
Points
963
Age
34
Gender
Female
Don't call http? I'm not quite sure what you mean.
Code:
fetch('https://worker.mturk.com/projects/' + thegroupid + '/tasks/accept_random?ref=w_pl_prvw')
    .then(function(response){
        process_Results(response)
    })
    .catch(function(error){
        console.log(error);
    })
Calling this from an HTTPS page in my extension causes a redirect to HTTP from MTURK which causes Chrome to block the request. I cant seem to find a fix?`
 

desallemands

Member
Joined
Jul 22, 2018
Messages
348
Reaction score
761
Points
293
Gender
Female
Did you add Ben Peterson to the 'include' list ?

It's part of mturk Suite, so if that's installed, hold down on the little MTS button in the bar of your browser and you'll find it in the resulting list. I don't remember how I installed mturk Suite though...anyone?
 
  • Like
Reactions: FireMonkey

EnterNameHere

Active Member
Contributor
Joined
Jul 30, 2016
Messages
762
Reaction score
2,731
Points
568
Title: Rewriting Product Reviews: Level 3 (CMU_STUDY2018_00000337) | Accept
Requester: Rose CMU [A2GPJRL7A1DOKU] Contact
TO: [Pay=2.40] [Fast=2.40] [Comm=2.00] [Fair=1.80] [Reviews=6] [ToS=0]
Reward: 0.90
Duration: 1800
Available: 270
Description: You will be shown a review written by a user for a product. You need to read the review and rewrite it in the form of a recommendation for the item.
Qualifications: Level 3 Tally Warn for CMU_STUDY2018_00000337 LessThanOrEqualTo 10; Level 3 Tally Correct for CMU_STUDY2018_00000337 GreaterThanOrEqualTo 15; Level 3 Tally Reject for CMU_STUDY2018_00000337 LessThanOrEqualTo 5; Consent on file for CMU_STUDY2018_00000337 EqualTo 1; Location EqualTo US
[tr][td]
HIT exported from Mturk Suite v2.3.7
[/td][/tr]
[tr][td]
She's baaaaack...[/td][/tr]
 

Tandem In Time

Tandem in Space
Crowd Pleaser
Joined
May 1, 2016
Messages
2,043
Reaction score
6,148
Points
1,964
Gender
Male
Code:
fetch('https://worker.mturk.com/projects/' + thegroupid + '/tasks/accept_random?ref=w_pl_prvw')
    .then(function(response){
        process_Results(response)
    })
    .catch(function(error){
        console.log(error);
    })
Calling this from an HTTPS page in my extension causes a redirect to HTTP from MTURK which causes Chrome to block the request. I cant seem to find a fix?`
Which exact error message are you seeing in Chrome? Any mention of HSTS in the error message?
 
  • Like
Reactions: SarahAshlee90

Punkle

Member
Joined
Nov 23, 2016
Messages
249
Reaction score
623
Points
343
Age
38
Gender
Male
I was doing the lecture survey and was on the second part. One of the on screen elements didn't show up, so I refreshed as instructed, and it booted me back to the beginning of the survey. :rage:

I shot the requester an email, I hope they respond with some good news.
 

SarahAshlee90

Well-Known Member
Crowd Pleaser
Joined
Mar 4, 2016
Messages
2,781
Reaction score
5,294
Points
963
Age
34
Gender
Female
Which exact error message are you seeing in Chrome? Any mention of HSTS in the error message?
Code:
Mixed Content: The page at 'https://worker.mturk.com/?extensionsearchpage' was loaded over HTTPS, but requested an insecure resource 'http://worker.mturk.com/projects/3I2V0CCR8SM5F0M5MTJZFH8K6KFJ1F/tasks/3LN50BUKPWDDMIVWSBVSM9IPU3QPLY?assignment_id=336KAV9KYRU3GUYIZUE88O7DG58Y25&auto_accept=true'. This request has been blocked; the content must be served over HTTPS.
Fetch API cannot load https://worker.mturk.com/projects/3I2V0CCR8SM5F0M5MTJZFH8K6KFJ1F/tasks/accept_random?ref=w_pl_prvw. Redirect failed.
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
Code:
Mixed Content: The page at 'https://worker.mturk.com/?extensionsearchpage' was loaded over HTTPS, but requested an insecure resource 'http://worker.mturk.com/projects/3I2V0CCR8SM5F0M5MTJZFH8K6KFJ1F/tasks/3LN50BUKPWDDMIVWSBVSM9IPU3QPLY?assignment_id=336KAV9KYRU3GUYIZUE88O7DG58Y25&auto_accept=true'. This request has been blocked; the content must be served over HTTPS.
Fetch API cannot load https://worker.mturk.com/projects/3I2V0CCR8SM5F0M5MTJZFH8K6KFJ1F/tasks/accept_random?ref=w_pl_prvw. Redirect failed.
Oh, I understand now. Its because I'm in an extension page , so I won't get blocked by the redirect. You're embedding on MTurk so you are bound by tradition webpage rules. You will have to handle the request in the background.
 

SarahAshlee90

Well-Known Member
Crowd Pleaser
Joined
Mar 4, 2016
Messages
2,781
Reaction score
5,294
Points
963
Age
34
Gender
Female
Oh, I understand now. Its because I'm in an extension page , so I won't get blocked by the redirect. You're embedding on MTurk so you are bound by tradition webpage rules. You will have to handle the request in the background.
I had been putting off writing background.js. Its going to be a tough file for me to write I dont even have a specific layout in mind yet. I guess now is the time. I'll study your source code tonight and see if I can get something working. Thanks for your help.
 
  • Like
Reactions: Tandem In Time

panzer

. . .
Contributor
Joined
Jan 20, 2016
Messages
222
Reaction score
380
Points
388
Gender
Male
Anybody else get a rejection on "Answer a survey about your opinion on a legal case" from "Uri Maoz" with the feedback "Inconsistent Responses"?
 

jmr

Member
Joined
Aug 7, 2018
Messages
154
Reaction score
195
Points
243
Location
nyc
Gender
Female
Title: Rewriting Product Reviews: Level 3 (CMU_STUDY2018_00000337) | Accept
Requester: Rose CMU [A2GPJRL7A1DOKU] Contact
TO: [Pay=2.40] [Fast=2.40] [Comm=2.00] [Fair=1.80] [Reviews=6] [ToS=0]
Reward: 0.90
Duration: 1800
Available: 270
Description: You will be shown a review written by a user for a product. You need to read the review and rewrite it in the form of a recommendation for the item.
Qualifications: Level 3 Tally Warn for CMU_STUDY2018_00000337 LessThanOrEqualTo 10; Level 3 Tally Correct for CMU_STUDY2018_00000337 GreaterThanOrEqualTo 15; Level 3 Tally Reject for CMU_STUDY2018_00000337 LessThanOrEqualTo 5; Consent on file for CMU_STUDY2018_00000337 EqualTo 1; Location EqualTo US
[tr][td]
HIT exported from Mturk Suite v2.3.7
[/td][/tr]
[tr][td]
She's baaaaack...[/td][/tr]
i'm tempted but scared...
 

jmr

Member
Joined
Aug 7, 2018
Messages
154
Reaction score
195
Points
243
Location
nyc
Gender
Female
I ain't...I mean tempted
haha yeah, i'm not going to after my experience w her last time. i must not have gotten the qual either because no hits are showing up in my search but i can access when i click it through the forum
 
  • Like
Reactions: jan
Status
Not open for further replies.