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

Stuck on Uploading to FTP... #21

Open
JIRX opened this issue Jan 11, 2013 · 7 comments
Open

Stuck on Uploading to FTP... #21

JIRX opened this issue Jan 11, 2013 · 7 comments

Comments

@JIRX
Copy link

JIRX commented Jan 11, 2013

Once the bot reaches the amount of messages where it's supposed to upload the logs it will get stuck on "Uploading to FTP..." until doing ctrl+c and then it will connect to the FTP and upload. I would appreciate if this could get looked into.

@excid3
Copy link
Owner

excid3 commented Jan 11, 2013

Interesting. Have you verified your FTP credentials that you put in here? https://github.com/excid3/logbot/blob/master/logbot.py#L82

I haven't worked on this in a while, but it obviously needs to have the configuration pulled out into a file or arguments instead. 😮

@JIRX
Copy link
Author

JIRX commented Jan 11, 2013

Yes, once it reaches the Uploading part it will freeze until I do CTRL + C and then it uploads and continues logging perfectly fine till it gets to that part again. Meaning that the FTP credentials are correct.

@excid3
Copy link
Owner

excid3 commented Jan 11, 2013

Oh you're right. It's connecting before the bot starts. How high did you set the upload message limit? Maybe the connection has disconnected because it's idle?

@JIRX
Copy link
Author

JIRX commented Jan 11, 2013

I have it on 35 but I have tested it with 5 and it does the same thing.

@excid3
Copy link
Owner

excid3 commented Jan 11, 2013

Okay, I would haven't expected 35 to cause a problem. If you leave it going for a while as it's trying to upload, does it ever time out and throw an exception?

I get the feeling this is going to be pretty hard to replicate on my machine.

@JIRX
Copy link
Author

JIRX commented Jan 11, 2013

Odd, I just tested it again and the problem seems to have fixed itself. Sorry if I wasted your time or anything but it was doing this for a while earlier. Thanks anyway.

@excid3
Copy link
Owner

excid3 commented Jan 11, 2013

No worries. It might just be some intermittent connection issues or something. Keep me posted on it, but hopefully it wasn't a bug in the bot. 😃

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