×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

ZWO Drivers and Rasperry PI 4 for ALL SKY Getting started questions

  • Posts: 9
  • Thank you received: 1
Thanks for the clarification on that. I will keep the install directory /home/pi/allsky. Unfortunately when I was installing the case fan I just got and trying to put the board back in the bottom of the case I left the sd micro card in and accidentally snapped it when I pushed down so I got to wait till tomorrow until the new one arrives. Thank God there not too expensive.

Thanks again :)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 9 months ago #55358

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Hi Japaana,

I just got the new sd card yesterday and installed everything again. Everything from the hardware end seems to be working. It is taking images and such. The one problem I am having now is setting it up to my website and getting it to connect to FTP.

I enabled "true" to everything and all the stuff that should make it work. I also downloaded the website package to my site. Also to note, I am not using the GUI interface since I had trouble before with it. As far as putting files on my site. I created a new folder under Public HTML and called it "allsky" and put Thomas's files there. I did not do anything on the website end to FTP. Also I just installed a fresh Wordpress with SSL.

So below is what I am seeing in the terminal. The only thing I edited was my login and username below.

Thanks again for your help :)


# FTP/SFTP settings
PROTOCOL='ftp'
USER='myusername'
PASSWORD='mypassword!'
HOST='astrometeor.com'
IMGDIR='/allsky/'
MP4DIR='/allsky/videos/'
KEOGRAM_DIR='/allsky/keograms/'
STARTRAILS_DIR='/allsky/startrails/'

llsky.service - All Sky Camera
Loaded: loaded (/lib/systemd/system/allsky.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-06-14 01:31:44 EDT; 13h ago
Main PID: 742 (allsky.sh)
Tasks: 6 (limit: 4915)
Memory: 290.1M
CGroup: /system.slice/allsky.service
├─742 /bin/bash /home/pi/allsky/allsky.sh
└─879 ./capture -angle -6 -autoexposure 1 -autogain 0 -bin 1 -brightness 50 -coolerEnabled 0 -darkframe 0 -daytimeDelay 5000 -delay 10 -exposure 10000 -filename image.jpg -flip 0 -fontcolor 255 255 255 -fontline 1 -fontname 0 -

Jun 14 15:11:59 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:11:59 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:18 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:19 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:40 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:41 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:12:58 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:12:59 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
Jun 14 15:13:18 raspberrypi allsky.sh[742]: cd: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:57:BC)
Jun 14 15:13:19 raspberrypi allsky.sh[742]: put: image-resize.jpg: Fatal error: Certificate verification: certificate common name doesn't match requested host name ‘astrometeor.com’ (C7:9A:17:85:5D:C8:AD:73:1C:7B:0D:AE:8D:54:E2:C0:A8:25:5
~
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 9 months ago #55580

Please Log in or Create an account to join the conversation.

  • Posts: 472
  • Thank you received: 165
I use sftp to transfer files myself so haven't tinkered with the FTP upload. It seems to be using TLS or SSL for the ftp connection and the common name of the certificate it receives from the server doesn't match "astrometeor.com" it's trying to connect to so it aborts the connection. The name could be "somehost.astrometeor.com" for example so it doesn't match. If you connect lftp manually from the PI to your server with FTP, does it give the same error? There seems to be a configure option in lftp to ignore the certificate error (ssl:check-hostname), but fixing it in the server end or connecting to the host name in the common name would probably be best anyway. Or use sftp, doesn't even need password if you have keys configured :)
The following user(s) said Thank You: Brian
3 years 9 months ago #55787

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 1
Thanks Japaana,

I will try that before I only was trying to connect with the allsky.

:)
Telescopes:Celestron C11 SCT, Astro-Tech 8" RC, Skywatcher APO Equinox ED80 500mm Refractor @ F/6.25 Mounts: Skywatcher EQ6-R Pro Guide Scope: Orion 50mm Deluxe Barlows: AntaresXTL 1.5x, GSO 2x Shorty Cameras: ZWO 1600mm-P, ZWO385mc, ZWO 290mm. Imaging Computers: i5 Laptop and Rasberry Pi 4 4gb.
3 years 9 months ago #55791

Please Log in or Create an account to join the conversation.

Time to create page: 0.470 seconds