Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Response code 504 sending data to data.envirodiy.org

Home Forums Monitor My Watershed Response code 504 sending data to data.envirodiy.org

Viewing 9 reply threads
  • Author
    Posts
    • #13210
      dan@wachusett
      Participant
        I am in need of help troubleshooting why my Mayfly logger cannot send data to EnviroDIY.
        Here are some details from the serial monitor:

        09:51:58.564 -> Now running DWRI_CitSci.ino on Logger WAC

      • #13211
        BrianJastram
        Participant

          Maybe it’s a ModularSensors Library problem. I’m using version 0.23.11

        • #13212
          dan@wachusett
          Participant
            That was a good suggestion Brian. I updated my ModularSensor library from GitHub to version 0.23.16. I am still getting the 504 Response code however:

          • #13213
            BrianJastram
            Participant
              Dan,
              My output looks like this:
              Sending data to [ 0 ] data.envirodiy.org
              POST /api/data-stream/ HTTP/1.1
              Host: data.envirodiy.org
              TOKEN: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
              Content-Length: 318
              Conte
            • #13215
              dan@wachusett
              Participant
                Brian,

                Other than your Response code [201], the only difference I see between my output and yours is that you use a 6 hour offset from UTC, while I do not. I know my data is being transmitted because

              • #13216
                BrianJastram
                Participant
                  Dan,

                  I’m using Platform IO.
                  I assume you’re talking about the ‘Recent Data Sessions Table’ when you referenced the hologram activity log. I use that also and have noticed (and

                • #13218
                  dan@wachusett
                  Participant
                    I was able to compile and upload the sketch using PlatformIO on Atom, however the Response Code 504 persists. I used the ModularSensors Library version 0.23.16. Since the data is being written to the
                  • #13219
                    BrianJastram
                    Participant
                      Dan,
                      That is so frustrating. It sounds like you are making good efforts at troubleshooting.
                      Besides trying ModularSensors Library version 0.23.11 and checking that the *.ino file and Platformio.ini fi
                    • #13220
                      dan@wachusett
                      Participant
                        Brian,

                        I rebuilt the project with ModularSensors Library version 0.23.11 and it worked! I don’t really know what all the differences were between versions, but I did notice a couple of things

                      • #13221
                        BrianJastram
                        Participant

                          Fantastic! That’s just great. It feels good to have helped.

                      Viewing 9 reply threads
                      • You must be logged in to reply to this topic.