Giter Site home page Giter Site logo

esp8266-ci-ota's People

Contributors

squix78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

esp8266-ci-ota's Issues

'Verify bin header failed' error

Hi Dan, as you have probably have gathered I have been working towards re-creating your awesome continuous delivery project, and learning lots in the process. I think I'm almost there. I've got Travis and platformio setup to auto generating the compiled .bin on a release, see blog post. Today I setup the server php script and the ESP code. At first it seemed to work when the build number of the firmware matched the build number on the GitHub release I saw the following output from the ESP:

    Going to update firmware...
    Checking for Update. Current version: 0.0.1
    HTTP_UPDATE_NO_UPDATES

However when I released a point updated release on Github (0.0.1 > 0.0.2), I got the following update from the ESP:

    Going to update firmware...
    Checking for Update. Current version: 0.0.1
    HTTP_UPDATE_FAILD Error (-106): Verify bin header failedGoing to update firmwar. 

Have you any idea what could be causing the bin header failed error? The PHP script is obviously working to serve up the updated .bin, however the ESP http updater seem to be throwing an error.

Here is my ESP code with modified URL for the php scrip. The server code is unchanged ([appart from the repo URL])(https://github.com/openenergymonitor/EmonESP/blob/ota/ota/firmware.php#L3). My php script is served from here if you want to test it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.