View Issue Details

IDProjectCategoryView StatusLast Update
0009345Talermerchant backoffice SPApublic2025-04-24 20:02
Reporterhtgoebel Assigned Tohtgoebel  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version0.13 
Target Versionpost-1.0 
Summary0009345: "localhost" not resolved/accepted in Endpoint URL
DescriptionWhen using an Endpoint URL with servername "localhost", the connection/account can not be matched/tested.
Anyhow it works well when replacing "localhost" by "127.0.0.1".
Steps To Reproduce1. Use a fresh sandbox-ng environment (built and run without any configuration).
2. In the Bank SPA at http://localhost:16007/ create an account
3. In the Merchant SPA create a merchant
4. For this new merchant, configure a bank account:
   - Endpoint-URL: http://localhost:16007/accounts/$USERNAME/taler-revenue/
   - Authntication: Username and password
   - enter username and password
   - click "Test"

-> nothing happens
Additional Information- works : 127.0.0.1 - http://127.0.0.1:16007/accounts/$USERNAME/taler-revenue/
- works, too: 127.1
- does not work: bank.localhost
TagsNo tags attached.

Activities

Christian Grothoff

2025-04-17 21:14

manager   ~0024594

Eh, we usually say that the hostname you pass must match the hostname the bank has for itself. Which hostname did you give in the bank? I don't think we even should allow both localhost and 127.0.0.1 -- it should always be *either*, and only the one you gave exactly in the bank configuration as the base URL (and usually, of course, you'd give a real domain name in both).

htgoebel

2025-04-24 20:01

developer   ~0024666

I checked this again:
When using the URl http://bank.taler.localhost:4321/ (as created by sandbox-ng) everything works as expected.

Closing as invalid.

Issue History

Date Modified Username Field Change
2024-11-20 00:19 htgoebel New Issue
2024-11-20 00:19 htgoebel Status new => assigned
2024-11-20 00:19 htgoebel Assigned To => sebasjm
2025-04-17 15:06 sebasjm Target Version => 1.0 stretch goals
2025-04-17 21:14 Christian Grothoff Note Added: 0024594
2025-04-17 21:14 Christian Grothoff Assigned To sebasjm => htgoebel
2025-04-17 21:14 Christian Grothoff Status assigned => feedback
2025-04-17 21:14 Christian Grothoff Target Version 1.0 stretch goals => post-1.0
2025-04-24 20:01 htgoebel Note Added: 0024666
2025-04-24 20:02 htgoebel Status feedback => resolved
2025-04-24 20:02 htgoebel Resolution open => no change required