GithubHelp home page GithubHelp logo

Invocation of SMAspot hangs about sbfspot HOT 4 CLOSED

sbfspot avatar sbfspot commented on September 18, 2024
Invocation of SMAspot hangs

from sbfspot.

Comments (4)

SBFspot avatar SBFspot commented on September 18, 2024

[SBF@26/07/2014]
Most probably caused by outage of pvoutput.org yesterday... so nothing to worry about
If you have logging enabled, you should see some timeout errors
See also this thread on a Dutch forum - message of 25-jul

from sbfspot.

SBFspot avatar SBFspot commented on September 18, 2024

[fdekruijf@26/07/2014]
I don't think it is caused by outage of pvoutput.org, but more by being unable to reach it, which may also be caused by a broken connection via wi-fi to the router. In my view the program should have a timeout when a connection can not be established within a certain period of time and not hang indefinitely, which is the case now.

from sbfspot.

SBFspot avatar SBFspot commented on September 18, 2024

[SBF@26/07/2014]
I see now... the one and only Freek :-)
Well, whether it's an outage of pvoutput or your internet connection, the result is the same.
In version 245, there is a timeout of 30 sec. but I never tried if this code also works well:

PVOutput PVO(cfg.PVoutput_SID, cfg.PVoutput_Key, 30);

My test version 3.0 (separated sbfspot and uploader) is doing it very well:

[09:56:04] INFO: : Uploading datapoint: 20140725,09:55,14490612,336,,,43.26,232.51 => OK (200)
[10:01:22] INFO: : Uploading datapoint: 20140725,10:00,14490645,396,,,43.15,232.4 => OK (200)
[10:06:39] INFO: : Uploading datapoint: 20140725,10:05,14490681,432,,,43.36,233.89 => OK (200)
[10:12:27] ERROR: : addBatchStatus() returned Timeout was reached
[10:14:44] ERROR: : addBatchStatus() returned Timeout was reached
[10:17:01] ERROR: : addBatchStatus() returned Timeout was reached
[10:19:48] ERROR: : addBatchStatus() returned Timeout was reached
[10:22:35] ERROR: : addBatchStatus() returned Timeout was reached
[10:25:22] ERROR: : addBatchStatus() returned Timeout was reached
[10:28:09] ERROR: : addBatchStatus() returned Timeout was reached
[10:30:59] ERROR: : addBatchStatus() returned Timeout was reached
[10:33:47] ERROR: : addBatchStatus() returned Timeout was reached
[10:36:34] ERROR: : addBatchStatus() returned Timeout was reached
[10:39:21] ERROR: : addBatchStatus() returned Timeout was reached
[10:41:10] ERROR: : Uploading 7 datapoints, starting with 20140725,10:10,14490723,504,,,43.47,234.43 PVOutput is currently offline for maintenance.
[10:42:58] ERROR: : Uploading 7 datapoints, starting with 20140725,10:10,14490723,504,,,43.47,234.43 PVOutput is currently offline for maintenance.
[10:44:46] ERROR: : Uploading 7 datapoints, starting with 20140725,10:10,14490723,504,,,43.47,234.43 PVOutput is currently offline for maintenance.
[10:46:35] INFO: : Uploading 8 datapoints, starting with 20140725,10:10,14490723,504,,,43.47,234.43 => OK (200)
[10:51:53] INFO: : Uploading datapoint: 20140725,10:50,14491244,984,,,44.42,234.56 => OK (200)
[10:57:11] INFO: : Uploading datapoint: 20140725,10:55,14491334,1080,,,44.52,234.21 => OK (200)

from sbfspot.

SBFspot avatar SBFspot commented on September 18, 2024

Issue closed by SBF with comment
V3.0 released

Reason closed
Fixed

from sbfspot.

Related Issues (20)

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.