trains-init asks web service URI but promp shows API URI
See original GitHub issueWith trains-agent==0.15.0rc0
When executing trains-agent init
:
TRAINS-AGENT setup process
Please create new trains credentials through the profile page in your trains web app (e.g. https://demoapp.trains.allegro.ai/profile)
In the profile page, press "Create new credentials", then press "Copy to clipboard".
Paste copied configuration here:
Could not parse credentials, please try entering them manually.
Enter user access key: *****
Enter user secret: *****
Editing configuration file: /Users/h4dr1en/trains.conf
Enter the url of the trains-server's Web service, for example: http://localhost:8080
API Host configured to: []
The user is asked to enter the the url of the trains-server's Web service
, but the prompt message shows API Host configured to
, which is not the same port (typically 8008 instead of 8080). This can be confusing for the user. It works well when entering the API URI (I did not test entering the web server URI).
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
trains-init asks web service URI but promp shows API URI #19
The user is asked to enter the the url of the trains-server's Web service , but the prompt message shows API Host configured...
Read more >Attribute Routing in ASP.NET Web API 2 | Microsoft Learn
Routing is how Web API matches a URI to an action. ... This topic shows how to enable attribute routing and describes the...
Read more >Python and REST APIs: Interacting With Web Services
In this tutorial, you'll learn how to use Python to communicate with REST APIs. You'll learn about REST architecture and how to use...
Read more >REST API 404: Bad URI, or Missing Resource? - Stack Overflow
the real HTTP 404 when the rest API is not available in the given url, it is thrown by the application server or...
Read more >Using OAuth 2.0 for Web Server Applications | Authorization
This document explains how web server applications use Google API Client Libraries or Google OAuth 2.0 endpoints to implement OAuth 2.0 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@H4dr1en it was fixed in
trains-agent init
but not intrains init
😢 I’ll make sure trains is also fixedThanks @H4dr1en , you are absolutely correct . I’ll make sure we fix it 😃