Comments (5)
Thank you for finding this. Merged #1040 to fix syncing of the camera object.
The camera object is supposed to be synchronized when indi-allsky starts, however, there was a bug that prevented that.
from indi-allsky.
Nice! Updated/restarted both instances and now have syncing - thanks...
2023-11-26T13:24:52.474717+08:00 allsky [INFO] MainProcess-1362/Upload-1 generic.connect() #40: Connecting to https://allskynas.discus-ray.ts.net/indi-allsky/sync/v1/camera (443) as foobar123 with requests_syncapi_v1
2023-11-26T13:24:52.475103+08:00 allsky [INFO] MainProcess-1362/Upload-1 generic.put() #50: Uploading camera
2023-11-26T13:24:52.808147+08:00 allsky [INFO] MainProcess-1362/Upload-1 requests_syncapi_v1.put() #172: File transferred in 0.3318 s (3.01 kB/s)
2023-11-26T13:24:52.812282+08:00 allsky [INFO] MainProcess-1362/Upload-1 uploader.processUpload() #439: Upload transaction completed in 0.3369 s
2023-11-26T13:25:07.287304+08:00 allsky [INFO] MainProcess-1362/Upload-1 generic.connect() #40: Connecting to https://allskynas.discus-ray.ts.net/indi-allsky/sync/v1/image (443) as foobar123 with requests_syncapi_v1
2023-11-26T13:25:07.287664+08:00 allsky [INFO] MainProcess-1362/Upload-1 generic.put() #50: Uploading /var/www/html/allsky/images/ccd_6440f61c-0c55-47e9-bb50-d3c7cadb5e8e/20231126/day/26_13/ccd1_20231126_132500.jpg
2023-11-26T13:25:08.746296+08:00 allsky [INFO] MainProcess-1362/Upload-1 requests_syncapi_v1.put() #172: File transferred in 1.4567 s (594.62 kB/s)
2023-11-26T13:25:08.750068+08:00 allsky [INFO] MainProcess-1362/Upload-1 uploader.processUpload() #439: Upload transaction completed in 1.4633 s
from indi-allsky.
I am actually working on this now. Increase the timeout
setting for your syncapi requests to something reasonable for uploading your videos. I am going to be increasing the default to 60 seconds.
from indi-allsky.
One other question if I may - any thoughts on why when I try and upload the older time-lapse images etc manually using ./misc/upload_sync.py --syncapi-images sync
I run into TimeOutErrors ...
May it have something do do with the local account I'm running upload_sync.py
not having access to the API key?
2023-11-26 13:47:14,772 [INFO] MainProcess upload_sync.addUploadEntries() #205: Adding 7 upload entries (47224 remaining)
2023-11-26 13:47:16,193 [INFO] MainProcess upload_sync._fileUploadWorkerStart() #720: Starting FileUploader process 1
2023-11-26 13:47:16,218 [INFO] MainProcess generic.connect() #40: Connecting to https://allskynas.discus-ray.ts.net/indi-allsky/sync/v1/video (443) as foobar123 with requests_syncapi_v1
2023-11-26 13:47:16,218 [INFO] MainProcess generic.put() #50: Uploading /var/www/html/allsky/images/ccd_6440f61c-0c55-47e9-bb50-d3c7cadb5e8e/20231125/allsky-timelapse_ccd1_20231125_night.mp4
2023-11-26 13:47:21,602 [ERROR] MainProcess uploader.processUpload() #369: Connection failure: ('Connection aborted.', TimeoutError('The write operation timed out'))
2023-11-26 13:47:21,616 [WARNING] MainProcess miscDb.addNotification() #719: Not adding existing notification
2023-11-26 13:47:21,624 [INFO] MainProcess generic.connect() #40: Connecting to https://allskynas.discus-ray.ts.net/indi-allsky/sync/v1/video (443) as foobar123 with requests_syncapi_v1
2023-11-26 13:47:21,624 [INFO] MainProcess generic.put() #50: Uploading /var/www/html/allsky/images/ccd_6440f61c-0c55-47e9-bb50-d3c7cadb5e8e/20231125/allsky-timelapse_ccd1_20231125_day.mp4
2023-11-26 13:47:27,050 [ERROR] MainProcess uploader.processUpload() #369: Connection failure: ('Connection aborted.', TimeoutError('The write operation timed out'))
2023-11-26 13:47:27,070 [WARNING] MainProcess miscDb.addNotification() #719: Not adding existing notification
2023-11-26 13:47:27,078 [INFO] MainProcess generic.connect() #40: Connecting to https://allskynas.discus-ray.ts.net/indi-allsky/sync/v1/video (443) as foobar123 with requests_syncapi_v1
2023-11-26 13:47:27,078 [INFO] MainProcess generic.put() #50: Uploading /var/www/html/allsky/images/ccd_6440f61c-0c55-47e9-bb50-d3c7cadb5e8e/20231124/allsky-timelapse_ccd1_20231124_night.mp4
2023-11-26 13:47:32,435 [ERROR] MainProcess uploader.processUpload() #369: Connection failure: ('Connection aborted.', TimeoutError('The write operation timed out'))
2023-11-26 13:47:32,442 [WARNING] MainProcess miscDb.addNotification() #719: Not adding existing notification
from indi-allsky.
Merged #1042 which separates the connection timeout from the read timeouts.
The default connection timeout is 10s and the read timeout is 60s.
from indi-allsky.
Related Issues (20)
- Python package build on Armbian fails: ERROR: No matching distribution found for numpy==1.21.2 HOT 6
- Camera not found - the server encountered an internal error ... HOT 9
- Setup.sh breaks on bookworm HOT 6
- v7.6 release - keogram/startrail broken at night? HOT 6
- error on upgrading on opi pc HOT 2
- Frame is dark even though gain and exposure look ok HOT 5
- QHY5III485C Focus Mode HOT 13
- External temperature script HOT 10
- 64 bit Bookworm and HQ camera fails HOT 16
- Remote camera not working: Cannot identify /dev/video0: 2, No such file or directory HOT 8
- Need help with two instances HOT 30
- timeouts after upgrade to latest HOT 2
- Oracle Cloud Infrastructure (OCI) Support HOT 8
- syncapi timelapse video transfers failing but images OK even with 900s timeouts HOT 17
- No image capture in 7.8 HOT 23
- Restarting pi services HOT 9
- Failure during fresh install / Ubuntu 22.04.3 (PyIndi-Client / SWIG) HOT 8
- Fit Files - automated move to Amazon S3 bucket HOT 8
- Problems with Svbony SV305 camera HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indi-allsky.