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

Provide better error message of what is going on #4

Open
lemmy opened this issue Nov 30, 2015 · 4 comments
Open

Provide better error message of what is going on #4

lemmy opened this issue Nov 30, 2015 · 4 comments

Comments

@lemmy
Copy link

lemmy commented Nov 30, 2015

Hi,

cshark keeps failing on me and I double checked my config file. What now? ;-)


capturing traffic to file: '/tmp/cshark.pcap-Xsr4vc' ...
1 packets captured
uploading capture ...
cshark[3928]: cshark: received error, please double check your config file

cshark: received error, please double check your config file

For example, it would be helpful to know, what the actual HTTP status code is.

Thanks

@lemmy
Copy link
Author

lemmy commented Nov 30, 2015

FWIW: The root cause of my problem is fixed by e575ab3

@thomasp11
Copy link
Member

Hi Lemmy,

I agree. The error reporting should be updated so that the error displayed can come from the json response returned by the CloudShark API or any errors returned by uclient which handles the uploading, such as a bad SSL certificate.

Thanks for reporting this. Just to clarify your problem has been fixed? Are you uploading to openwrt.cloudshark.org or www.cloudshark.org?

Thanks!

@lemmy
Copy link
Author

lemmy commented Nov 30, 2015

The latter. It works with www.cloudshark.org but doesn't with openwrt.cloudshark.org.

@thomasp11
Copy link
Member

Hi Lemmy,

The new version of cshark will not work with openwrt.cloudshark.org. We are currently trying to migrate these users over to www.cloudshark.org. Thanks again for reporting and looking into this! I'm glad you were able to resolve the issue with the new version.

-Tom

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

No branches or pull requests

2 participants