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

Could not verify token #40

Closed
s13t0ttz opened this issue May 13, 2022 · 13 comments
Closed

Could not verify token #40

s13t0ttz opened this issue May 13, 2022 · 13 comments

Comments

@s13t0ttz
Copy link

I input the token emailed to me. After a long delay a window pops up and says could not verify.

I tried the windows uploader too and it just stays loading.

@sokol07
Copy link
Collaborator

sokol07 commented May 17, 2022

Have you tried it again later? Some time ago I had similar problem, I thought there is something wrong with my token but after a few hours it just worked at first try.

@OpenScanEu
Copy link
Collaborator

@s13t0ttz I just released a new version of the uploader, could you try again with this one? Uploader for OpenScanCloud.zip

@s13t0ttz
Copy link
Author

s13t0ttz commented Jun 10, 2022

@s13t0ttz I just released a new version of the uploader, could you try again with this one? Uploader for OpenScanCloud.zip

Here's the log from the standalone.
OpenScanUploader.log

@s13t0ttz
Copy link
Author

Hello! Have either of you had a chance to look at the log?

I'd really like to get the scanner working fully.

@josepmy
Copy link

josepmy commented Jun 17, 2022

Hello @s13t0ttz I guess you exceed the max retries with your token.
Max retries exceeded with url: /getTokenInfo?token=6X3153ae6a744326a5461adf4e784e78

And then you get a timeout, did you double-check the settings and your token?

@s13t0ttz
Copy link
Author

Hi Josepmy. Thanks for pointing that out.

What settings would I double check?

I reviewed the email I got from Thomas with the token and it is correct.

This is the standalone uploader. There's no settings to adjust that I see.

@s13t0ttz
Copy link
Author

Thomas? What do I do? Can you email me a new token?

@josepmy
Copy link

josepmy commented Jun 24, 2022

As I know, in my case using the python script to upload I must config the token inside the settings.
Also check if you have any antivirus or some kind of app that could block the connection.

@josepmy
Copy link

josepmy commented Jun 25, 2022

@s13t0ttz I just test my script with your token and works perfectly sent the images and you should receive an email with the result of the scan. Please ignore the results they are test images.
This means that your token and the connection are ok, so the issue should be in your settings, check antivirus or block apps on your computer.

@s13t0ttz
Copy link
Author

@josepmy - Thanks for doing that test! It is very helpful!

Now that I think about it, I was separately trying to run Home Assistant on the RPI and I had trouble getting to the internet and what solved it was a command i input into the CLI. It was ipv4.ignore-auto-dns. Ater I did that, HomeAssistant ran like a charm. Unfortunately, I don't know what that means or how to solve that.

I'm guessing something along this line. I can hit the Check for Updates button on the user interface and it works fine. Somehow just the token part isn't going through.

@s13t0ttz
Copy link
Author

s13t0ttz commented Jul 5, 2022

@josepmy - I have firewall turned off and no antivirus. What do you think about the ignore-auto-dns point? Is it possible there's some issue here?

@sokol07
Copy link
Collaborator

sokol07 commented Jul 12, 2022

From what I see the issue looks like you couldn't communicate with the openscan server. What PC are you using, what OS? Do you have any non-standard security policies set up? What DNS servers do you use?
The error in log, the ignore-auto-dns information, fact that both built-it and standalone updater doesn't work make me think that there is some trouble resolving the openscanfeedback.dnsuser.de address by your PC. A quick check - can you ping this address? I've also tried requesting validation of your token (manually, with Postman) from the server and it seems to work fine, so the server side isn't an issue I think.

@sokol07
Copy link
Collaborator

sokol07 commented Jul 26, 2022

I close the issue as this is not likely to be the OpenScan firmware or server-side issue. If the problem returns - we can reopen the issue.

@sokol07 sokol07 closed this as completed Jul 26, 2022
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

4 participants