https://discord.cloudflare.com logo
Join Discord
Powered by
# workers-discussions
  • s

    Skye

    05/15/2023, 2:04 PM
    Can you reproduce it on a production worker instead of miniflare?
  • s

    Skye

    05/15/2023, 2:05 PM
    Or with curl instead of a browser? - Trying to find the point of failure here
  • d

    dkfdkdodkms

    05/15/2023, 2:06 PM
    i haven't done anything online, nor looked into how just yet. no, but this is a pretty simple thing that should be working in miniflare. pretty critical functionality i might say
  • d

    dkfdkdodkms

    05/15/2023, 2:07 PM
    actually it's a show stopper for me
  • s

    Skye

    05/15/2023, 2:08 PM
    I'm asking because I have something similar to your case that's been working completely fine in both production & dev
  • d

    dkfdkdodkms

    05/15/2023, 2:08 PM
    have you tested it locally?
  • d

    dkfdkdodkms

    05/15/2023, 2:08 PM
    perhaps it's a regression?
  • s

    Skye

    05/15/2023, 2:08 PM
    I'm not at a computer to test your specific case right now
  • s

    Skye

    05/15/2023, 2:08 PM
    Which is why I'm asking you to help me narrow down the issue with the variations above🙂
  • c

    Chaika

    05/15/2023, 2:10 PM
    fwiw that works fine in prod: https://quick-upload.tylerobrien.workers.dev/ could try experimental-local/workerd rather then miniflare perhaps
  • d

    dkfdkdodkms

    05/15/2023, 2:10 PM
    do you know when someone will be available to take a closer look into this? it's pretty basic functionality that would affect anyone trying to upload anything over a meg or two using workers
  • s

    Skye

    05/15/2023, 2:11 PM
    If you change your html file to point to that url, are you experiencing the same result?
  • d

    dkfdkdodkms

    05/15/2023, 2:12 PM
    localhost has the same result, and the post request works fine if the file is small
  • d

    dkfdkdodkms

    05/15/2023, 2:12 PM
    (very small, a hundred KB or so)
  • s

    Skye

    05/15/2023, 2:13 PM
    Is that with the above workers.dev link?
  • d

    dkfdkdodkms

    05/15/2023, 2:14 PM
    no, will test
  • d

    dkfdkdodkms

    05/15/2023, 2:16 PM
    that works just fine
  • s

    Skye

    05/15/2023, 2:16 PM
    Interesting, so it does sound like something with miniflare
  • s

    Skye

    05/15/2023, 2:16 PM
    What's your version?
  • d

    dkfdkdodkms

    05/15/2023, 2:17 PM
    should be the latest. one sec.
  • d

    dkfdkdodkms

    05/15/2023, 2:17 PM
    whatever comes with
    Copy code
    "wrangler": "2.18.0"
    i guess?
  • s

    Skye

    05/15/2023, 2:19 PM
    If you do
    npm ls miniflare
    you should be able to see what the exact one is
  • d

    dkfdkdodkms

    05/15/2023, 2:19 PM
    miniflare@2.13.0
  • s

    Skye

    05/15/2023, 2:19 PM
    are you running miniflare directly or through wrangler?
  • d

    dkfdkdodkms

    05/15/2023, 2:19 PM
    through wrangler
  • s

    Skye

    05/15/2023, 2:20 PM
    To confirm,
    wrangler dev --local
    ?
  • d

    dkfdkdodkms

    05/15/2023, 2:20 PM
    yes
  • s

    Skye

    05/15/2023, 2:20 PM
    Alright, I'll give it a try when I get home in around half an hour
  • d

    dkfdkdodkms

    05/15/2023, 2:20 PM
    Copy code
    {
      "name": "worker",
      "version": "0.0.0",
      "devDependencies": {
        "@cloudflare/workers-types": "^4.20230404.0",
        "typescript": "^5.0.4",
        "wrangler": "2.18.0"
      },
      "private": true,
      "scripts": {
        "dev": "wrangler dev --local --port 8081 --config wrangler.toml",
        "deploy": "wrangler publish --config wrangler.toml"
      }
    }
  • d

    dkfdkdodkms

    05/15/2023, 2:20 PM
    thank you
1...246324642465...2509Latest