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

After while can't login "Network error" #5130

Closed
EgidijusViko opened this issue Mar 22, 2024 · 14 comments
Closed

After while can't login "Network error" #5130

EgidijusViko opened this issue Mar 22, 2024 · 14 comments
Labels

Comments

@EgidijusViko
Copy link

EgidijusViko commented Mar 22, 2024

Describe the issue

Problem appear when I connect to VPN. And try login to local it show "Address/api/network error" image added. From first expresion it looks like that some tokkens or what was cached, because after fully unistall application and install everything goes well again.

Reproduction steps

Steps to reproduce the behavior:

  1. Go on connect to profile.
  2. Download project.
  3. Close app.
  4. Wait ~30 minute or more.
  5. Try again login
  6. And show network error

image

Desktop (please complete the following information)

  • OS: [e.g. Windows]
  • QGIS Version [e.g. 3.22.0]
  • QFieldSync Version [e.g.4.0.0]

Mobile (please complete the following information)

  • Device: Android 13 Xioami
  • OS: [e.g. Android 11]
  • QField version: 3.20

Additional information

With older version it can't reproduce this problem but with 3.20 it started.

@suricactus
Copy link
Collaborator

What do you have in the qfield message log? Looks like you it's more your network connection from your qfield client than other.

@EgidijusViko
Copy link
Author

It show ssl handshake is unseccfully. Local find can't be find it.

@EgidijusViko
Copy link
Author

Also it can't be network failure if I reinstall app and everything goes well...

@EgidijusViko
Copy link
Author

EgidijusViko commented Mar 22, 2024

At least now trying it only can login but after that can't push changes and etc.
It looks like application itself drop connection. Or disspear some of configuration.
Sometimes it work without problem sometimes a disspear.

@suricactus
Copy link
Collaborator

QField does not keep constant connection to the server, and as you pointed out, uses token based authentication. You have this other level of abstraction as VPN and receive a network error. I have my suspicion these are interrelated. Please try without your VPN software and share your results.

Also, rephrased message log does not help a lot. There might be additional details in it that bring additional value.

In any case, if you want an in-depth support with your specific issue that is not reproducible for us, please drop us an email at sales [at] qfield.org.

@EgidijusViko
Copy link
Author

Tested also same problem when try verification with Wi-Fi with can reach qfieldcloud server. But same issue presist.
Please make note. That if I downgrade app to lower version all problems disspear.

@suricactus
Copy link
Collaborator

Can you point us to the last version it used to work as you expect and the last one that does not work as you expect? You can test all versions of QField here: https://github.com/opengisch/QField/releases

@EgidijusViko
Copy link
Author

Atlest at 3.19 version okey, no issue appear.

@suricactus
Copy link
Collaborator

suricactus commented Mar 22, 2024

It show ssl handshake is unseccfully. Local find can't be find it.

When you experience this QFIeldCloud issue, can you please try to open the changelog and see if it works? If it doesn't, it sounds like a general SSL issue. If it does, it puzzles me even more.

You can do that by going to the top-left menu, About QField, click arrow on Documentation button and select Changelog:
image

@EgidijusViko
Copy link
Author

[HTTP/0]
https://Hidden.lt/api/v1/deltas/6731fe33-ead6-4948-9cef-efc6cf63f810
/ Network Error.

SSL hello failed: Could not find locally found CA certificate

@suricactus
Copy link
Collaborator

What do you use for SSL authority of your secret server?

Can you please confirm this is a problem you also experience with app.qfield.cloud?

@nirvn nirvn added the feedback label Mar 24, 2024
@gounux
Copy link

gounux commented Apr 3, 2024

Hi, I'm facing the exact same issue here, using a custom QFieldCloud instance : [HTTP/0] https://DOMAIN/api/v1/auth/token Network Error in the login screen. With version 3.1.9 it is fine, the problem appears starting from version 3.2.

Can you please confirm this is a problem you also experience with app.qfield.cloud?

The problem does not appear on app.qfield.cloud. It appears on some self-hosted instances (not all) even if all are configured the same

What do you use for SSL authority of your secret server ?

SSL certificate self-signed, the certificates have been updated but the issue still appears

Copy link
Contributor

The QField project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale label Apr 18, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2024
@EgidijusViko
Copy link
Author

@suricactus Can reopen this ticket issue still presist. Maybe can said what kind of information be valueble for further investigation. Because at least same issue presist.

@github-actions github-actions bot removed the stale label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants