• Resolved Dominik Lackovi?

    (@domba_bomba007)


    Hello,
    Since latest update I have Resetted all settings since I saw that you updated worker script but plugin couldn’t do it because I manually changed name of script name since I was using your plugin on multiple sites.

    So, now it is updated, and everything works but on first visit of the site I always get the Cloudflare Error 1101, Worker threw exception.

    But if I try to refresh the site all works properly then. But it is kinda annoying and a lot of new users will thought that page is not functioning normally and will just leave.

    I can confirm that the new script is updated and I can see it in Cloudflare Workers dashboard. 352 lines of code, the old one had around 100 if I recall correctly.

    I turned log mode on in plugin settings but can’t find nowhere that log to see what the error exactly is.

    Is it a script error or my special configuration error? Previous versions worked flawlessly.

    I assume maybe it has something with cookies? Because I try to test by directly typing url, but for example when I open link from Facebook to my page it is loading normally, but every other direct link first time visit is thrown exception.

    If you could be so kind to check the website or point me in right direction I would be grateful. Link is submitted in form when creating new topic. I hope you can see my url of page because I don’t want it to be publicly available.

    Thanks,
    Best regards

    • This topic was modified 3 years, 11 months ago by Dominik Lackovi?. Reason: maybe some cookie error?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Dominik Lackovi?

    (@domba_bomba007)

    Hello devs,
    I can confirm after I tested latest version 4.3.7.3 that bug with Workers throwing error is now fixed on sites I have been previously experiencing it.

    Thanks!

    Best regards

    Thread Starter Dominik Lackovi?

    (@domba_bomba007)

    Hello again,
    I just noticed now that when I update plugins on multiple sites it overwrites Workers because it is using name “swcfpc_worker” and there is no unique ID for each worker.

    Can you please check that out? Or is there some way to set custom name of Worker?

    Thanks!

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @domba_bomba007 ,
    the worker ID was always the same (swcfpc_worker), also before the update. Since 4.3.7 worker IDs are unique but not for who updates from v4.3.6 (for backward compatibility reasons).

    If you want an unique worker ID you can:

    1. Export your config file from Other tab and save your API token/API key
    2. Click on reset all
    3. Import your config file content from Other tab
    4. Enable the page cache

    And you should see a unique worker ID

    Let me know

    Thread Starter Dominik Lackovi?

    (@domba_bomba007)

    Hi @salvatorefresta,

    that did the trick. Everything working smooth now. Thanks!

    Best regards

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Glad to read this ??

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘On first visit in incognito Error 1101, Worker Threw Exception’ is closed to new replies.