Confluent Kafka 101教程遵循,错误:get'https://confluent.cloud:8090/security/security/1.0/authenticate":dial tcp< ip>:8090:i/o timeout
我一直在关注Confluent的官方教程,如YouTube https://www.youtube.com /watch?v = oi7vas9kss4
当涉及汇合CLI的部分(大致启动5'28'')时,Confluent Login-如果没有-url标志,则无法工作,请参见以下屏幕截图 默认情况下,URL为“ https://confluent.cloud”。因此,我必须进行汇合登录-Save -url“ https://cofluent.cloud”,然后提示输入用户名和密码,然后我遇到了此错误:get get'https:// confluent。云:8090/Security/1.0/Authenticate“:Dial TCP:8090:I/O超时是否知道如何解决此问题?
我在Windows 10 PC上使用WSL(Windows子系统)上的Ubuntu(Windows子系统)。
I've been following through Confluent's official tutorial as found on YouTube https://www.youtube.com/watch?v=oI7VAS9KSS4
When it comes to the section (roughly starting 5'28'') about Confluent CLI, confluent login --save couldn't work without a --url flag, see the following screenshot
and by default the url is "https://confluent.cloud". So I had to do confluent login --save --url "https://cofluent.cloud" then was prompted to type in the username and password, and then I was stuck with this Error: Get "https://confluent.cloud:8090/security/1.0/authenticate": dial tcp :8090: i/o timeout Does anybody know how to solve this?
I'm using a Ubuntu on WSL(Windows Subsystem for Linux) on a Windows 10 PC.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我自己想出了这一点。升级汇合解决了问题。

在升级之前,我是在V1.22.0版本上进行的,即使使用Contruent更新也不是一个选择。请参阅以下屏幕截图以进行验证。
i用命令升级的命令如下所示:

如果您在Vs之前进行比较升级后,您会注意到启用了一些新的命令选项,包括突出显示的云签名命令。
i Run Confluent云签名命令被提示输入以下信息:电子邮件,名称,姓氏,两个字母的国家代码,组织,条款和政策协议(Y/N),并告诉我“错误:未能注册”。为什么?因为我已经在
Ok, I figured this out by myself. Upgrading Confluent solved the problem.

Prior to upgrading I was on version v1.22.0, with which even confluent update wasn't an option. See the following screenshot for verification.
The I upgraded with the command as shown below:

If you compare before VS. after upgrading, you'll notice that some new command options were enabled, including the highlighted cloud-signup command.
The I ran the confluent cloud-signup command, was prompted to type in the following info: email, First Name, Last Name, Two-letter country code, Organization, Terms and Policy Agreement (y/n), and it told me "Error: Failed to sign up". Why? Because I had signed up all these info on https://confluent.cloud UI already. So if you've never signed up on the UI before, you definitely can do this via the CLI.
Since I already signed up, I ran command login. This time, with the newer version, it doesn't throw the complaint that login must be appended with the --url flag any more. And I could login without any issue.
After confluent login worked out, I ran confluent login --save and Confluent writes the credentials to a netrc file it creates called "<my_home_directory>.netrc" so that in the future I don't have to manually type in the credentials again.