[vip-help] Issue with accessing bluepill server through android app

Edward Delp ace at purdue.edu
Thu Mar 7 17:00:23 EST 2024


bluepill will NOT accept HTTP requests. It only will accept HTTPS request.


This allows a secure


On 3/7/2024 4:18 PM, Nandini Mukul Pande wrote:
> Hello,
>
> I'm trying to connect my Android app to the bluepill server, however, 
> the library I'm using to send the HTTP request, Volley, is giving me a 
> 403 authentication error within my code. I discussed the issue with 
> another team and we tried a couple of things but the issue still 
> wasn't resolved.
>
> The code pertaining to this issue is in gogs under the Traffic Sign 
> project. It's in the file Identify.java 
> (app/src/main/java/com/example/trafficsignprototype/Identify.java), 
> specifically at lines 73-99. The PHP code I am using to get the image 
> from the app is also housed in the Traffic Sign project under the name 
> getImage.php. It is the same php code used in the plant identification 
> from the Spring 2023 project to retrieve the image. I am also 
> attaching a screenshot of the errors I am receiving for reference. 
> What I've tried so far:
>
> 1.
>     manually sending my username and password using a getHeaders
>     function (didn't work and security risk so deleted it).
> 2.
>     creating a file in my bluepill server with the image name and
>     using chmod to allow write permissions
> 3.
>     using chmod on getImage.php
>
>
> I am testing my app on the built in Android emulator, which emulating 
> a Pixel 4 with API 30 (this is because it's the same model as the 
> physical device we will be using for testing).
>
> Please let me know what else I can try or if you need further 
> details.  Thank you .
>
-- 

============================================================
Note: my email address has changed slightly,
in the future please use:ace at purdue.edu

Professor Edward J. Delp
The Charles William Harrison Distinguished Professor of
Electrical and Computer Engineering
and
Professor of Biomedical Engineering
and
Professor of Computer Science (Courtesy)
and
Professor of Psychological Sciences (Courtesy)

Purdue University
School of Electrical and Computer Engineering
465 Northwestern Avenue
West Lafayette IN 47907-2035
USA	

Email:ace at purdue.edu

Telephone: +1 765 494 1740
Fax: +1 765 494 3358

URL:https://engineering.purdue.edu/~ace/
      https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.viperlab.org%2F&data=05%7C02%7Cvip-help%40ecn.purdue.edu%7C6db96056ec38452fa2cf08dc3ef1fed2%7C4130bd397c53419cb1e58758d6d63f21%7C0%7C0%7C638454456290355363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=dRZs5E%2FkffsHeRyPya5szRheSkfxW1gttF9N0J3Ym60%3D&reserved=0
      https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Forcid.org%2F0000-0002-2909-7323&data=05%7C02%7Cvip-help%40ecn.purdue.edu%7C6db96056ec38452fa2cf08dc3ef1fed2%7C4130bd397c53419cb1e58758d6d63f21%7C0%7C0%7C638454456290355363%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=x5Tvw6Zm8avPZRdtdIpsFGLoK7SL0kKEoAvnafiRFIE%3D&reserved=0

Map Location:
Latitude: N 40 25.767
Longitude: W 86 54.744
Datum: WGS72

ID: B-263-54

"Badges? We ain't got no badges. We don't need no badges.
I don't have to show you any stinking badges!"
============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ECN/mailman/archives/vip-help/attachments/20240307/bb8830c6/attachment.htm>


More information about the vip-help mailing list