Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

embed JATOS link in Qualtrics iframe

Hey all,

I recently started using JATOS to run studies that I write using the lab.js library.

I successfully uploaded my experiment to the DigitalOcean server I made and created a General Single worker link. The link works fine and if I click it the experiments begin. however, I wanted to embed it in an iframe tag in Qualtrics. When I try to test my study in Qualtrics, the iframe doesn't present the study but a JATOS message about cookies: "A problem occurred: Couldn't find cookie for study result ID 11. Are cookies allowed in your browser?"

Any idea how I can embed the study within Qualtrics and resolve this issue?




  • Hi guy!

    I guess it's this problem: JATOS relies on cookies to pass on some data to the browser. If like in the Stack overflow post described, cookies in iframes are regarded as third party cookies and browsers block those, I don't see a way out. You can check if this is a case by allowing third party cookies in your browser.



  • Hey Kristian,

    Thank you for your reply! I followed your suggestion and allowed all cookies in my browser (Chrome), but I still get the same message. 

    Does this mean there is no way to get around this problem?

  • Turning off the X-Frame-Options might help. Add this line to your conf/production.conf and restart your JATOS:

    play.filters.headers.frameOptions = null



  • Hi Kristian,

    Do you know if there is a way to modify this argument in Docker by using something like "docker run -e FILTERS_HEADERS_FRAME_OPTIONS = null"?

    Trying to manually add this line to the production.conf of my digitalocean VM did not work. When I restarted it, JATOS was no longer available and returned "404 bad gateway".

    Thank you for your help and patience and I apologize for my ignorance.


  • Hi Guy,

    There is no environment variable for this parameter yet that you could use for your docker. I made only the common parameters configurable via environment variables. It's not a big thing to add it for this one to but the change would only be available to you with the next release and I think you want a solution earlier.

    I'm pretty positive, putting it in the production.conf works. Is there anything else you can see apart from the 404 bad gateway? Are there errors in the application.log or the loader.log?



  • I'm not sure that I am looking in the right location, but running cat $(locate -r application.log$) opens the application.log with last line signaled with an ERROR "c.g.Home - Couldn't request latest JATOS update info".

    In addition two WARN logs may be relvant(?):

    "p.a.m.DefaultJWTCookieDataCodec - decode: cookie has invalid signature! message = JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted."

    and "c.g.a.AuthenticationAction - Authentication failed: remote address tried to access page"

    The loader.log showes only warnnings about illegal access operations.

    Thanks again,


  • The warnings in your application.log are normal ones, nothing related.

    What are the warnings in the loader.log? They might be more important.



Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games