Missing or invalid User Agent string when connecting to github

201 views
Skip to first unread message

Xiao Min

unread,
Apr 30, 2013, 5:35:03 AM4/30/13
to conscri...@googlegroups.com
I installed giter8 '0.4.5' today as part of the Typesafe Stack '2.0.2' installation. When running "g8 typesafehub/scala-sbt", I got the following the error.

Exception fetching from github Unexpected response code: 403
{"message":"Missing or invalid User Agent string. See http://developer.github.com/v3/#user-agent-required"}

After some searching, the above error is found to be caused by the following github policy change: http://developer.github.com/changes/2013-04-24-user-agent-required/

The question is, how to pass the user agent setting from command line?

Thanks in advance!

Doug Tangren

unread,
Apr 30, 2013, 8:14:46 AM4/30/13
to conscri...@googlegroups.com
It's unfortunate the "typesafe stack" is this out of date. This was also recently reported on giter8's issue tracker [1]. The fix is to skip the middle man and install giter8 with conscript, the application giter8 is built on. 

cs n8han/giter8

Giter8 is actually now on version 0.5.3 which no longer uses github, but rather git as the underlying transport ( see these old release notes  https://github.com/n8han/giter8/blob/master/notes/0.5.0.markdown ). You can keep up to date with changes to giter8, conscript, and other community libraries here http://notes.implicit.ly/

 
--
You received this message because you are subscribed to the Google Groups "Conscript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conscript-sca...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Xiao Min

unread,
May 1, 2013, 3:46:56 AM5/1/13
to conscri...@googlegroups.com
I found out that 'cs' didn't work because from within our intranet at work, access to typesafe.artifactoryonline.com is not allowed (access to notes.implicit.ly is also banned). Because of that I couldn't download a working sbt-launch.jar in my ~/.conscript, instead I got a html file saything that access is denied.

Coincidentally, today Typesafe rolled out a completely new getting-started guide with a 200MB zipfile that includes everything I need (about Scala and Akka), lucky day! :)

Thanks again for the reply, that post has a lot of valuable information!

Doug Tangren

unread,
May 1, 2013, 8:28:45 AM5/1/13
to conscri...@googlegroups.com


On May 1, 2013 3:46 AM, "Xiao Min" <tintin2...@gmail.com> wrote:
>
> I found out that 'cs' didn't work because from within our intranet at work, access to typesafe.artifactoryonline.com is not allowed (access to notes.implicit.ly is also banned). Because of that I couldn't download a working sbt-launch.jar in my ~/.conscript, instead I got a html file saything that access is denied.
>

Sorry about that.

> Coincidentally, today Typesafe rolled out a completely new getting-started guide with a 200MB zipfile that includes everything I need (about Scala and Akka), lucky day! :)

Wow huge software package!

>
> Thanks again for the reply, that post has a lot of valuable information!
>
>

Np.

Reply all
Reply to author
Forward
0 new messages