------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/5012/
------------------------------------------------------------------------------

New update by HeroicAlbeit
For Beanbag, Inc. > Review Board > Ticket #5012


Reply:

    to get some more insight and rule out the browser I use curl to do the 
above failed request with correct `<public server name>`.
    
    what I get is a JSON body that contains (many) wrong URLs with 
`http://<private instance ip>` like so:
    
    ```
    $ curl -H 'cookie: csrftoken=<token>; rbsessionid<session>;' 
'https://<public server 
name>/api/review-requests/3/draft/?api_format=json&force-text-type=html&include-text-types=raw&expand=depends_on%2Ctarget_people%2Ctarget_groups'
    {"draft": {"branch": "", "bugs_closed": [], "changedescription": "", 
"changedescription_text_type": "html", "commit_id": null, "depends_on": [], 
"description": "", "description_text_type": "html", "extra_data": {}, "id": 3, 
"last_updated": "2023-11-02T07:22:25Z", "links": {"delete": {"href": 
"http://<private instance ip>/api/review-requests/3/draft/", "method": 
"DELETE"} ... "submitter": {"href": "http://<private instance 
ip>/api/users/admin/", "method": "GET", "title": "admin"} ...
    ```
    
    looks like the `/api/` part is not using the configured server name?

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20231102174528.23595.23908%40ip-10-1-54-209.ec2.internal.

Reply via email to