question

Vlad Sosnin avatar image
Vlad Sosnin asked ·

Service temporary unavailable when running "Create Glip Team Quick Start" example

I attempted to execute "Create Glip Team Quick Start" example in my IDE but it failed with Status Code 503 and message "Service temporary unavailable". Prior to running the code I made sure to login to https://glip-app.devtest.ringcentral.com/ with the same credentials used in the code.

What could be the reason for such transgression?

12:23:13 AM: Executing task 'CreateGlipTeam.main()'...

Starting Gradle Daemon...

Gradle Daemon started in 2 s 791 ms

> Task :compileJava UP-TO-DATE

> Task :processResources NO-SOURCE

> Task :classes UP-TO-DATE

> Task :CreateGlipTeam.main()

com.ringcentral.RestException: HTTP Response

=============

status code: 503

Server: nginx

Date: Sat, 03 Oct 2020 04:23:23 GMT

Content-Type: application/json; charset=utf-8

Content-Length: 79

Connection: keep-alive

RCRequestId: 2cb4d18a-0530-11eb-8a73-005056bb5136

X-Request-Id: reqId:2cb4d18a-0530-11eb-8a73-005056bb5136;accId:686187005;extId:686187005

ETag: W/"4f-gKweO+929hWORDbLe8vklg"

X-HLB-Server: sjc11-c01-hlb11

X-HLB-Connection: 15258449

X-HLB-RequestId: 5539d5acd7eadd8f95e73dd5b5462c8d

X-HLB-Upstream-Server: 10.28.23.33:57302

X-HLB-Upstream-Status: 503

X-Rate-Limit-Group: medium

X-Rate-Limit-Limit: 40

X-Rate-Limit-Remaining: 39

X-Rate-Limit-Window: 60

RoutingKey: SJC12P01

Retry-After: 40



{"errors":[{"errorCode":"GLP-000","message":"Service temporary unavailable."}]}



HTTP Request

============

HTTP POST https://platform.devtest.ringcentral.com/restapi/v1.0/glip/teams


Authorization: Bearer <snip>

X-User-Agent: RC-JAVA-SDK Java 11.0.8 Mac OS X



{"public":true,"name":"Fun team","description":"Let chit chat here","members":[{"email":"member.1@gmail.com"},{"email":"member.2@gmail.com"}]}

    at com.ringcentral.RestClient.requestRaw(RestClient.java:309)

    at com.ringcentral.RestClient.request(RestClient.java:319)

    at com.ringcentral.RestClient.request(RestClient.java:250)

    at com.ringcentral.RestClient.post(RestClient.java:137)

    at com.ringcentral.paths.restapi.glip.teams.Index.post(Index.kt:36)

    at CreateGlipTeam.createGlipTeam(CreateGlipTeam.java:43)

    at CreateGlipTeam.main(CreateGlipTeam.java:25)



Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings



BUILD SUCCESSFUL in 8s

2 actionable tasks: 1 executed, 1 up-to-date

12:23:23 AM: Task execution finished 'CreateGlipTeam.main()'.

 



glip apiteam messaging
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Vlad Sosnin avatar image
Vlad Sosnin answered ·

@Phong Vu It's working for me now. Thank you so much!

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered ·

Confirmed. There is an issue on the Glip sandbox environment. We'll fix the problem asap.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered ·

Problem is fixed. Please try again and let me know if you still have problems.

Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.