Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull Request to support HTTPS #26

Closed
fbambusi opened this issue May 9, 2020 · 4 comments
Closed

Pull Request to support HTTPS #26

fbambusi opened this issue May 9, 2020 · 4 comments

Comments

@fbambusi
Copy link

fbambusi commented May 9, 2020

Thank you for opening an issue on an esp32OTA Arduino library repository. To
improve the speed of resolution please review the following guidelines and
common troubleshooting steps below before creating the issue:

  • Do not use GitHub issues for troubleshooting projects and issues. GitHub issues
    are meant for known defects in the code. If you don't know if there is a defect
    in the code then start with troubleshooting on the forum first.

  • If following a tutorial or guide be sure you didn't miss a step. Carefully
    check all of the steps and commands to run have been followed. Consult the
    forum if you're unsure or have questions about steps in a guide/tutorial.

  • For Arduino projects check these very common issues to ensure they don't apply:

    • For uploading sketches or communicating with the board make sure you're using
      a USB data cable and not a USB charge-only cable. It is sometimes
      very hard to tell the difference between a data and charge cable! Try using the
      cable with other devices or swapping to another cable to confirm it is not
      the problem.

    • Be sure you are supplying adequate power to the board. Check the specs of
      your board and plug in an external power supply. In many cases just
      plugging a board into your computer is not enough to power it and other
      peripherals.

    • Double check all soldering joints and connections. Flakey connections
      cause many mysterious problems. See the guide to excellent soldering for examples of good solder joints.

If you're sure this issue is a defect in the code and checked the steps above
please fill in the following fields to provide enough troubleshooting information.
You may delete the guideline and text above to just leave the following details:

  • Arduino board: ESP32

  • Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.10

-I created the class secureEsp32FOTA, that can operate over https. I cloned the project and created a nwe branch, adding the class to the code as well as an example. I am not able to push the branch so as to create a Pull Request: could you please give me this possibility?

@workpage2
Copy link

Can you put it here?

@workpage2
Copy link

I used:

secureEsp32FOTA secureEsp32FOTA("myavr", 1.0);
secureEsp32FOTA._host="myavrupdate.ru"; //eg example.com
secureEsp32FOTA._descriptionOfFirmwareURL="/update.json"; //e /my-fw-versions

And I get the error:

Parsing failed

@kloz8879
Copy link

I used:

secureEsp32FOTA secureEsp32FOTA("myavr", 1.0);
secureEsp32FOTA._host="myavrupdate.ru"; //eg example.com
secureEsp32FOTA._descriptionOfFirmwareURL="/update.json"; //e /my-fw-versions

And I get the error:

Parsing failed

Make sure your JSON file is UTF-8 Encoded and the correct EOL characters are used (WIndows based encoding worked for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants