-
Notifications
You must be signed in to change notification settings - Fork 44
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
DNS lookup failure on Arch Linux #664
Comments
It could happen when wakatime-cli can't reach the API. Are you behind a proxy or corporate firewall? Did it work before? |
The last line says |
Ah, I'm using a OpenVPN Connection. May it cause of the problem? |
i turned vpn off, but still doesn't work. |
I am having this issue but I'm able to ping api.wakatime.com |
@0xj0hn has it worked previously or was always broken? |
I'm having simillar problem with vim package. I've installed it properly, but do not see it on my 'plugins status page'. I've tried to use "WakaTimeToday" commend, but nothing happend and in the logs I can see this info: |
@FutureInventor those logs say the plugin couldn't connect to the API. Are you able to try it from a different internet connection? |
I've connected to different internet connection and still could not connect to API (I am still able to ping api.wakatime.com though). |
Can you run:
|
Message I've got after run 'curl https://api.wakatime.com/api/v1/meta': |
That means you're not behind any proxy and wakatime-cli should also be able to connect. Maybe it's being blocked by some firewall or antivirus on your machine? |
Did it work before and stop working recently? If so, could you try downloading an old version and see if running that with |
From what I know, I do not have any firewall or antivirus on my device. If that helps, I try to use this vim plugin, on Android 12 in Termux terminal and neo-vim text editor. I've installed that plugin two days ago, so I do not know how older versions works, but I might give it a shot and try to download it. |
In that case, it probably also won't work with older versions. You're also using Linux same as the others in this thread? What flavor of linux? |
Looking closer, that error message is a DNS error meaning it's not able to resolve the IP address for Does it work if you add these 2 lines to your
|
Changing config file brought some progress I guess. Now I've managed to fetch "WakaTimeToday" request, although it's empty for some reason. I still can not see vim-plug in my Plugin Status page as well. Logs: |
The reason you don't see This proves it's a DNS problem, since using the IP address of
|
Output of following commands:
grep "nameserver" /etc/resolv.conf: ip route show: |
I've also deleted |
Since |
Let me know if I can help you further with my logs in any way. |
Was there a short-term solution to this? Should I delete |
@TurnrDev the short-term solution is adding these lines to your api_url = https://143.244.210.202/api/v1
no_ssl_verify = true Deleting your |
Perfect! I had to manually run the cli to sync offline activity but I think I got it all in, thanks! Been not working for months so I ran it with 10k heartbeats a few times |
@FutureInventor and @TurnrDev if you remove the found from docker/cli#2618 (comment) |
It's working now. fixed. I've changed my DNS and it started working |
Changing your dns is the same as modifying your |
Let's leave this open until it works without manual modifications. |
@TurnrDev after removing the |
Expected behavior (what should have happened):
Actual behavior (what went wrong):
Environment:
Logs:
Any suggestions?
The text was updated successfully, but these errors were encountered: