Giter Site home page Giter Site logo

crscheid / image-watcher Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 22 KB

A docker image that aggregates multiple image URLs from webcams or other sources into a single image and distributes it according to user preferences

License: MIT License

PHP 100.00%

image-watcher's People

Contributors

crscheid avatar

Watchers

 avatar

image-watcher's Issues

Logger says file uploaded even on failure

[2016-10-29 22:55:53] image-watcher.ERROR: Exception found in trying to upload file to seafile. Try checking your configuration. This may occur if you are utilizing an encrypted library without an specified encryption key via CAM_SEAFILE_ENCRYPTION_KEY. Error message: Server error: `POST https://xx.xx.xx:12347/seafhttp/upload-api/b1e4f28b-c82b-4af6-baec-a3c9d11fa585` resulted in a `500 Internal Server Error` response: {"error": "Internal error "}  [] []
[2016-10-29 22:55:53] image-watcher.INFO: Saved 2016-10-29-22-55-49.jpg to seafile [] []

Process fails when trying to decrypt repository

Need to robustify this a little more:

[2016-10-28 19:39:25] image-watcher.ERROR: Could not remove old files from Seafile. Error message: cURL error 7: Failed to connect to server.xxx port 12347: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) [] []
[2016-10-28 19:39:25] image-watcher.INFO: Requesting library decryption [] []
[2016-10-28 19:39:25] image-watcher.INFO: Decrypting library resource: 4bd34bc0-a274-4f89-bf7a-23adfb5f8154 [] []

Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to server.xxx port 12347: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Stack trace:
#0 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Obje in /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

Process failure when seafile host not available during unencryption process

The process will fail if seafile is unavailable while it tries to decrypt the seafile resource.

[2016-10-26 16:49:41] image-watcher.INFO: Decrypting library resource: 4bd34bc0-a274-4f89-bf7a-23adfb5f8154 [] []

Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to xxxx.xxxx.xxxx port 12347: Connection timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Stack trace:
#0 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#2 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
#3 /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Ob in /usr/src/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

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.