{"action":"created","issue":{"url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/329","repository_url":"https://api.github.com/repos/tiliado/nuvolaplayer","labels_url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/329/comments","events_url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/329/events","html_url":"https://github.com/tiliado/nuvolaplayer/issues/329","id":224866468,"number":329,"title":"DNS Failure with DNSMasq","user":{"login":"fenryxo","id":853706,"avatar_url":"https://avatars2.githubusercontent.com/u/853706?v=3","gravatar_id":"","url":"https://api.github.com/users/fenryxo","html_url":"https://github.com/fenryxo","followers_url":"https://api.github.com/users/fenryxo/followers","following_url":"https://api.github.com/users/fenryxo/following{/other_user}","gists_url":"https://api.github.com/users/fenryxo/gists{/gist_id}","starred_url":"https://api.github.com/users/fenryxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenryxo/subscriptions","organizations_url":"https://api.github.com/users/fenryxo/orgs","repos_url":"https://api.github.com/users/fenryxo/repos","events_url":"https://api.github.com/users/fenryxo/events{/privacy}","received_events_url":"https://api.github.com/users/fenryxo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-27T18:04:33Z","updated_at":"2017-05-02T18:36:04Z","closed_at":null,"body":"@MetricMike commented on [Thu Apr 27 2017](https://github.com/tiliado/tiliado-repositories/issues/21)\n\nRunning the Spotify app gives me `Error resolving 'play.spotify.com': Temporary failure in name resolution` and a dialog error titled \"Integration error\" with `Failed to inject JavaScript API. Function 'Nuvola.core.emit' failed. file:///app/share/nuvolaplayer3/web_apps/spotify/integrate.js:99: SecurityError: The operation is insecure. The application might not function properly.`\r\n\r\nThe two changes I made which I think led to this were installing dnsmasq (directs *.dev to 127.0.0.1) and disabling DNSStubListener on systemd-resovlerd. I believe this has the consequence of forcing DNS lookups through DNSMasq, but I'm not 100%.\r\n\r\nUsing the official Spotify client or the web player through Chrome work fine. \r\n\r\nAny ideas? \r\n\r\n---\r\n\r\n`flatpak list`\r\n```\r\neu.tiliado.Nuvola/x86_64/stable           system,current\r\neu.tiliado.NuvolaAppSpotify/x86_64/stable system,current\r\norg.gnome.Platform.Locale/x86_64/3.22     system,runtime\r\norg.gnome.Platform/x86_64/3.22            system,runtime\r\n```\r\n`flatpak info eu.tiliado.NuvolaAppSpotify`\r\n```\r\napp/eu.tiliado.NuvolaAppSpotify/x86_64/stable nuvola c91cf23a8d3beffdf30f43fb333c7b6c7f20ef234395ac8d1a7edb1154a5945c 223.0 MB\r\n```\r\n`lsb_release -a`\r\n```\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 17.04\r\nRelease:\t17.04\r\nCodename:\tzesty\r\n```\r\n`uname -r`\r\n```\r\n4.10.0-20-generic\r\n```\n\n"},"comment":{"url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/comments/298722649","html_url":"https://github.com/tiliado/nuvolaplayer/issues/329#issuecomment-298722649","issue_url":"https://api.github.com/repos/tiliado/nuvolaplayer/issues/329","id":298722649,"user":{"login":"MetricMike","id":311365,"avatar_url":"https://avatars2.githubusercontent.com/u/311365?v=3","gravatar_id":"","url":"https://api.github.com/users/MetricMike","html_url":"https://github.com/MetricMike","followers_url":"https://api.github.com/users/MetricMike/followers","following_url":"https://api.github.com/users/MetricMike/following{/other_user}","gists_url":"https://api.github.com/users/MetricMike/gists{/gist_id}","starred_url":"https://api.github.com/users/MetricMike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetricMike/subscriptions","organizations_url":"https://api.github.com/users/MetricMike/orgs","repos_url":"https://api.github.com/users/MetricMike/repos","events_url":"https://api.github.com/users/MetricMike/events{/privacy}","received_events_url":"https://api.github.com/users/MetricMike/received_events","type":"User","site_admin":false},"created_at":"2017-05-02T18:36:04Z","updated_at":"2017-05-02T18:36:04Z","body":"both `drill google.com` and `drill play.spotify.com` return:\r\n`Error: error sending query: Could not send or receive, because of network error`\r\n\r\nBut then I found https://github.com/flatpak/flatpak/wiki/Sandbox#the-current-flatpak-sandbox, which led me to:\r\n```bash\r\nbash-4.3$ ls -lah /etc/resolv.conf \r\nlrwxrwxrwx 1 weigle@DCCC.LAN domain users@DCCC.LAN 29 May  2 14:26 /etc/resolv.conf -> /run/host/monitor/resolv.conf\r\nbash-4.3$ cat /etc/resolv.conf\r\n# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)\r\n#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN\r\n# 127.0.0.53 is the systemd-resolved stub resolver.\r\n# run \"systemd-resolve --status\" to see details about the actual nameservers.\r\n\r\nnameserver 127.0.0.1\r\n```\r\nWhich clears this up for me - 127.0.0.1 is a valid nameserver on my host (DNSMasq is listening on that address), but not inside flatpak (no local DNS server). I think this is a flatpak issue (or a bad DNSMasq configuration on my part), so I think you can probably close this?"}}
{"actor":{"display_login":"MetricMike"}}