Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to ASI2600 via INDI #217

Closed
airscottdenning opened this issue Jan 28, 2022 · 16 comments
Closed

Can't connect to ASI2600 via INDI #217

airscottdenning opened this issue Jan 28, 2022 · 16 comments
Assignees

Comments

@airscottdenning
Copy link

Describe the bug
Entire MW4 application hangs (becomes unresponsive to user input) when ASI2600 is selected via INDI

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Devices'
  2. Click on 'Core devices -> Camera -> Set'
  3. Wait for ASI2600 to be identified
  4. Click "OK"
  5. MW4 completely unresponsive thereafter

Expected behavior
Camera indicator should now show "Indi - ZWO CCD ASI2600MM Pro".
Indicator should turn green
Camera indicator at top of MW4 window should turn from red to green
I should be able to image and run a mount model

Screenshots
Screen Shot 2022-01-27 at 6 09 23 PM
Screen Shot 2022-01-27 at 6 09 34 PM
Screen Shot 2022-01-27 at 6 09 47 PM

Desktop (please complete the following information):

  • OS: ubuntu 20.04.3 LTS on amd mini-PC
  • Browser: I'm not using a browser? Just MW4 on linux
  • Version MW4 2.1.7

Additional context
Previous configuration used ASI1600. New ASI2600 not identified in "Devices -> Core devices" panel. Click "Set" then "Search." Finds ASI2600. Then click OK. MW4 no longer responds to clicks and must be terminated.

Enabled Debug logging. Here's the last 100 lines from the log :
u1:/Astro/MW4 $ tail -100 mw4-2022-01-28.log
[2022-01-28 01:09:36.717][I][ indiClass.py][ 228] INDI device snoop: [LX200 10micron]
[2022-01-28 01:09:36.717][I][ indiBase.py][ 830] New device [LX200 10micron]
[2022-01-28 01:09:36.717][I][ indiBase.py][ 785] Device [LX200 10micron] connected
[2022-01-28 01:09:36.718][I][ indiClass.py][ 228] INDI device snoop: [ZWO CCD ASI2600MM Pro]
[2022-01-28 01:09:36.718][I][ indiBase.py][ 830] New device [ZWO CCD ASI2600MM Pro]
[2022-01-28 01:09:36.718][I][ indiBase.py][ 785] Device [ZWO CCD ASI2600MM Pro] connected
[2022-01-28 01:09:36.719][I][ indiClass.py][ 228] INDI device snoop: [LX200 10micron]
[2022-01-28 01:09:36.719][I][ indiBase.py][ 830] New device [LX200 10micron]
[2022-01-28 01:09:36.719][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.719][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.719][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.720][I][ indiClass.py][ 228] INDI device snoop: [ASI EFW]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [ASI EFW]
[2022-01-28 01:09:36.720][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.720][I][ indiClass.py][ 228] INDI device snoop: [LX200 10micron]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [LX200 10micron]
[2022-01-28 01:09:36.720][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.720][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.720][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.721][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.721][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.725][U][ mainApp.py][ 417] Message window: [Device connected: [filter]]
[2022-01-28 01:09:36.725][I][ indiBase.py][ 785] Device [ASI EFW] connected
[2022-01-28 01:09:36.725][I][ indiBase.py][ 451] Device [ASI EFW] was connected at startup
[2022-01-28 01:09:36.726][I][ indiClass.py][ 228] INDI device snoop: [LX200 10micron]
[2022-01-28 01:09:36.726][I][ indiBase.py][ 830] New device [LX200 10micron]
[2022-01-28 01:09:36.726][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.727][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.727][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.727][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.727][I][ indiClass.py][ 228] INDI device snoop: [ASI EFW]
[2022-01-28 01:09:36.727][I][ indiBase.py][ 830] New device [ASI EFW]
[2022-01-28 01:09:36.727][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.727][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.731][U][ mainApp.py][ 417] Message window: [Device connected: [focuser]]
[2022-01-28 01:09:36.731][I][ indiBase.py][ 785] Device [MoonLite] connected
[2022-01-28 01:09:36.731][I][ indiBase.py][ 451] Device [MoonLite] was connected at startup
[2022-01-28 01:09:36.733][I][ indiClass.py][ 228] INDI device snoop: [LX200 10micron]
[2022-01-28 01:09:36.733][I][ indiBase.py][ 830] New device [LX200 10micron]
[2022-01-28 01:09:36.733][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.733][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.733][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.734][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.734][I][ indiClass.py][ 228] INDI device snoop: [ASI EFW]
[2022-01-28 01:09:36.734][I][ indiBase.py][ 830] New device [ASI EFW]
[2022-01-28 01:09:36.734][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.734][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.738][U][ mainApp.py][ 417] Message window: [Device connected: [sensorWeather]]
[2022-01-28 01:09:36.739][I][ indiBase.py][ 785] Device [Pegasus PPBA] connected
[2022-01-28 01:09:36.739][I][ indiBase.py][ 451] Device [Pegasus PPBA] was connected at startup
[2022-01-28 01:09:36.743][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.744][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.744][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.744][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.744][I][ indiClass.py][ 228] INDI device snoop: [ASI EFW]
[2022-01-28 01:09:36.744][I][ indiBase.py][ 830] New device [ASI EFW]
[2022-01-28 01:09:36.744][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.744][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.753][I][ indiClass.py][ 228] INDI device snoop: [Rotator Simulator]
[2022-01-28 01:09:36.753][I][ indiBase.py][ 830] New device [Rotator Simulator]
[2022-01-28 01:09:36.753][I][ indiClass.py][ 228] INDI device snoop: [Focuser Simulator]
[2022-01-28 01:09:36.754][I][ indiBase.py][ 830] New device [Focuser Simulator]
[2022-01-28 01:09:36.754][I][ indiClass.py][ 228] INDI device snoop: [ASI EFW]
[2022-01-28 01:09:36.754][I][ indiBase.py][ 830] New device [ASI EFW]
[2022-01-28 01:09:36.754][I][ indiClass.py][ 228] INDI device snoop: [SQM]
[2022-01-28 01:09:36.754][I][ indiBase.py][ 830] New device [SQM]
[2022-01-28 01:09:36.754][I][ indiClass.py][ 228] INDI device snoop: [ZWO CCD ASI174MM Mini]
[2022-01-28 01:09:36.754][I][ indiBase.py][ 830] New device [ZWO CCD ASI174MM Mini]
[2022-01-28 01:09:36.754][I][ indiBase.py][ 785] Device [ZWO CCD ASI174MM Mini] connected
[2022-01-28 01:09:36.763][I][ indiBase.py][ 785] Device [ASI EFW] connected
[2022-01-28 01:09:36.764][I][ indiClass.py][ 228] INDI device snoop: [MoonLite]
[2022-01-28 01:09:36.764][I][ indiBase.py][ 830] New device [MoonLite]
[2022-01-28 01:09:36.764][I][ indiBase.py][ 785] Device [MoonLite] connected
[2022-01-28 01:09:36.765][I][ indiClass.py][ 228] INDI device snoop: [Pegasus PPBA]
[2022-01-28 01:09:36.766][I][ indiBase.py][ 830] New device [Pegasus PPBA]
[2022-01-28 01:09:36.766][I][ indiBase.py][ 785] Device [Pegasus PPBA] connected
[2022-01-28 01:09:36.768][I][ indiClass.py][ 228] INDI device snoop: [MGPBox]
[2022-01-28 01:09:36.768][I][ indiBase.py][ 830] New device [MGPBox]
[2022-01-28 01:09:36.769][I][ indiClass.py][ 228] INDI device snoop: [Dome Simulator]
[2022-01-28 01:09:36.769][I][ indiBase.py][ 830] New device [Dome Simulator]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [LX200 10micron]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [ZWO CCD ASI2600MM Pro]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [Rotator Simulator]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [Focuser Simulator]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [ASI EFW]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [SQM]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [ZWO CCD ASI174MM Mini]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [MoonLite]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [Pegasus PPBA]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [MGPBox]
[2022-01-28 01:09:38.709][I][ indiBase.py][ 398] Remove device [Dome Simulator]
[2022-01-28 01:09:38.710][I][ indiBase.py][ 424] INDI client disconnected
[2022-01-28 01:09:38.711][U][ mainApp.py][ 417] Message window: [Indi discovered: [ZWO CCD ASI2600MM Pro]]
[2022-01-28 01:09:38.711][U][ mainApp.py][ 417] Message window: [Indi discovered: [ZWO CCD ASI174MM Mini]]
[2022-01-28 01:09:40.168][W][onlineWeather.p][ 189] [http://api.openweathermap.org/data/2.5/forecast?lat=40.58&lon=-105.10&APPID=&APPID=723e61f1fa12e4a60b438eb31c7da865] status is not 200
[2022-01-28 01:09:50.179][W][onlineWeather.p][ 189] [http://api.openweathermap.org/data/2.5/forecast?lat=40.58&lon=-105.10&APPID=&APPID=723e61f1fa12e4a60b438eb31c7da865] status is not 200
[2022-01-28 01:09:51.877][U][ loader.py][ 178] Click Button : [ok]
u1:
/Astro/MW4 $

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Hi Scott,
sorry to hear. If possible, please drop the whole log file to the webpage as some issue might have the trigger point much earlier.
Michel

@mworion mworion self-assigned this Jan 28, 2022
@airscottdenning
Copy link
Author

Here's the log. Thank you for your help!

log_18-27-11.txt

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Scott,
sorry another request. Could you post the MW4 log as well (full)
Many thanks,
Michel

@airscottdenning
Copy link
Author

Oops! Sorry I posted the wrong file before. Here's the full MW4 log.
mw4-2022-01-28.log

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Scott
there is something strange, I see a error message that the device name is not recognized.
Additional request: could you post the used config file as well ?
Still I have to take car in case of a missing element that MW4 does not crash. But I understood if you connect and choose the ASI ZWO 1600MM it works
Michel

@airscottdenning
Copy link
Author

Here's the contents of config.cfg from MW4 on the mini-PC that's also running Indi. I had to add .txt for GitHub
config.cfg.txt

@airscottdenning
Copy link
Author

airscottdenning commented Jan 28, 2022

I just ran MW4 on an indoor Mac (with the mount and camera still connected to Indi on the mini-PC outside), and it connects just fine to the ASI2600. And yes, I've been using MW4 for modeling with the ASI1600 successfully for many months. The only change is the imaging camera.

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Scott,
if found some data in the config like "u1.local" as Host address for Indi server. Is this right ?
Michel

@airscottdenning
Copy link
Author

Sorry, I confused myself and sent you the config.cfg from my indoor Mac (where MW4 behaves as it should).

Here's the one from the outdoor miniPC (named u1, runs Indi locally, connected to the camera via USB3):
config.cfg.txt

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Scott,
I think it's the other way round, but no worry. Just digging in further.
You said, you can reproduce the situation. If so, please delete the config file (or better rename it), delete the MW4 log (as you sent it to me already) and start MW4. Please set the log level to trace (under setting/misc) and try to setup the ASI2600 as camera device. Nothing else configured. After that, please post the MW$ log.
Sorry for the inconvenience.
Michel

@airscottdenning
Copy link
Author

OK, here you go. Camera showed up and MW4 didn't crash, but neither did the Camera indicator turn from red to green
mw4-2022-01-28.log
.

@mworion
Copy link
Owner

mworion commented Jan 28, 2022

Scott,
I'm out of simple ideas. I do not own a ASI2600, but a QHY600. So even with this large sensor MW4 connects and you could do images. My setup is mini pc on rig running ubuntu 20.04 LTS with MW2.1.7. The camera is directly connected to the mini pc and there is a indi server running on this mini pc. So my guess is that something is running out of memory. Critical points:

mini pc memory: mine is running with 4 GB of memory.
indi server: the standard installation does have some issues with large sensors.
USB timing: also an topic when connecting.
MW4: the having the imaging windows open, MW4 stores the image in float -> for QHY600 camera the memory is not small.

Do you have the chance to run EKOS as well on the mini pc and check if the chain camera - indiserver - EKOS on the mini pc runs ?
Michel

Only other chance to arrange a TeamViewer (probably tomorrow) to have a closer look.
Right now I do not see any errors in the log neither in the indi traces.

@airscottdenning
Copy link
Author

My mini PC has 32 GB of RAM (I use it for lunar and planetary), so it’s unlikely to be an out-of-memory problem.

I’m imaging successfully with Ekos on the miniPC, so I know the camera-indie-EKos-works fine.

Thanks for suggesting deleting config.cfg and then setting up front scratch. I will try this. Also it appears I can run just fine with MW4 on the indoors Mac, with Indi-Ekos running outdoors by the mount. So I will try running a mount model that way tonight.

I'd be happy to arrange a TeamViewer session at your convenience. In what time zone do you live?

As always, thank you VERY MUCH for your wonderful work!

@airscottdenning
Copy link
Author

I believe I have everything working now on the miniPC. Deleting the config.cfg and then reconnecting all equipment from scratch appears to have restored my functionality. I don't know what was wrong before but everything is working now. We can mark this issue closed -- thanks again!

@mworion
Copy link
Owner

mworion commented Jan 29, 2022

Hi Scott,
sorry for the late response: Good to hear that it work now. If you have a second left, please post the new config so that I could compare it and as A/B testing you might use the old configuration you posted and could check if the issue comes back. At least we would know that the config is the reason for the behavior.
Michel

@mworion mworion closed this as completed Jan 29, 2022
@airscottdenning
Copy link
Author

Hi Michel,

Here's the new config.cfg with ASI2600 working as expected. I was able to run a new model and all is well.

Also just now went back to the old config.cfg and verified exactly the same behavior as reported above.

Thanks again for all your help!
Scott
config.cfg.new.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants