Closed
Description
I have several parse instances running on different ports. When trying to connect to an instance that is not on the default port, all requests fail. It appears that the port number is not being mapped into the HTTP url request. e.g in parse_user.dart login method:
Uri url = Uri(
scheme: tempUri.scheme,
host: tempUri.host,
path: "${tempUri.path}$keyEndPointLogin",
queryParameters: {
keyVarUsername: username,
keyVarPassword: password
});
Amending this to pass in the port fixes the problem:-
Uri url = Uri(
scheme: tempUri.scheme,
host: tempUri.host,
**port: tempUri.port,**
path: "${tempUri.path}$keyEndPointLogin",
queryParameters: {
keyVarUsername: username,
keyVarPassword: password
});
There are several instances in the code where this will need a fix. (parse_user, parse_object etc.)
Metadata
Metadata
Assignees
Labels
No labels