Comments (2)
upon digging further, this seems to be an issue w/ the URI encoding
MINT_OPTS: {%URI{
scheme: nil,
authority: "nerveshub.fly.dev:443",
userinfo: nil,
host: "nerveshub.fly.dev",
port: 443,
path: "/api/users/login",
query: nil,
fragment: nil
},
IO.inspect({uri, opts}, label: "MINT_OPTS")
with {:ok, conn} <-
HTTP.connect(String.to_atom(uri.scheme), uri.host, uri.port, Enum.into(opts, [])) do
# If there were redirects, and passed `closed_conn: false`, we need to close opened connections to these intermediate hosts.
{:ok, conn, Map.put(opts, :close_conn, true)}
end
from nerves_hub_cli.
adding scheme: "https",
to the :nerves_hub_cli
config.exs entry solved this.
from nerves_hub_cli.
Related Issues (20)
- Don't print out delete character for password field
- Validate firmware before publishing
- mix nerves_hub.ca_certificate register xyz gives :enoent when misspelling xyz
- nerves_hub.deployement create should quote deployment name in example text. HOT 1
- Support bulk device registration via a CSV file
- Key/Cert export tasks broken HOT 3
- Help text is not discoverable
- Improve error message when user cert expires
- Product name which includes space cause "Invalid Product" Error HOT 1
- Can't create certificate using env vars
- product names with spaces breaks device create command
- key import with an empty password doesn't work HOT 1
- importing an existing firmware signing key fails HOT 1
- NervesHub custom domain not working from cli
- Add help text for "Fatal - Certificate Expired" error
- mix nerves_hub.user auth failed, may be related to pbcs 0.1.3 HOT 3
- Do not ask for "Local NervesHub user password" for every command
- Delete product did ok, but error
- Publish should give a friendly error about missing firmware signing keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerves_hub_cli.