[HELP] Getting TMD

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by uvekilledkenny, Mar 14, 2016.

  1. uvekilledkenny
    OP

    uvekilledkenny Newbie

    Newcomer
    1
    Mar 2, 2016
    France
    Hi,
    I previously made a utility to go from CDN to CIA with Ticket.DB, it works well. But now I try to go with the same idea but in a Go Version, but the thing is where in Node.JS the download goes well and returns a 200 status-code, in Go it only returns me a 401 error (same with Curl btw) :
    Here's the curl log :
    Code:
    curl http://ccs.cdn.c.shop.nintendowifi.net/ccs/download/000400000017170000/tmd --verbose
    *   Trying 193.51.224.6...
    * Connected to ccs.cdn.c.shop.nintendowifi.net (193.51.224.6) port 80 (#0)
    > GET /ccs/download/000400000017170000/tmd HTTP/1.1
    > Host: ccs.cdn.c.shop.nintendowifi.net
    > User-Agent: curl/7.43.0
    > Accept: */*
    >
    < HTTP/1.1 401 Unauthorized
    < Server: Apache/2.2.19
    < Content-Language: en
    < Content-Length: 951
    < Content-Type: text/html;charset=utf-8
    < Date: Mon, 14 Mar 2016 14:13:59 GMT
    < Connection: keep-alive
    <
    * Connection #0 to host ccs.cdn.c.shop.nintendowifi.net left intact
    <html><head><title>Apache Tomcat/7.0.59 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.59</h3></body></html>
    Idk why it works in Node.JS but doesn't with the rest...

    Thanks in advance :)

    NVM: I'm bad and I should feel bad, TitleID was wrong :) Can a Moderator delete my post ? :)
     
    Last edited by uvekilledkenny, Mar 14, 2016
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice