chrismaddalena/Goreport

Campaign ID None does not exist

Opened this issue · 1 comments

When connecting to my gophish server, I get an error " Details: HTTPSConnectionPool(host='44.2xx.xx.55', port=3333): Max retries exceeded with url: /api/campaigns/50onnection: [Errno 110] Connection timed out')). Followed by: Success!
[!] Looks like campaign ID None does not exist! Skipping it...
[!] There was a problem processing campaign ID 50!
L.. Details: 'NoneType' object has no attribute 'timeline'
Issue was repeatable on a vanilla Ubuntu 20.04.5 and my kalli 2022.4 box. Interesting enough, I was able to get the code to work on my Windows machine using git for windows. Any recommendations?

That error means the script could not connect to the host using HTTPS and the provided IP and port. Gophish does not use TLS by default, so you might have needed to use http://44.2xx.xx.55:3333. The script should have halted once the connection failed. It tried to continue with none of the data from the server, which caused the ret of that output.