Android-Carbon-Forum
Android-Carbon-Forum copied to clipboard
No network?
Sorry, have to bother you again.
So I've done everything so far, changed the API secrets, changed the domain names etc. Made an API subdomain and binded it to the homepage.
Still getting No network whenever I open the app.
Either Im missing something right now or Im just dumb .
You may have missed this.
When you visit the API domain name, have you looked 403?
Hey. Tried with https and without. Either way both show me No network in the app.
403 as in error? The api page itself is currently redirecting fine to the page. (Unless I misunderstood you in the other topic and it should do something else...)
- Your api domain name is resolved and bound to the current server?

- Do you set the api domain name in Dashboard?
If API works, then open it should be like this.
Yup.. I think Im just stupid and missing something.
Dashboard is set as shown on your picture but at this point I'm just thinking I missed to upload something to the API domain part.
You do not need to upload anything.
Yeah. That's the issue. I made an sub domain. CNAME'd it to the forum root, set the API path in dashboard and it's still saying Network error
When you open your own api domain name in the browser, saw what?
Index of ... I know you said it should be 403 but for whatever reason that does not show up for me..
I think you did not bind the api domain name to vhost.
hello @lincanbin i have done all above things getting 403 error also still getting no network in android app
@pratt1305 The 403 status code appears on behalf of the server configuration is correct, check your client configuration.
Client Configuration Means Android - Side ??
@pratt1305 https://github.com/lincanbin/Android-Carbon-Forum/blob/master/app/src/main/java/com/lincanbin/carbonforum/config/APIAddress.java#L15
This Setting Are Done Perfectly

Does your site have HTTPS support? @pratt1305
No
@pratt1305
Remove s in https.
Still Same issue after removing S from https://

把日志发上来
ok
Send logs up.
Your api seems to be inaccessible.

How Can We test those api's are working or not ?? Please point me in some direction so i go through it
Where is path to api in Carbon PHP server i think its coming from view/api
403 means working.
alright !! then exactly where can i be going wrong ??
From the log, your API returns an empty string to the client.