Public bug reported:

I excepted the snap user agent in bluecoat but after failure, I enabled
the trace and saw that the search it's using the generic Go http Library
UserAgent instead of the snap one:

connection: service.name=Explicit HTTP client.address=x.x.x.x proxy.port=8080 
client.interface=4:1.45 routing-domain=default
  location-id=0 access_type=unknown
time: 2018-06-28 17:32:16 UTC
CONNECT tcp://api.snapcraft.io:443/
  DNS lookup was unrestricted
User-Agent: Go-http-client/1.1
user: unauthenticated
authentication status='need_credentials' authorization status='not_attempted'
EXCEPTION(authentication_failed): Authentication failed either because 
credentials were not provided or they could not be validated
  url.category: none@Policy;Technology/Internet@Blue Coat
    total categorization time: 0
    static categorization time: 0
server.response.code: 0
client.response.code: 407
application.name: none
application.operation: none
DSCP client outbound: 65

lsb_release -rd
Description:    Ubuntu 18.04 LTS
Release:        18.04

apt-cache policy snapd
snapd:
  Instalados: 2.32.9+18.04
  Candidato:  2.32.9+18.04
  Tabla de versión:
 *** 2.32.9+18.04 500
        500 http://ar.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     2.32.5+18.04 500
        500 http://ar.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

** Affects: snap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1779190

Title:
  Snap search uses Go-http-client/1.1 as UserAgent instead of the snap
  one

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snap/+bug/1779190/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to