Skip to content

bx 0.7+ broken on Macosx Sierra (10.12.6) #45

@gtasm

Description

@gtasm

The bx command v0.7.0 and v0.7.1 cannot "bx login" (I get a dial tcp: i/o timeout every time)

The same bx command v0.6.7 can "bx login", and "bx target -o ... -s ..." also works. But when I "bx wsk action list, the command blocks on trying to get a new authentication key:

bx wsk action list -d -i (same behavior without -i)
[main.(*WskPlugin).Run ]:056:[Inf] Command args: [cloud-functions action list -d -i]
[main.(*WskPlugin).Run ]:070:[Inf] Current config: &{Region:eu-de BxApiHost:https://api.eu-de.bluemix.net ... IsLoggedIn:true IAMToken:...
[main.(*WskPlugin).Run ]:074:[Inf] Previous config: ...
[in/cli.IsOrgNameCompliant]:121:[Err] regexp.MatchString(FirmFunding) result: true
[/cli.IsSpaceNameCompliant]:133:[Err] regexp.MatchString(prod) result: true
[main.(*WskPlugin).Run ]:132:[Inf] Using apihost openwhisk.eu-de.bluemix.net
[main.needToGetAuthKey ]:313:[Inf] Space guid changed; need to obtain a new auth key
[main.(*WskPlugin).Run ]:161:[Inf] Need to (re)authenticate with Cloud Functions
REQUEST:
[POST] https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate

[n.AuthenticateUserWithWsk]:068:[Err] HTTP Do() [req https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate] error: Post https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate: dial tcp: lookup openwhisk.eu-de.bluemix.net on 192.168.0.254:53: read udp 192.168.0.32:55904->192.168.0.254:53: i/o timeout
[main.getWskAuthKey ]:385:[Err] GetNamespaces() failed: Post https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate: dial tcp: lookup openwhisk.eu-de.bluemix.net on 192.168.0.254:53: read udp 192.168.0.32:55904->192.168.0.254:53: i/o timeout
[main.(*WskPlugin).Run ]:164:[Err] getWskAuthKey() failed: Unable to obtain wsk authentication key: Post https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate: dial tcp: lookup openwhisk.eu-de.bluemix.net on 192.168.0.254:53: read udp 192.168.0.32:55904->192.168.0.254:53: i/o timeout
Unable to authenticate with Cloud Functions: Unable to obtain wsk authentication key: Post https://openwhisk.eu-de.bluemix.net/bluemix/v2/authenticate: dial tcp: lookup openwhisk.eu-de.bluemix.net on 192.168.0.254:53: read udp 192.168.0.32:55904->192.168.0.254:53: i/o timeout

Is there a way to fix bx 0.7+ or to make 0.6.7 wsk plugin work?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions